Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") [: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.001293/0.001293, allocations: 180 kB / 8.479 MB, free: 1.891 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.789/1.789, allocations: 205.2 MB / 214.1 MB, free: 5.09 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 75.75 kB / 262.1 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.807e-06, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 47.57 MB / 362.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4548, allocations: 74.76 MB / 437.3 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4551, allocations: 66.55 kB / 437.4 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.008423/0.4636, allocations: 3.111 MB / 440.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.4636, allocations: 3.844 kB / 440.5 MB, free: 10.77 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006602/0.4643, allocations: 463.7 kB / 440.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.4643, allocations: 15.62 kB / 440.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.305e-05/0.4644, allocations: 23.88 kB / 441 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.4646, allocations: 194.8 kB / 441.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.4646, allocations: 8.344 kB / 441.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.4647, allocations: 11.53 kB / 441.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002976/0.465, allocations: 113.9 kB / 441.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.4653, allocations: 194.5 kB / 441.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.4654, allocations: 11.56 kB / 441.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.4654, allocations: 0 / 441.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.4654, allocations: 4.5 kB / 441.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.4668, allocations: 0.8149 MB / 442.3 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.467, allocations: 135.1 kB / 442.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.4671, allocations: 58.83 kB / 442.5 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.4671, allocations: 7.906 kB / 442.5 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.4672, allocations: 41.31 kB / 442.5 MB, free: 9.379 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.385e-06/0.4672, allocations: 0 / 442.5 MB, free: 9.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003757/0.4676, allocations: 118.1 kB / 442.7 MB, free: 9.336 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4676, allocations: 107.5 kB / 442.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.4678, allocations: 144 kB / 442.9 MB, free: 9.113 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.4678, allocations: 29.7 kB / 442.9 MB, free: 9.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.468, allocations: 161 kB / 443.1 MB, free: 8.949 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.468, allocations: 63.73 kB / 443.2 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-06/0.468, allocations: 0 / 443.2 MB, free: 8.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4681, allocations: 323.5 kB / 443.5 MB, free: 8.598 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.4682, allocations: 40.62 kB / 443.5 MB, free: 8.598 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.4684, allocations: 142 kB / 443.6 MB, free: 8.465 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.4685, allocations: 61.36 kB / 443.7 MB, free: 8.461 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4685, allocations: 3.938 kB / 443.7 MB, free: 8.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003318/0.4688, allocations: 202 kB / 443.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.4689, allocations: 7.688 kB / 443.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4689, allocations: 4.781 kB / 443.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.4689, allocations: 4.469 kB / 443.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.4691, allocations: 63.17 kB / 444 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.4692, allocations: 4.938 kB / 444 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.4693, allocations: 27.88 kB / 444 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.4694, allocations: 10.78 kB / 444 MB, free: 8.375 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.986e-05/0.4695, allocations: 121.1 kB / 444.1 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.4695, allocations: 16.09 kB / 444.2 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.258e-05/0.4696, allocations: 26.28 kB / 444.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4696, allocations: 3.5 kB / 444.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4697, allocations: 0 / 444.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4697, allocations: 4.906 kB / 444.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.4702, allocations: 373.8 kB / 444.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4702, allocations: 4 kB / 444.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.4704, allocations: 37.64 kB / 444.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.4704, allocations: 3.5 kB / 444.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.4704, allocations: 4.625 kB / 444.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.4704, allocations: 3.938 kB / 444.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.4704, allocations: 4.406 kB / 444.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003616/0.4708, allocations: 404.6 kB / 445 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.4709, allocations: 98.89 kB / 445.1 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.4709, allocations: 3.719 kB / 445.1 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.4711, allocations: 0 / 445.1 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.4711, allocations: 11.56 kB / 445.1 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.4711, allocations: 11.92 kB / 445.1 MB, free: 7.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.375e-05/0.4712, allocations: 111.9 kB / 445.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003718/0.4716, allocations: 57.81 kB / 445.3 MB, free: 7.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001264/0.4717, allocations: 95.91 kB / 445.4 MB, free: 7.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.472, allocations: 128.7 kB / 445.5 MB, free: 7.305 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.472, allocations: 0 / 445.5 MB, free: 7.305 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.211e-05/0.4721, allocations: 48.78 kB / 445.6 MB, free: 7.301 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.4724, allocations: 30.88 kB / 445.6 MB, free: 7.293 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.4733, allocations: 475 kB / 446.1 MB, free: 6.973 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.4736, allocations: 0.7568 MB / 446.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4736, allocations: 0 / 446.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of Templates: time 0.004732/0.4784, allocations: 1.523 MB / 448.3 MB, free: 6.141 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches