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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00136/0.00136, allocations: 182.6 kB / 7.652 MB, free: 1.402 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.42/1.42, allocations: 194.3 MB / 202.4 MB, free: 8.551 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.001619/0.001619, allocations: 118.8 kB / 247.4 MB, free: 6.195 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.1771/0.1771, allocations: 39.95 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.422e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 54.87 MB / 448.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3807/0.4839, allocations: 84.03 MB / 0.5197 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.4842, allocations: 61.97 kB / 0.5198 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02896/0.5132, allocations: 11.16 MB / 0.5307 GB, free: 5.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.5132, allocations: 0 / 0.5307 GB, free: 5.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.431e-05/0.5133, allocations: 12 kB / 0.5307 GB, free: 5.531 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.001762/0.515, allocations: 0.8432 MB / 0.5315 GB, free: 4.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.5151, allocations: 15.97 kB / 0.5315 GB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.5154, allocations: 75.06 kB / 0.5316 GB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.516, allocations: 364.6 kB / 0.532 GB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.516, allocations: 23.95 kB / 0.532 GB, free: 4.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.5161, allocations: 39.91 kB / 0.532 GB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007577/0.5169, allocations: 412.9 kB / 0.5324 GB, free: 3.895 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.5176, allocations: 496.9 kB / 0.5329 GB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.5177, allocations: 11.59 kB / 0.5329 GB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.5177, allocations: 0 / 0.5329 GB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.5178, allocations: 12 kB / 0.5329 GB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.5203, allocations: 1.947 MB / 0.5348 GB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.5211, allocations: 0.5631 MB / 0.5354 GB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.5214, allocations: 268.4 kB / 0.5356 GB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.5215, allocations: 93.45 kB / 0.5357 GB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.5216, allocations: 52.66 kB / 0.5358 GB, free: 1.016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 2.855e-06/0.5216, allocations: 0 / 0.5358 GB, free: 1.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=115): time 0.00488/0.5265, allocations: 3.537 MB / 0.5392 GB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.5266, allocations: 180.5 kB / 0.5394 GB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.5269, allocations: 299.1 kB / 0.5397 GB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.527, allocations: 25.7 kB / 0.5397 GB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.5271, allocations: 259.1 kB / 0.5399 GB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.5274, allocations: 393.9 kB / 0.5403 GB, free: 12.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.5275, allocations: 0 / 0.5403 GB, free: 12.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5277, allocations: 386.3 kB / 0.5407 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.5281, allocations: 244.7 kB / 0.5409 GB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.5286, allocations: 442.3 kB / 0.5413 GB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.5291, allocations: 306 kB / 0.5416 GB, free: 11.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5291, allocations: 4 kB / 0.5416 GB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001234/0.5304, allocations: 0.8168 MB / 0.5424 GB, free: 10.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.5304, allocations: 8 kB / 0.5424 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5304, allocations: 4 kB / 0.5424 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.5305, allocations: 12 kB / 0.5425 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.5315, allocations: 290.1 kB / 0.5427 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.371e-05/0.5316, allocations: 23.92 kB / 0.5428 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.532, allocations: 27.98 kB / 0.5428 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/0.5321, allocations: 46.3 kB / 0.5428 GB, free: 10.46 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.0001493/0.5323, allocations: 132.6 kB / 0.5429 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.5324, allocations: 75.16 kB / 0.543 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.5329, allocations: 225.7 kB / 0.5432 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5329, allocations: 12 kB / 0.5432 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.5329, allocations: 0 / 0.5432 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.5329, allocations: 7.984 kB / 0.5433 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.536, allocations: 2.15 MB / 0.5454 GB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.536, allocations: 7.953 kB / 0.5454 GB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.5371, allocations: 264.5 kB / 0.5456 GB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.857e-05/0.5371, allocations: 8 kB / 0.5456 GB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.5372, allocations: 15.05 kB / 0.5456 GB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.906e-06/0.5372, allocations: 8 kB / 0.5456 GB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.5372, allocations: 0 / 0.5456 GB, free: 8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.5392, allocations: 1.701 MB / 0.5473 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.5395, allocations: 197.1 kB / 0.5475 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.5396, allocations: 7.688 kB / 0.5475 GB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.5401, allocations: 35.97 kB / 0.5475 GB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.5403, allocations: 87.62 kB / 0.5476 GB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.5403, allocations: 35.11 kB / 0.5477 GB, free: 6.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002188/0.5406, allocations: 233.6 kB / 0.5479 GB, free: 5.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5406, allocations: 3.938 kB / 0.5479 GB, free: 5.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007553/0.5413, allocations: 156 kB / 0.548 GB, free: 5.836 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.0002057/0.5416, allocations: 119.7 kB / 0.5481 GB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.5427, allocations: 0.6903 MB / 0.5488 GB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5427, allocations: 0 / 0.5488 GB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.5433, allocations: 430.5 kB / 0.5492 GB, free: 4.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008524/0.5442, allocations: 78.38 kB / 0.5493 GB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.5474, allocations: 1.924 MB / 0.5512 GB, free: 2.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/0.5481, allocations: 0.9674 MB / 0.5521 GB, free: 1.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005082/0.5486, allocations: 98.19 kB / 0.5522 GB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.5488, allocations: 59.42 kB / 0.5523 GB, free: 1.836 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5488, allocations: 0 / 0.5523 GB, free: 1.836 MB / 362.7 MB Notification: Performance of Templates: time 0.01222/0.561, allocations: 6.083 MB / 0.5582 GB, free: 11.82 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)