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.001065/0.001065, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001003/0.001003, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.4441/0.4441, allocations: 40 MB / 310.4 MB, free: 9.629 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.0005978/0.0005981, allocations: 12 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1512, allocations: 57.95 MB / 436.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00386/0.1551, allocations: 3.301 MB / 440.1 MB, free: 15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1568, allocations: 1.1 MB / 441.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.157, allocations: 19.88 kB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1571, allocations: 67.45 kB / 441.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.1575, allocations: 231.3 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.1579, allocations: 143.7 kB / 441.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.1585, allocations: 0.5307 MB / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.1588, allocations: 186.8 kB / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.1591, allocations: 259 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.1594, allocations: 282.8 kB / 442.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.1595, allocations: 32 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1596, allocations: 55.92 kB / 442.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1597, allocations: 107.6 kB / 443 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1598, allocations: 149.3 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.1604, allocations: 0.5338 MB / 443.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1604, allocations: 0 / 443.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1604, allocations: 0 / 443.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1604, allocations: 0 / 443.7 MB, free: 11.31 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.001721/0.1621, allocations: 0.9312 MB / 444.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1622, allocations: 8.031 kB / 444.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.1623, allocations: 79.06 kB / 444.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.1628, allocations: 372.8 kB / 445.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.1628, allocations: 49.3 kB / 445.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.1629, allocations: 71.89 kB / 445.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.164, allocations: 0.6265 MB / 445.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.1641, allocations: 7.906 kB / 445.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.1641, allocations: 28 kB / 445.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1641, allocations: 15.95 kB / 445.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1653, allocations: 0.5645 MB / 446.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.1684, allocations: 2.18 MB / 448.6 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.1697, allocations: 0.7149 MB / 449.4 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.1698, allocations: 93.84 kB / 449.4 MB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1699, allocations: 58.92 kB / 449.5 MB, free: 5.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.345e-06/0.1699, allocations: 0 / 449.5 MB, free: 5.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.008356/0.1783, allocations: 4.608 MB / 454.1 MB, free: 248 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.279/0.4573, allocations: 219.6 kB / 454.3 MB, free: 48.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.4579, allocations: 358.9 kB / 454.7 MB, free: 48.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.4581, allocations: 43.27 kB / 454.7 MB, free: 48.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.4583, allocations: 270.3 kB / 455 MB, free: 48.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.4586, allocations: 404 kB / 455.4 MB, free: 47.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.4586, allocations: 20.94 kB / 455.4 MB, free: 47.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4588, allocations: 384.6 kB / 455.8 MB, free: 47.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.4594, allocations: 338.5 kB / 456.1 MB, free: 47.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.4601, allocations: 0.5157 MB / 456.6 MB, free: 47.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.4608, allocations: 400.3 kB / 457 MB, free: 47.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4608, allocations: 0 / 457 MB, free: 47.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001652/0.4625, allocations: 1.04 MB / 458.1 MB, free: 47.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.4625, allocations: 5.75 kB / 458.1 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4625, allocations: 5.891 kB / 458.1 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.4626, allocations: 10.16 kB / 458.1 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.4636, allocations: 295.2 kB / 458.4 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.4636, allocations: 12.8 kB / 458.4 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.4641, allocations: 59.69 kB / 458.4 MB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.4641, allocations: 43.45 kB / 458.5 MB, free: 47.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002702/0.4644, allocations: 227 kB / 458.7 MB, free: 47.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.4646, allocations: 80.27 kB / 458.8 MB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.465, allocations: 223.5 kB / 459 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.465, allocations: 19.17 kB / 459 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.4651, allocations: 3.094 kB / 459 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.4651, allocations: 4.359 kB / 459 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/0.4685, allocations: 2.385 MB / 461.4 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4685, allocations: 3.375 kB / 461.4 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/0.4695, allocations: 256.8 kB / 461.7 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.4695, allocations: 13.86 kB / 461.7 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.4695, allocations: 29.61 kB / 461.7 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/0.4696, allocations: 18.94 kB / 461.7 MB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4696, allocations: 4.5 kB / 461.7 MB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.4719, allocations: 2.116 MB / 463.8 MB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.4721, allocations: 204.2 kB / 464 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.4722, allocations: 25.69 kB / 464.1 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.4728, allocations: 54.14 kB / 464.1 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4729, allocations: 82.45 kB / 464.2 MB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.473, allocations: 36.58 kB / 464.2 MB, free: 45.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.4732, allocations: 247.5 kB / 464.5 MB, free: 44.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.4732, allocations: 3.844 kB / 464.5 MB, free: 44.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008488/0.4741, allocations: 196.7 kB / 464.7 MB, free: 44.95 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 (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.0001748/0.4742, allocations: 146.5 kB / 464.8 MB, free: 44.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.4757, allocations: 0.8628 MB / 465.7 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4757, allocations: 3.281 kB / 465.7 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007309/0.4764, allocations: 0.5029 MB / 466.2 MB, free: 44.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/0.4773, allocations: 103.1 kB / 466.3 MB, free: 44.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.4803, allocations: 2.65 MB / 468.9 MB, free: 42.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.4807, allocations: 0.9675 MB / 469.9 MB, free: 41.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003888/0.4811, allocations: 100.1 kB / 470 MB, free: 41.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.4812, allocations: 59.8 kB / 470.1 MB, free: 41.89 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4812, allocations: 0 / 470.1 MB, free: 41.89 MB / 382.1 MB Notification: Performance of Templates: time 0.01083/0.4921, allocations: 6.42 MB / 476.5 MB, free: 41.47 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: