Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, 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.001134/0.001134, allocations: 194.6 kB / 16.14 MB, free: 6.699 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.696/1.696, allocations: 205.1 MB / 222 MB, free: 4.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.429/0.429, allocations: 37.97 MB / 307.3 MB, free: 10.16 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.1. 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.001604/0.001605, allocations: 59.91 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1699, allocations: 56.47 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00693/0.1769, allocations: 4.127 MB / 435.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.1802, allocations: 1.091 MB / 436.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000982/0.1812, allocations: 15.94 kB / 436.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000552/0.1818, allocations: 75.33 kB / 436.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009713/0.1828, allocations: 174.6 kB / 436.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009335/0.1838, allocations: 171.8 kB / 436.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.1855, allocations: 0.7394 MB / 437.4 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.186, allocations: 211 kB / 437.6 MB, free: 456 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.1864, allocations: 270.9 kB / 437.9 MB, free: 184 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.1868, allocations: 330.5 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.809e-05/0.1869, allocations: 40 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.1871, allocations: 67.94 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.1873, allocations: 127.5 kB / 438.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.1877, allocations: 330.2 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007207/0.1884, allocations: 0.7239 MB / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1884, allocations: 0 / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1884, allocations: 0 / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1884, allocations: 0 / 439.5 MB, free: 14.57 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.001957/0.1904, allocations: 0.9936 MB / 440.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1905, allocations: 12.03 kB / 440.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.1906, allocations: 80.03 kB / 440.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.1911, allocations: 393.8 kB / 440.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.1912, allocations: 45.69 kB / 441 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.1913, allocations: 64.28 kB / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1925, allocations: 0.6229 MB / 441.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.1925, allocations: 11.91 kB / 441.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.1926, allocations: 20 kB / 441.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.1926, allocations: 23.98 kB / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.1938, allocations: 0.5332 MB / 442.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.197, allocations: 2.165 MB / 444.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.1983, allocations: 0.703 MB / 445.1 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/0.1989, allocations: 347.1 kB / 445.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.1991, allocations: 101.8 kB / 445.6 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.1991, allocations: 47 kB / 445.6 MB, free: 8.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/0.1991, allocations: 0 / 445.6 MB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.008238/0.2074, allocations: 4.497 MB / 450.1 MB, free: 3.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.2075, allocations: 226.1 kB / 450.3 MB, free: 2.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.2079, allocations: 362 kB / 450.7 MB, free: 2.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.208, allocations: 45.7 kB / 450.7 MB, free: 2.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.2083, allocations: 268.9 kB / 451 MB, free: 2.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/0.2086, allocations: 406 kB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.2089, allocations: 179 kB / 451.5 MB, free: 1.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.2091, allocations: 378.8 kB / 451.9 MB, free: 1.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/0.2098, allocations: 318.4 kB / 452.2 MB, free: 1.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/0.2106, allocations: 0.5043 MB / 452.7 MB, free: 460 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3121/0.5228, allocations: 0.8649 MB / 453.6 MB, free: 52.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.5228, allocations: 3.781 kB / 453.6 MB, free: 52.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002057/0.5249, allocations: 1.009 MB / 454.6 MB, free: 52.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.525, allocations: 10 kB / 454.6 MB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.525, allocations: 6.094 kB / 454.6 MB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.525, allocations: 9.938 kB / 454.6 MB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/0.526, allocations: 283.7 kB / 454.9 MB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.526, allocations: 9.312 kB / 454.9 MB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.5265, allocations: 55.05 kB / 455 MB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/0.5265, allocations: 36.75 kB / 455 MB, free: 52.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.000321/0.5269, allocations: 235 kB / 455.2 MB, free: 52.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.5271, allocations: 78 kB / 455.3 MB, free: 52.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.5275, allocations: 220.2 kB / 455.5 MB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.5275, allocations: 10.91 kB / 455.5 MB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/0.5275, allocations: 2.406 kB / 455.5 MB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.5276, allocations: 12.55 kB / 455.6 MB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.5309, allocations: 2.355 MB / 457.9 MB, free: 51.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5309, allocations: 3.188 kB / 457.9 MB, free: 51.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/0.5319, allocations: 249.5 kB / 458.2 MB, free: 51.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.5319, allocations: 13.88 kB / 458.2 MB, free: 51.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.697e-05/0.532, allocations: 29.28 kB / 458.2 MB, free: 51.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.532, allocations: 9.969 kB / 458.2 MB, free: 51.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.532, allocations: 7.094 kB / 458.2 MB, free: 51.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.5341, allocations: 1.903 MB / 460.1 MB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.5343, allocations: 195.3 kB / 460.3 MB, free: 50.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.5344, allocations: 26.19 kB / 460.3 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.535, allocations: 37.97 kB / 460.4 MB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.5352, allocations: 92.89 kB / 460.5 MB, free: 50.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.5352, allocations: 37.34 kB / 460.5 MB, free: 50.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.5354, allocations: 249 kB / 460.7 MB, free: 49.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5354, allocations: 0 / 460.7 MB, free: 49.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007766/0.5362, allocations: 192 kB / 460.9 MB, free: 49.93 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.0001603/0.5364, allocations: 145.6 kB / 461.1 MB, free: 49.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.5377, allocations: 0.8408 MB / 461.9 MB, free: 49.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5377, allocations: 0 / 461.9 MB, free: 49.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006811/0.5384, allocations: 497.8 kB / 462.4 MB, free: 49.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.5396, allocations: 127.7 kB / 462.5 MB, free: 49.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/0.5427, allocations: 2.496 MB / 465 MB, free: 47.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.5431, allocations: 0.9478 MB / 466 MB, free: 46.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003911/0.5435, allocations: 100.8 kB / 466.1 MB, free: 46.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.5437, allocations: 66.45 kB / 466.1 MB, free: 46.94 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5437, allocations: 0 / 466.1 MB, free: 46.94 MB / 382.1 MB Notification: Performance of Templates: time 0.01145/0.5552, allocations: 6.751 MB / 472.9 MB, free: 46.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe 2>&1)