Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.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.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_3.2.3_cpp_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_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.00164/0.001644, allocations: 181 kB / 8.153 MB, free: 2.199 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.769/1.769, allocations: 205.2 MB / 213.7 MB, free: 13.92 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.001911/0.001911, allocations: 95.28 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.327e-06/9.478e-06, allocations: 0 / 314.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2662, allocations: 47.55 MB / 361.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.3866, allocations: 75.24 MB / 437.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.387, allocations: 59.97 kB / 437.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01936/0.4063, allocations: 4.221 MB / 441.3 MB, free: 6.598 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.4064, allocations: 8 kB / 441.3 MB, free: 6.59 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009624/0.4074, allocations: 0.4974 MB / 441.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4075, allocations: 8.031 kB / 441.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.664e-05/0.4076, allocations: 35.62 kB / 441.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.4079, allocations: 230.7 kB / 442.1 MB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.408, allocations: 8 kB / 442.1 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.436e-05/0.408, allocations: 23.89 kB / 442.1 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005368/0.4086, allocations: 161.2 kB / 442.3 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.4091, allocations: 206.5 kB / 442.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.4092, allocations: 4 kB / 442.5 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.4092, allocations: 0 / 442.5 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.4092, allocations: 8 kB / 442.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.4108, allocations: 0.6917 MB / 443.2 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.4113, allocations: 197.9 kB / 443.4 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.4116, allocations: 106.3 kB / 443.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.4116, allocations: 4.625 kB / 443.5 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.4117, allocations: 38.47 kB / 443.5 MB, free: 4.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 4.368e-06/0.4117, allocations: 0 / 443.5 MB, free: 4.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.003559/0.4153, allocations: 1.482 MB / 445 MB, free: 2.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.4154, allocations: 89.11 kB / 445.1 MB, free: 2.473 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.4156, allocations: 136.5 kB / 445.2 MB, free: 2.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.4156, allocations: 29.7 kB / 445.3 MB, free: 2.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4157, allocations: 195 kB / 445.5 MB, free: 2.105 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.4159, allocations: 169.4 kB / 445.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.4159, allocations: 0 / 445.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4161, allocations: 326.8 kB / 446 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.4164, allocations: 89 kB / 446 MB, free: 1.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.4167, allocations: 135.9 kB / 446.2 MB, free: 1.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.4171, allocations: 118.3 kB / 446.3 MB, free: 1.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4171, allocations: 0 / 446.3 MB, free: 1.262 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008079/0.4179, allocations: 306.8 kB / 446.6 MB, free: 0.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.418, allocations: 4 kB / 446.6 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.418, allocations: 3.938 kB / 446.6 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.418, allocations: 4 kB / 446.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008212/0.4188, allocations: 111.8 kB / 446.7 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4189, allocations: 4 kB / 446.7 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.4191, allocations: 0 / 446.7 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.4191, allocations: 16 kB / 446.7 MB, free: 0.8164 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 (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 0.0001067/0.4192, allocations: 39.23 kB / 446.8 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.4194, allocations: 27.72 kB / 446.8 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.4195, allocations: 29.75 kB / 446.8 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4195, allocations: 7.906 kB / 446.8 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4195, allocations: 0 / 446.8 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.4196, allocations: 7.984 kB / 446.8 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.4216, allocations: 0.8566 MB / 447.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4216, allocations: 0 / 447.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009212/0.4226, allocations: 103.8 kB / 447.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.4226, allocations: 4.656 kB / 447.8 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.4226, allocations: 7.984 kB / 447.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.4227, allocations: 4.5 kB / 447.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4227, allocations: 0 / 447.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001169/0.4238, allocations: 0.6244 MB / 448.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.424, allocations: 104.8 kB / 448.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.424, allocations: 14.31 kB / 448.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.4244, allocations: 4 kB / 448.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.4245, allocations: 17.84 kB / 448.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.4245, allocations: 16 kB / 448.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001268/0.4247, allocations: 116.3 kB / 448.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004995/0.4252, allocations: 67.98 kB / 448.8 MB, free: 14.66 MB / 346.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.0001807/0.4254, allocations: 99.17 kB / 448.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006982/0.4261, allocations: 270.8 kB / 449.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4261, allocations: 0 / 449.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.4264, allocations: 139.8 kB / 449.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006917/0.4271, allocations: 39.88 kB / 449.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4294, allocations: 0.8728 MB / 450.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.43, allocations: 0.818 MB / 451 MB, free: 12.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4301, allocations: 0 / 451 MB, free: 12.38 MB / 346.7 MB Notification: Performance of Templates: time 0.009281/0.4394, allocations: 3.548 MB / 454.5 MB, free: 8.867 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches