Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 120.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 190.7 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 43.92 kB / 358.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 49.44 MB / 408.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003529/0.1198, allocations: 1.791 MB / 409.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1211, allocations: 0.6388 MB / 410.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/0.1212, allocations: 0 / 410.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.1214, allocations: 15.86 kB / 410.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.1215, allocations: 31.7 kB / 410.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1218, allocations: 51.81 kB / 410.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.122, allocations: 119.4 kB / 410.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1221, allocations: 41.36 kB / 410.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.1222, allocations: 43.8 kB / 410.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1223, allocations: 47.78 kB / 410.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.1224, allocations: 8 kB / 410.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1225, allocations: 23.98 kB / 410.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.1226, allocations: 19.92 kB / 410.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.854e-05/0.1227, allocations: 51.8 kB / 411 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.123, allocations: 127.5 kB / 411.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.123, allocations: 0 / 411.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.123, allocations: 0 / 411.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.123, allocations: 0 / 411.1 MB, free: 3.844 MB / 334.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.0007773/0.1238, allocations: 419.1 kB / 411.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1238, allocations: 11.89 kB / 411.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.1241, allocations: 28.83 kB / 411.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1244, allocations: 200.1 kB / 411.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1245, allocations: 8.5 kB / 411.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.1245, allocations: 16.38 kB / 411.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1248, allocations: 98.89 kB / 411.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.1248, allocations: 0 / 411.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1248, allocations: 4 kB / 411.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1248, allocations: 0 / 411.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.125, allocations: 71.89 kB / 411.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.1257, allocations: 443.7 kB / 412.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.1261, allocations: 102.6 kB / 412.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.1261, allocations: 36.84 kB / 412.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1262, allocations: 0 / 412.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1262, allocations: 34.56 kB / 412.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1262, allocations: 0 / 412.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00146/0.1277, allocations: 0.5273 MB / 413.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1277, allocations: 63.33 kB / 413.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1279, allocations: 122 kB / 413.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1279, allocations: 25.7 kB / 413.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.128, allocations: 112 kB / 413.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.128, allocations: 47.53 kB / 413.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.1281, allocations: 33.72 kB / 413.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1283, allocations: 318.8 kB / 413.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.1283, allocations: 27.98 kB / 413.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.593e-05/0.1284, allocations: 63.36 kB / 413.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1286, allocations: 99.52 kB / 413.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1286, allocations: 0 / 413.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002028/0.1288, allocations: 125.6 kB / 414.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.1288, allocations: 6.344 kB / 414.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1288, allocations: 8.062 kB / 414.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1289, allocations: 0 / 414.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.129, allocations: 39.92 kB / 414.1 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.129, allocations: 0 / 414.1 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.1291, allocations: 3.938 kB / 414.1 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1291, allocations: 4 kB / 414.1 MB, free: 492 kB / 334.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 (17): * Single equations (assignments): 17 * 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.0001142/0.1292, allocations: 125.8 kB / 414.3 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.1293, allocations: 11.89 kB / 414.3 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.1293, allocations: 20.36 kB / 414.3 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1293, allocations: 4 kB / 414.3 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1293, allocations: 4 kB / 414.3 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1294, allocations: 3.938 kB / 414.3 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006097/0.13, allocations: 428 kB / 414.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.13, allocations: 0 / 414.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1302, allocations: 32.03 kB / 414.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1302, allocations: 11.98 kB / 414.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1302, allocations: 0 / 414.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1302, allocations: 4 kB / 414.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1302, allocations: 0 / 414.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.1306, allocations: 249.1 kB / 415 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.1307, allocations: 89 kB / 415.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.1307, allocations: 7.938 kB / 415.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.1308, allocations: 0 / 415.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.1308, allocations: 16.03 kB / 415.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.1309, allocations: 0 / 415.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.298e-05/0.1309, allocations: 98.14 kB / 415.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1309, allocations: 0 / 415.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1312, allocations: 24 kB / 415.2 MB, free: 15.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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.0001316/0.1313, allocations: 107.1 kB / 415.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1315, allocations: 83.91 kB / 415.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1316, allocations: 4 kB / 415.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.379e-05/0.1316, allocations: 39.92 kB / 415.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.132, allocations: 15.98 kB / 415.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/0.1329, allocations: 0.4898 MB / 416 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1333, allocations: 0.7002 MB / 416.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.1333, allocations: 15.72 kB / 416.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1333, allocations: 0 / 416.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of Templates: time 0.003407/0.1367, allocations: 1.426 MB / 418.1 MB, free: 12.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.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: 7.021929271984845]