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.0009633/0.0009634, allocations: 95.11 kB / 16.94 MB, free: 5.98 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.0009969/0.0009969, allocations: 178.8 kB / 17.82 MB, free: 5.652 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.641/1.641, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004281/0.0004282, allocations: 9 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1028, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001713/0.1046, allocations: 1.412 MB / 329.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009042/0.1055, allocations: 0.6131 MB / 330.3 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.094e-05/0.1056, allocations: 11.88 kB / 330.4 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.1057, allocations: 7.922 kB / 330.4 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1058, allocations: 51.89 kB / 330.4 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.106, allocations: 35.94 kB / 330.5 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1062, allocations: 79.83 kB / 330.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1063, allocations: 29.36 kB / 330.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.1064, allocations: 35.86 kB / 330.6 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1065, allocations: 43.78 kB / 330.6 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1065, allocations: 4 kB / 330.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.861e-05/0.1066, allocations: 31.97 kB / 330.7 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.1066, allocations: 11.92 kB / 330.7 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.1067, allocations: 45.7 kB / 330.7 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1068, allocations: 84.06 kB / 330.8 MB, free: 1.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.1069, allocations: 4 kB / 330.8 MB, free: 1.586 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1069, allocations: 0 / 330.8 MB, free: 1.586 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1069, allocations: 0 / 330.8 MB, free: 1.586 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.0005435/0.1074, allocations: 399.1 kB / 331.2 MB, free: 1.148 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1075, allocations: 8.031 kB / 331.2 MB, free: 1.141 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.1077, allocations: 35.78 kB / 331.2 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1079, allocations: 183 kB / 331.4 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1079, allocations: 8.188 kB / 331.4 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.108, allocations: 12 kB / 331.4 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1082, allocations: 95.08 kB / 331.5 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1082, allocations: 0 / 331.5 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.1082, allocations: 4 kB / 331.5 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1082, allocations: 4 kB / 331.5 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1084, allocations: 60.53 kB / 331.6 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006608/0.109, allocations: 448.4 kB / 332 MB, free: 212 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1093, allocations: 98.62 kB / 332.1 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.1093, allocations: 4 kB / 332.1 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1094, allocations: 38.5 kB / 332.2 MB, free: 52 kB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.1094, allocations: 0 / 332.2 MB, free: 52 kB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001286/0.1107, allocations: 0.5343 MB / 332.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1107, allocations: 51.41 kB / 332.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.1108, allocations: 122.1 kB / 332.9 MB, free: 15.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1108, allocations: 29.7 kB / 332.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.1109, allocations: 103.9 kB / 333 MB, free: 15.11 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.111, allocations: 55.27 kB / 333.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.111, allocations: 3.938 kB / 333.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1111, allocations: 318.8 kB / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.1111, allocations: 31.98 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.1112, allocations: 59.41 kB / 333.5 MB, free: 14.63 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.513e-05/0.1113, allocations: 36 kB / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1113, allocations: 0 / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001806/0.1115, allocations: 133.5 kB / 333.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1115, allocations: 4 kB / 333.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1115, allocations: 48 / 333.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1115, allocations: 11.94 kB / 333.7 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1117, allocations: 27.98 kB / 333.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1117, allocations: 4 kB / 333.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.1118, allocations: 7.875 kB / 333.7 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1118, allocations: 12.06 kB / 333.7 MB, free: 14.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.895e-05/0.1119, allocations: 121.8 kB / 333.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1119, allocations: 11.91 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.112, allocations: 12.38 kB / 333.8 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.112, allocations: 7.938 kB / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.112, allocations: 4 kB / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.112, allocations: 0 / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.1125, allocations: 424 kB / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1125, allocations: 0 / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1126, allocations: 27.98 kB / 334.3 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1127, allocations: 3.953 kB / 334.3 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1127, allocations: 0 / 334.3 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.1127, allocations: 8 kB / 334.3 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1127, allocations: 3.938 kB / 334.3 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.113, allocations: 281.5 kB / 334.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.113, allocations: 81.02 kB / 334.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.113, allocations: 8 kB / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.1131, allocations: 0 / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.1132, allocations: 12.03 kB / 334.7 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1132, allocations: 4 kB / 334.7 MB, free: 13.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.067e-05/0.1132, allocations: 103.2 kB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1132, allocations: 0 / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1135, allocations: 24.09 kB / 334.8 MB, free: 13.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001039/0.1136, allocations: 99.19 kB / 334.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.1138, allocations: 75.91 kB / 335 MB, free: 12.97 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1138, allocations: 128 / 335 MB, free: 12.97 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.468e-05/0.1139, allocations: 43.92 kB / 335 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1141, allocations: 20.22 kB / 335.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.1149, allocations: 0.5531 MB / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1152, allocations: 0.7121 MB / 336.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.103e-05/0.1153, allocations: 12.88 kB / 336.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.1153, allocations: 11.44 kB / 336.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1154, allocations: 0 / 336.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of Templates: time 0.003566/0.1189, allocations: 1.01 MB / 337.4 MB, free: 10.55 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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