Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008556/0.0008556, allocations: 96.27 kB / 17.3 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001132, allocations: 178.5 kB / 18.21 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006065/0.0006065, allocations: 11.98 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1038, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002249/0.1061, allocations: 1.485 MB / 330.4 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1072, allocations: 0.6632 MB / 331.1 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.1073, allocations: 0 / 331.1 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.1074, allocations: 15.86 kB / 331.1 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.032e-05/0.1075, allocations: 31.75 kB / 331.2 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.1077, allocations: 39.89 kB / 331.2 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1079, allocations: 115.4 kB / 331.3 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.108, allocations: 33.31 kB / 331.3 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.1081, allocations: 35.88 kB / 331.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1082, allocations: 47.77 kB / 331.4 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1082, allocations: 4 kB / 331.4 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.1083, allocations: 23.98 kB / 331.4 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.1083, allocations: 11.92 kB / 331.5 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.1084, allocations: 73.44 kB / 331.5 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1086, allocations: 131.8 kB / 331.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1086, allocations: 0 / 331.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1086, allocations: 0 / 331.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1086, allocations: 0 / 331.7 MB, free: 1.035 MB / 270.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.0005158/0.1091, allocations: 391.4 kB / 332 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1092, allocations: 12.03 kB / 332.1 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.1094, allocations: 32.67 kB / 332.1 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1096, allocations: 192.2 kB / 332.3 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1097, allocations: 4.562 kB / 332.3 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.1097, allocations: 8.375 kB / 332.3 MB, free: 332 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1099, allocations: 105.5 kB / 332.4 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1099, allocations: 3.984 kB / 332.4 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.11, allocations: 0 / 332.4 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.11, allocations: 4 kB / 332.4 MB, free: 212 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1101, allocations: 59.97 kB / 332.5 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.1108, allocations: 455.5 kB / 332.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1111, allocations: 94.64 kB / 333 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.1111, allocations: 36.84 kB / 333 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.1112, allocations: 0 / 333 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1112, allocations: 38.5 kB / 333.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.1112, allocations: 0 / 333.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001295/0.1125, allocations: 0.5389 MB / 333.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1125, allocations: 55.41 kB / 333.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.1126, allocations: 122 kB / 333.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1127, allocations: 25.7 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.1127, allocations: 107.9 kB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1128, allocations: 43.39 kB / 334 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1128, allocations: 21.7 kB / 334 MB, free: 14.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1129, allocations: 322.8 kB / 334.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.246e-05/0.113, allocations: 31.91 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/0.1131, allocations: 59.41 kB / 334.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1132, allocations: 99.41 kB / 334.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1132, allocations: 0 / 334.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002588/0.1135, allocations: 137.4 kB / 334.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1135, allocations: 8 kB / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1135, allocations: 0 / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1135, allocations: 0 / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1136, allocations: 35.98 kB / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1137, allocations: 0 / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.1137, allocations: 7.938 kB / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1137, allocations: 8 kB / 334.7 MB, free: 13.7 MB / 286.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 8.318e-05/0.1138, allocations: 125.8 kB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1139, allocations: 7.906 kB / 334.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.1139, allocations: 16.38 kB / 334.8 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1139, allocations: 0 / 334.8 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1139, allocations: 3.938 kB / 334.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1139, allocations: 3.938 kB / 334.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.1145, allocations: 432.1 kB / 335.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1145, allocations: 4 kB / 335.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.1146, allocations: 20 kB / 335.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1146, allocations: 11.92 kB / 335.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1146, allocations: 0 / 335.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1147, allocations: 0 / 335.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1147, allocations: 4 kB / 335.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.1149, allocations: 257 kB / 335.5 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.115, allocations: 81.06 kB / 335.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.115, allocations: 11.92 kB / 335.6 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.1151, allocations: 0 / 335.6 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1152, allocations: 8 kB / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.1152, allocations: 7.984 kB / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.078e-05/0.1152, allocations: 91.28 kB / 335.7 MB, free: 12.53 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1152, allocations: 0 / 335.7 MB, free: 12.53 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1155, allocations: 28 kB / 335.8 MB, free: 12.5 MB / 286.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.0001192/0.1156, allocations: 107.2 kB / 335.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.1158, allocations: 71.92 kB / 335.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1158, allocations: 0 / 335.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.1158, allocations: 43.92 kB / 336 MB, free: 12.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1162, allocations: 24.08 kB / 336 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.117, allocations: 0.5611 MB / 336.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1173, allocations: 0.7046 MB / 337.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.1174, allocations: 12.88 kB / 337.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.1174, allocations: 11.44 kB / 337.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1174, allocations: 7.938 kB / 337.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of Templates: time 0.003432/0.1209, allocations: 1.042 MB / 338.3 MB, free: 9.855 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches