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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 222.4 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4155/0.4155, allocations: 39.94 MB / 309.7 MB, free: 9.273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 71.88 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1702, allocations: 56.88 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00581/0.1761, allocations: 4.093 MB / 438.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1785, allocations: 1.107 MB / 439.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003021/0.1789, allocations: 11.94 kB / 439.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.1792, allocations: 98.97 kB / 439.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.1797, allocations: 198.2 kB / 440 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/0.1804, allocations: 199.6 kB / 440.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008638/0.1812, allocations: 0.7707 MB / 441 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.1817, allocations: 247.5 kB / 441.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.1821, allocations: 306.9 kB / 441.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.1825, allocations: 334.5 kB / 441.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1826, allocations: 60 kB / 441.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.1828, allocations: 83.98 kB / 442 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.183, allocations: 151.4 kB / 442.1 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.1833, allocations: 346.2 kB / 442.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007811/0.1841, allocations: 0.7552 MB / 443.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.1841, allocations: 0 / 443.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1841, allocations: 0 / 443.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.1841, allocations: 0 / 443.2 MB, free: 10.91 MB / 382.1 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.001894/0.186, allocations: 1.005 MB / 444.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1861, allocations: 11.89 kB / 444.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.1863, allocations: 80 kB / 444.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.1868, allocations: 389.8 kB / 444.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.1868, allocations: 45.69 kB / 444.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1869, allocations: 68.27 kB / 444.8 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.1881, allocations: 0.6229 MB / 445.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.1882, allocations: 15.81 kB / 445.4 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.1883, allocations: 20 kB / 445.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.1883, allocations: 16 kB / 445.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1894, allocations: 0.5294 MB / 446 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.1925, allocations: 2.173 MB / 448.2 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.1938, allocations: 0.7028 MB / 448.9 MB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/0.1944, allocations: 351.1 kB / 449.2 MB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.1945, allocations: 93.84 kB / 449.3 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.1946, allocations: 50.92 kB / 449.4 MB, free: 4.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.226e-06/0.1946, allocations: 0 / 449.4 MB, free: 4.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.3192/0.5138, allocations: 4.488 MB / 453.8 MB, free: 51.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.514, allocations: 223.6 kB / 454.1 MB, free: 50.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.5144, allocations: 367.9 kB / 454.4 MB, free: 50.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.5144, allocations: 46.05 kB / 454.5 MB, free: 50.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.5146, allocations: 267 kB / 454.7 MB, free: 50.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.5149, allocations: 409.9 kB / 455.1 MB, free: 50.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.5151, allocations: 181.5 kB / 455.3 MB, free: 50.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5153, allocations: 378.8 kB / 455.7 MB, free: 50.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.5159, allocations: 316 kB / 456 MB, free: 50.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.5165, allocations: 0.5111 MB / 456.5 MB, free: 49.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.5178, allocations: 0.8636 MB / 457.4 MB, free: 49.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5179, allocations: 0 / 457.4 MB, free: 49.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001678/0.5195, allocations: 1.006 MB / 458.4 MB, free: 49.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.5196, allocations: 12.56 kB / 458.4 MB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.5196, allocations: 6.156 kB / 458.4 MB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.5196, allocations: 11.78 kB / 458.4 MB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009736/0.5206, allocations: 277 kB / 458.7 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.5207, allocations: 18.98 kB / 458.7 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.5212, allocations: 53.61 kB / 458.7 MB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.5212, allocations: 41.41 kB / 458.8 MB, free: 49.48 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002887/0.5215, allocations: 222.6 kB / 459 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.5218, allocations: 77.69 kB / 459.1 MB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.5222, allocations: 221.8 kB / 459.3 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5222, allocations: 19.77 kB / 459.3 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.57e-05/0.5223, allocations: 0 / 459.3 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.5223, allocations: 10.02 kB / 459.3 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.526, allocations: 2.345 MB / 461.7 MB, free: 47.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.526, allocations: 3.25 kB / 461.7 MB, free: 47.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009525/0.5269, allocations: 259 kB / 461.9 MB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.527, allocations: 10.81 kB / 461.9 MB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.527, allocations: 29.36 kB / 461.9 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.527, allocations: 9.25 kB / 462 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5271, allocations: 11.06 kB / 462 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.5292, allocations: 1.893 MB / 463.9 MB, free: 46.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.5294, allocations: 205.6 kB / 464.1 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.5295, allocations: 21.78 kB / 464.1 MB, free: 46.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.5301, allocations: 45.36 kB / 464.1 MB, free: 46.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.5303, allocations: 94.95 kB / 464.2 MB, free: 46.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.5303, allocations: 30.94 kB / 464.3 MB, free: 46.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.5306, allocations: 253.3 kB / 464.5 MB, free: 46.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5306, allocations: 0 / 464.5 MB, free: 46.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008735/0.5315, allocations: 193.6 kB / 464.7 MB, free: 46.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.5317, allocations: 146.8 kB / 464.8 MB, free: 46.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.5335, allocations: 0.8907 MB / 465.7 MB, free: 46.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.5335, allocations: 4 kB / 465.7 MB, free: 46.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.5342, allocations: 0.4947 MB / 466.2 MB, free: 45.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.5354, allocations: 127.9 kB / 466.3 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.5394, allocations: 2.191 MB / 468.5 MB, free: 44.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.54, allocations: 0.9448 MB / 469.5 MB, free: 43.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004698/0.5405, allocations: 102.9 kB / 469.6 MB, free: 43.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.5407, allocations: 66.09 kB / 469.6 MB, free: 43.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5407, allocations: 7 kB / 469.7 MB, free: 43.65 MB / 382.1 MB Notification: Performance of Templates: time 0.0165/0.5572, allocations: 7.259 MB / 476.9 MB, free: 43.2 MB / 382.1 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)