Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 83.02 kB / 21.99 MB, free: 5.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 59.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2134, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003526/0.217, allocations: 1.701 MB / 350.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2182, allocations: 0.645 MB / 350.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2184, allocations: 0 / 350.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.2185, allocations: 11.86 kB / 350.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.2186, allocations: 39.7 kB / 350.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.2189, allocations: 47.81 kB / 350.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.2192, allocations: 123.4 kB / 351.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2193, allocations: 19.97 kB / 351.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2194, allocations: 47.8 kB / 351.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.2195, allocations: 39.78 kB / 351.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.2195, allocations: 8 kB / 351.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.2196, allocations: 24 kB / 351.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.2197, allocations: 19.91 kB / 351.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.2197, allocations: 43.86 kB / 351.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.22, allocations: 133.7 kB / 351.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.22, allocations: 0 / 351.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.22, allocations: 4 kB / 351.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.22, allocations: 4 kB / 351.4 MB, free: 12.61 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005837/0.2206, allocations: 330 kB / 351.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2206, allocations: 11.98 kB / 351.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.2208, allocations: 28.88 kB / 351.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.2211, allocations: 138.3 kB / 351.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2211, allocations: 12.5 kB / 351.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.2211, allocations: 12.38 kB / 351.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.2214, allocations: 93.59 kB / 352 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2214, allocations: 11.89 kB / 352 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2214, allocations: 4 kB / 352 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2214, allocations: 4 kB / 352 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.2215, allocations: 51.97 kB / 352.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/0.2223, allocations: 375.5 kB / 352.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.2225, allocations: 82.58 kB / 352.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.2226, allocations: 32.89 kB / 352.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2226, allocations: 0 / 352.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.2226, allocations: 38.5 kB / 352.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.2226, allocations: 0 / 352.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002787/0.2229, allocations: 89.88 kB / 352.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.223, allocations: 55.41 kB / 352.7 MB, free: 11.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.2231, allocations: 129.7 kB / 352.9 MB, free: 11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2231, allocations: 29.7 kB / 352.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.2232, allocations: 107.9 kB / 353 MB, free: 10.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.2232, allocations: 27.91 kB / 353 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.2233, allocations: 29.7 kB / 353.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2234, allocations: 318.8 kB / 353.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.2235, allocations: 23.98 kB / 353.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.2236, allocations: 55.36 kB / 353.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.2237, allocations: 87.3 kB / 353.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2237, allocations: 0 / 353.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001905/0.2239, allocations: 109.6 kB / 353.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2239, allocations: 8 kB / 353.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2239, allocations: 8.031 kB / 353.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.224, allocations: 0 / 353.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.2241, allocations: 27.98 kB / 353.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.2241, allocations: 4.062 kB / 353.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.402e-05/0.2242, allocations: 11.89 kB / 353.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.2242, allocations: 7.938 kB / 353.7 MB, free: 10.1 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.2243, allocations: 125.7 kB / 353.8 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.2243, allocations: 7.953 kB / 353.8 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.2244, allocations: 12.42 kB / 353.9 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2244, allocations: 0 / 353.9 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2244, allocations: 8 kB / 353.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2244, allocations: 3.938 kB / 353.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.2246, allocations: 133.3 kB / 354 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2246, allocations: 0 / 354 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.2247, allocations: 16 kB / 354 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2247, allocations: 4 kB / 354 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.2248, allocations: 7.984 kB / 354 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2248, allocations: 0 / 354 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2248, allocations: 3.984 kB / 354 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.2251, allocations: 211.4 kB / 354.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.2251, allocations: 11.98 kB / 354.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2251, allocations: 4 kB / 354.2 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.2252, allocations: 0 / 354.2 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.2252, allocations: 8 kB / 354.3 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.2252, allocations: 3.984 kB / 354.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.978e-05/0.2253, allocations: 91.22 kB / 354.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2253, allocations: 0 / 354.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.2256, allocations: 35.89 kB / 354.4 MB, free: 9.371 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001288/0.2257, allocations: 95.23 kB / 354.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.2258, allocations: 60.08 kB / 354.5 MB, free: 9.211 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2258, allocations: 0 / 354.5 MB, free: 9.211 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/0.2259, allocations: 31.92 kB / 354.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.2262, allocations: 12 kB / 354.6 MB, free: 9.168 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.2271, allocations: 427.9 kB / 355 MB, free: 8.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2272, allocations: 88.27 kB / 355.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.067e-05/0.2273, allocations: 12.44 kB / 355.1 MB, free: 8.602 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.2273, allocations: 12.5 kB / 355.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2273, allocations: 0 / 355.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of Templates: time 0.003893/0.2312, allocations: 0.9141 MB / 356 MB, free: 7.672 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.099165100022219]