Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002659/0.002658, allocations: 180.4 kB / 8.151 MB, free: 2.082 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.2 MB / 213.8 MB, free: 14 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001854/0.001854, allocations: 95.17 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.008e-05, allocations: 0 / 314.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2497, allocations: 47.55 MB / 361.8 MB, free: 45.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.3839, allocations: 76.26 MB / 438.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/0.3843, allocations: 75.95 kB / 438.2 MB, free: 9.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01534/0.3997, allocations: 2.245 MB / 440.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.3997, allocations: 4 kB / 440.4 MB, free: 7.547 MB / 330.7 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.0008077/0.4006, allocations: 389.6 kB / 440.8 MB, free: 7.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.4006, allocations: 8.031 kB / 440.8 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.4011, allocations: 27.8 kB / 440.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.4015, allocations: 198.2 kB / 441 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.4015, allocations: 5.812 kB / 441 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.4016, allocations: 8 kB / 441 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003406/0.402, allocations: 56.36 kB / 441.1 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.4023, allocations: 74.98 kB / 441.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.4023, allocations: 0 / 441.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.4024, allocations: 4 kB / 441.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4024, allocations: 0 / 441.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.4038, allocations: 416.5 kB / 441.6 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.4043, allocations: 77.67 kB / 441.6 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.4044, allocations: 28.92 kB / 441.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.4045, allocations: 1.594 kB / 441.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.4045, allocations: 40.41 kB / 441.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 3.606e-06/0.4046, allocations: 0 / 441.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.001273/0.4058, allocations: 348.6 kB / 442.1 MB, free: 5.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.4059, allocations: 55.41 kB / 442.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.4061, allocations: 114.1 kB / 442.2 MB, free: 5.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.4062, allocations: 25.7 kB / 442.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4063, allocations: 166.3 kB / 442.4 MB, free: 5.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.4064, allocations: 39.45 kB / 442.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.4064, allocations: 0 / 442.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4066, allocations: 322.7 kB / 442.8 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4067, allocations: 24 kB / 442.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.4069, allocations: 58.34 kB / 442.8 MB, free: 4.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.4071, allocations: 31.98 kB / 442.9 MB, free: 4.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4071, allocations: 0 / 442.9 MB, free: 4.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004493/0.4076, allocations: 117.5 kB / 443 MB, free: 4.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4076, allocations: 4 kB / 443 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4076, allocations: 2.625 kB / 443 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.4077, allocations: 8.062 kB / 443 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.4081, allocations: 31.92 kB / 443 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.4081, allocations: 4 kB / 443 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.4083, allocations: 1.188 kB / 443 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.4083, allocations: 7.984 kB / 443 MB, free: 4.664 MB / 330.7 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 () * 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 9.25e-05/0.4084, allocations: 33.58 kB / 443.1 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/0.4086, allocations: 15.81 kB / 443.1 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.815e-05/0.4087, allocations: 12.38 kB / 443.1 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.4087, allocations: 4 kB / 443.1 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.4087, allocations: 7.938 kB / 443.1 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4087, allocations: 0 / 443.1 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.4099, allocations: 380.7 kB / 443.5 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4099, allocations: 0 / 443.5 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.4104, allocations: 37.05 kB / 443.5 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.4104, allocations: 4.062 kB / 443.5 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.4104, allocations: 0 / 443.5 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.4105, allocations: 4 kB / 443.5 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.4105, allocations: 0 / 443.5 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000586/0.4111, allocations: 256.5 kB / 443.8 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.48e-05/0.4112, allocations: 89.67 kB / 443.9 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.4112, allocations: 3.938 kB / 443.9 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.4115, allocations: 4.625 kB / 443.9 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.4115, allocations: 3.984 kB / 443.9 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.4116, allocations: 8.109 kB / 443.9 MB, free: 3.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000116/0.4117, allocations: 96.83 kB / 444 MB, free: 3.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005871/0.4123, allocations: 24 kB / 444 MB, free: 3.598 MB / 330.7 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 () * 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.0002307/0.4126, allocations: 99.25 kB / 444.1 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.4129, allocations: 71.83 kB / 444.2 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.413, allocations: 0 / 444.2 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.4131, allocations: 39.92 kB / 444.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.4137, allocations: 14.39 kB / 444.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.4151, allocations: 355.6 kB / 444.6 MB, free: 2.996 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/0.4157, allocations: 0.7309 MB / 445.3 MB, free: 2.238 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4157, allocations: 0 / 445.3 MB, free: 2.238 MB / 330.7 MB Notification: Performance of Templates: time 0.006312/0.422, allocations: 1.397 MB / 446.7 MB, free: 0.8594 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches