Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [: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 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 187.7 kB / 8.137 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.4 MB / 229.9 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009193, allocations: 101.2 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.682e-06, allocations: 0 / 336.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.243, allocations: 50.4 MB / 386.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0892/0.3323, allocations: 76.44 MB / 463.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.3325, allocations: 65.41 kB / 463.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01201/0.3446, allocations: 4.366 MB / 467.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.3446, allocations: 8 kB / 467.8 MB, free: 5.93 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006288/0.3452, allocations: 0.5024 MB / 468.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3453, allocations: 8.031 kB / 468.3 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.3454, allocations: 31.62 kB / 468.3 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.3456, allocations: 234.7 kB / 468.5 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3456, allocations: 8.875 kB / 468.6 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.3457, allocations: 19.91 kB / 468.6 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002947/0.346, allocations: 153.3 kB / 468.7 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.3463, allocations: 210.5 kB / 468.9 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.3463, allocations: 8 kB / 468.9 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.3464, allocations: 0 / 468.9 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3464, allocations: 8 kB / 468.9 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.3474, allocations: 0.6917 MB / 469.6 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.3477, allocations: 194.3 kB / 469.8 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.3479, allocations: 105.7 kB / 469.9 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3479, allocations: 4 kB / 469.9 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3479, allocations: 37 kB / 470 MB, free: 3.578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.3479, allocations: 4 kB / 470 MB, free: 3.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002214/0.3501, allocations: 1.479 MB / 471.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3502, allocations: 81.11 kB / 471.5 MB, free: 1.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.3503, allocations: 142.5 kB / 471.7 MB, free: 1.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3504, allocations: 29.7 kB / 471.7 MB, free: 1.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.3504, allocations: 128.6 kB / 471.8 MB, free: 1.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3506, allocations: 169.4 kB / 472 MB, free: 1.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.3506, allocations: 3.938 kB / 472 MB, free: 1.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3507, allocations: 342.7 kB / 472.3 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3509, allocations: 89 kB / 472.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3511, allocations: 131.9 kB / 472.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.3513, allocations: 115.5 kB / 472.7 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3513, allocations: 0 / 472.7 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004526/0.3517, allocations: 318.5 kB / 473 MB, free: 348 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3517, allocations: 11.91 kB / 473 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.3518, allocations: 0 / 473 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3518, allocations: 6.812 kB / 473 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.3522, allocations: 107.8 kB / 473.1 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3522, allocations: 0 / 473.1 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.3523, allocations: 4 kB / 473.1 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3524, allocations: 12 kB / 473.1 MB, free: 208 kB / 346.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 (58): * Single equations (assignments): 58 * 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.964e-05/0.3525, allocations: 115.6 kB / 473.2 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.3525, allocations: 27.62 kB / 473.3 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.063e-05/0.3526, allocations: 38.48 kB / 473.3 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3526, allocations: 11.98 kB / 473.3 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3527, allocations: 0 / 473.3 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3527, allocations: 3.984 kB / 473.3 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.3538, allocations: 0.8533 MB / 474.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3539, allocations: 4 kB / 474.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.3543, allocations: 99.83 kB / 474.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3543, allocations: 4 kB / 474.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3544, allocations: 5.094 kB / 474.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3544, allocations: 7.984 kB / 474.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3544, allocations: 0 / 474.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006715/0.3551, allocations: 0.6284 MB / 474.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.3551, allocations: 96.83 kB / 475 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3552, allocations: 7.984 kB / 475 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.3554, allocations: 3.938 kB / 475 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.3554, allocations: 23.97 kB / 475 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.3554, allocations: 16.97 kB / 475 MB, free: 14.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.904e-05/0.3555, allocations: 116.3 kB / 475.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.3559, allocations: 67.94 kB / 475.2 MB, free: 13.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.000149/0.356, allocations: 119.1 kB / 475.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003932/0.3564, allocations: 258.8 kB / 475.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3565, allocations: 0 / 475.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.3566, allocations: 143.8 kB / 475.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.3571, allocations: 44.56 kB / 475.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3585, allocations: 0.8394 MB / 476.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.3589, allocations: 0.8143 MB / 477.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3589, allocations: 0 / 477.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of Templates: time 0.006409/0.3654, allocations: 3.073 MB / 480.5 MB, free: 8.68 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches