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.001487/0.001487, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 192.6 kB / 16.14 MB, free: 6.66 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.821/1.821, allocations: 205.1 MB / 222 MB, free: 4.734 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.3644/0.3644, allocations: 39.93 MB / 309.3 MB, free: 9.637 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.001376/0.001376, allocations: 70.39 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1754, allocations: 56.88 MB / 433.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005637/0.1811, allocations: 4.119 MB / 437.9 MB, free: 288 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.1837, allocations: 1.099 MB / 439 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.184, allocations: 15.94 kB / 439 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.1844, allocations: 71.39 kB / 439.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.1848, allocations: 174.6 kB / 439.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.1853, allocations: 167.8 kB / 439.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007052/0.186, allocations: 0.7394 MB / 440.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003725/0.1864, allocations: 218.8 kB / 440.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.1867, allocations: 270.9 kB / 440.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.1871, allocations: 322.5 kB / 441 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.681e-05/0.1871, allocations: 44 kB / 441 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.1873, allocations: 71.92 kB / 441.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1875, allocations: 131.4 kB / 441.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.1878, allocations: 326.3 kB / 441.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000659/0.1885, allocations: 0.7239 MB / 442.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1885, allocations: 0 / 442.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1885, allocations: 0 / 442.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1885, allocations: 0 / 442.2 MB, free: 11.92 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.001917/0.1904, allocations: 0.9936 MB / 443.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.1905, allocations: 12.03 kB / 443.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.1906, allocations: 80 kB / 443.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.1911, allocations: 389.8 kB / 443.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.1912, allocations: 45.69 kB / 443.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1913, allocations: 68.27 kB / 443.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.1925, allocations: 0.6229 MB / 444.4 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.1926, allocations: 19.75 kB / 444.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.1926, allocations: 20 kB / 444.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.1927, allocations: 20 kB / 444.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.1938, allocations: 0.5293 MB / 445 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.1972, allocations: 2.161 MB / 447.2 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.1985, allocations: 0.7147 MB / 447.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.1991, allocations: 355.1 kB / 448.3 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.1993, allocations: 89.55 kB / 448.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.1994, allocations: 54.92 kB / 448.4 MB, free: 5.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/0.1994, allocations: 0 / 448.4 MB, free: 5.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.008252/0.2077, allocations: 4.485 MB / 452.9 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.2078, allocations: 230.2 kB / 453.1 MB, free: 324 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2678/0.4756, allocations: 353.9 kB / 453.5 MB, free: 51.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.4758, allocations: 49.23 kB / 453.5 MB, free: 51.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.476, allocations: 272.5 kB / 453.8 MB, free: 51.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.4764, allocations: 407.8 kB / 454.2 MB, free: 51.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.4767, allocations: 177.7 kB / 454.3 MB, free: 51.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4768, allocations: 379.8 kB / 454.7 MB, free: 50.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000715/0.4775, allocations: 320.1 kB / 455 MB, free: 50.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/0.4782, allocations: 0.5044 MB / 455.5 MB, free: 50.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.4794, allocations: 0.8649 MB / 456.4 MB, free: 50.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4794, allocations: 0 / 456.4 MB, free: 50.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001664/0.4811, allocations: 1.007 MB / 457.4 MB, free: 50.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4812, allocations: 10.06 kB / 457.4 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4812, allocations: 3.25 kB / 457.4 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.4812, allocations: 16.59 kB / 457.4 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009434/0.4822, allocations: 283.6 kB / 457.7 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.4822, allocations: 16.41 kB / 457.7 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.4827, allocations: 51.53 kB / 457.8 MB, free: 50.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.4827, allocations: 42.55 kB / 457.8 MB, free: 50.33 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.000277/0.483, allocations: 230.1 kB / 458 MB, free: 50.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.4832, allocations: 78.12 kB / 458.1 MB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.4836, allocations: 219 kB / 458.3 MB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.4836, allocations: 13.19 kB / 458.3 MB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.4837, allocations: 2.906 kB / 458.3 MB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.4837, allocations: 10.05 kB / 458.4 MB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.4867, allocations: 2.35 MB / 460.7 MB, free: 48.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.4867, allocations: 6.312 kB / 460.7 MB, free: 48.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009823/0.4877, allocations: 252 kB / 461 MB, free: 48.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.4877, allocations: 10.19 kB / 461 MB, free: 48.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.4878, allocations: 24.95 kB / 461 MB, free: 48.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.4878, allocations: 10.47 kB / 461 MB, free: 48.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4878, allocations: 4.719 kB / 461 MB, free: 48.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.4899, allocations: 1.903 MB / 462.9 MB, free: 47.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.4902, allocations: 192.5 kB / 463.1 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.998e-05/0.4903, allocations: 33.42 kB / 463.1 MB, free: 47.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.4909, allocations: 45.72 kB / 463.2 MB, free: 47.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.491, allocations: 85.56 kB / 463.3 MB, free: 47.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.4911, allocations: 36.56 kB / 463.3 MB, free: 47.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.4913, allocations: 247.7 kB / 463.5 MB, free: 47.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.082e-06/0.4913, allocations: 0 / 463.5 MB, free: 47.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000892/0.4922, allocations: 204.3 kB / 463.7 MB, free: 47.2 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.0002034/0.4924, allocations: 142.6 kB / 463.9 MB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.494, allocations: 0.8402 MB / 464.7 MB, free: 46.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.494, allocations: 0 / 464.7 MB, free: 46.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008599/0.4949, allocations: 0.489 MB / 465.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.4962, allocations: 119.8 kB / 465.3 MB, free: 46.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.4996, allocations: 2.503 MB / 467.8 MB, free: 44.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.5, allocations: 0.9435 MB / 468.8 MB, free: 44.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004482/0.5004, allocations: 103.4 kB / 468.9 MB, free: 44.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.5006, allocations: 59.02 kB / 468.9 MB, free: 44.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.5006, allocations: 3.125 kB / 468.9 MB, free: 44.16 MB / 382.1 MB Notification: Performance of Templates: time 0.0117/0.5124, allocations: 6.74 MB / 475.7 MB, free: 43.75 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)