Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents") [: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.2+maint.om/package.mo): time 0.002853/0.002853, allocations: 188.6 kB / 7.46 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.346/1.346, allocations: 194.2 MB / 202.1 MB, free: 8.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00185/0.00185, allocations: 124 kB / 247.1 MB, free: 6.395 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1871/0.1871, allocations: 39.95 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.472e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.4167, allocations: 83.95 MB / 0.5191 GB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.417, allocations: 62.05 kB / 0.5192 GB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03162/0.4486, allocations: 10.91 MB / 0.5298 GB, free: 5.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.829e-05/0.4487, allocations: 12 kB / 0.5299 GB, free: 5.965 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001691/0.4504, allocations: 0.8637 MB / 0.5307 GB, free: 5.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4505, allocations: 8.031 kB / 0.5307 GB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.4507, allocations: 83.05 kB / 0.5308 GB, free: 5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.4512, allocations: 365.3 kB / 0.5311 GB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.4513, allocations: 16 kB / 0.5311 GB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.4514, allocations: 39.91 kB / 0.5312 GB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007067/0.4521, allocations: 425.6 kB / 0.5316 GB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.4528, allocations: 493.6 kB / 0.5321 GB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/0.4529, allocations: 15.75 kB / 0.5321 GB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.4529, allocations: 0 / 0.5321 GB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.453, allocations: 16 kB / 0.5321 GB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.4557, allocations: 1.95 MB / 0.534 GB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.4564, allocations: 454.4 kB / 0.5344 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.4568, allocations: 271.4 kB / 0.5347 GB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.4569, allocations: 100.2 kB / 0.5348 GB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.457, allocations: 50.06 kB / 0.5348 GB, free: 1.516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/0.457, allocations: 0 / 0.5348 GB, free: 1.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=115): time 0.005161/0.4621, allocations: 3.532 MB / 0.5383 GB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.4623, allocations: 162.9 kB / 0.5384 GB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.4627, allocations: 299.9 kB / 0.5387 GB, free: 13.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.4627, allocations: 25.7 kB / 0.5387 GB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.4629, allocations: 216.1 kB / 0.539 GB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.4633, allocations: 396.9 kB / 0.5393 GB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.4633, allocations: 7.938 kB / 0.5393 GB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.4635, allocations: 375.6 kB / 0.5397 GB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.464, allocations: 247.6 kB / 0.5399 GB, free: 12.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.4646, allocations: 440.3 kB / 0.5404 GB, free: 12.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.4652, allocations: 309.8 kB / 0.5406 GB, free: 11.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.4652, allocations: 0 / 0.5406 GB, free: 11.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001442/0.4667, allocations: 0.8164 MB / 0.5414 GB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4667, allocations: 4 kB / 0.5414 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4667, allocations: 7.938 kB / 0.5415 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/0.4668, allocations: 15.98 kB / 0.5415 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.468, allocations: 303.3 kB / 0.5418 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/0.468, allocations: 12 kB / 0.5418 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.4686, allocations: 39.97 kB / 0.5418 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.4688, allocations: 42.86 kB / 0.5419 GB, free: 10.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0001907/0.469, allocations: 128.7 kB / 0.542 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.4692, allocations: 71.16 kB / 0.542 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004958/0.4697, allocations: 230.7 kB / 0.5423 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.4698, allocations: 19.89 kB / 0.5423 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.4698, allocations: 4 kB / 0.5423 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.4698, allocations: 7.922 kB / 0.5423 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/0.4733, allocations: 2.167 MB / 0.5444 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.4733, allocations: 7.984 kB / 0.5444 GB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.4745, allocations: 268.5 kB / 0.5447 GB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.472e-05/0.4746, allocations: 8 kB / 0.5447 GB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/0.4747, allocations: 10.73 kB / 0.5447 GB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.4747, allocations: 8 kB / 0.5447 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.4747, allocations: 11.84 kB / 0.5447 GB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002093/0.4768, allocations: 1.702 MB / 0.5464 GB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.4772, allocations: 202.8 kB / 0.5466 GB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.4773, allocations: 4 kB / 0.5466 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.478, allocations: 39.97 kB / 0.5466 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.4781, allocations: 83.14 kB / 0.5467 GB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/0.4782, allocations: 27.88 kB / 0.5467 GB, free: 6.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002545/0.4785, allocations: 232.2 kB / 0.5469 GB, free: 6.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008816/0.4793, allocations: 152 kB / 0.5471 GB, free: 6.305 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0002181/0.4796, allocations: 135.9 kB / 0.5472 GB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4808, allocations: 0.701 MB / 0.5479 GB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4808, allocations: 0 / 0.5479 GB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006194/0.4814, allocations: 434.6 kB / 0.5483 GB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/0.4822, allocations: 74.3 kB / 0.5484 GB, free: 5.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.4857, allocations: 1.883 MB / 0.5502 GB, free: 3.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008829/0.4866, allocations: 1.029 MB / 0.5512 GB, free: 2.41 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4866, allocations: 0 / 0.5512 GB, free: 2.41 MB / 362.7 MB Notification: Performance of Templates: time 0.01523/0.5019, allocations: 7.571 MB / 0.5586 GB, free: 10.92 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe 2>&1)