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.001113/0.001113, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008988/0.008989, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.543/1.543, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.3224/0.3224, allocations: 38.03 MB / 308.8 MB, free: 10.33 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.0005591/0.0005592, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1205, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004236/0.1247, allocations: 3.711 MB / 438.3 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1272, allocations: 1.091 MB / 439.4 MB, free: 392 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.1277, allocations: 15.94 kB / 439.4 MB, free: 376 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.1281, allocations: 79.33 kB / 439.5 MB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006451/0.1287, allocations: 174.5 kB / 439.6 MB, free: 120 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000697/0.1294, allocations: 159.9 kB / 439.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.1306, allocations: 0.7432 MB / 440.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.1311, allocations: 211 kB / 440.7 MB, free: 15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005986/0.1317, allocations: 258.9 kB / 441 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.1323, allocations: 306.5 kB / 441.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.853e-05/0.1323, allocations: 32 kB / 441.3 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.1325, allocations: 59.98 kB / 441.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1327, allocations: 115.5 kB / 441.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.133, allocations: 336 kB / 441.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.1336, allocations: 0.712 MB / 442.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1337, allocations: 4 kB / 442.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1337, allocations: 3.984 kB / 442.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.1337, allocations: 0 / 442.5 MB, free: 13.19 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.001603/0.1353, allocations: 0.9042 MB / 443.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1353, allocations: 8.031 kB / 443.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1355, allocations: 76.09 kB / 443.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.1359, allocations: 405.7 kB / 443.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.136, allocations: 41.69 kB / 444 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/0.1361, allocations: 68.28 kB / 444 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.1372, allocations: 0.6424 MB / 444.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.1373, allocations: 7.906 kB / 444.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.1373, allocations: 24 kB / 444.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.1373, allocations: 16 kB / 444.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1385, allocations: 0.5723 MB / 445.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.1414, allocations: 2.176 MB / 447.5 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.1426, allocations: 0.7187 MB / 448.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006271/0.1432, allocations: 363.1 kB / 448.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.1434, allocations: 105.8 kB / 448.6 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.1435, allocations: 50.94 kB / 448.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.395e-06/0.1435, allocations: 0 / 448.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.00802/0.1515, allocations: 4.632 MB / 453.3 MB, free: 1.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.1516, allocations: 218.2 kB / 453.5 MB, free: 1.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.152, allocations: 362 kB / 453.9 MB, free: 1.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.1521, allocations: 49.7 kB / 453.9 MB, free: 1.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1523, allocations: 261 kB / 454.2 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.1526, allocations: 414 kB / 454.6 MB, free: 368 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1527, allocations: 93.66 kB / 454.7 MB, free: 268 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.1908/0.3435, allocations: 374.8 kB / 455 MB, free: 49.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009362/0.3444, allocations: 344.6 kB / 455.4 MB, free: 49.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.3451, allocations: 0.5175 MB / 455.9 MB, free: 49.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.3464, allocations: 0.9127 MB / 456.8 MB, free: 49.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3465, allocations: 0 / 456.8 MB, free: 49.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001692/0.3482, allocations: 1.036 MB / 457.9 MB, free: 49.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.3482, allocations: 14.16 kB / 457.9 MB, free: 49.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.3482, allocations: 6.5 kB / 457.9 MB, free: 49.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.3483, allocations: 10.03 kB / 457.9 MB, free: 49.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/0.3492, allocations: 293.4 kB / 458.2 MB, free: 49.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.3492, allocations: 16.33 kB / 458.2 MB, free: 49.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.3497, allocations: 61.55 kB / 458.2 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/0.3498, allocations: 42.77 kB / 458.3 MB, free: 49.38 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.0003145/0.3501, allocations: 230.4 kB / 458.5 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.3503, allocations: 70.38 kB / 458.6 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.3508, allocations: 231.9 kB / 458.8 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3508, allocations: 12.66 kB / 458.8 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.3508, allocations: 3.219 kB / 458.8 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.3508, allocations: 12.55 kB / 458.8 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.3539, allocations: 2.383 MB / 461.2 MB, free: 48.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3539, allocations: 3.25 kB / 461.2 MB, free: 48.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009343/0.3549, allocations: 259 kB / 461.5 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.3549, allocations: 9.781 kB / 461.5 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.3549, allocations: 29.47 kB / 461.5 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.3549, allocations: 14.25 kB / 461.5 MB, free: 48.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.355, allocations: 6.5 kB / 461.5 MB, free: 48.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.3573, allocations: 1.953 MB / 463.5 MB, free: 47.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.3575, allocations: 200.6 kB / 463.7 MB, free: 47.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.3576, allocations: 25.22 kB / 463.7 MB, free: 47.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.3582, allocations: 54.2 kB / 463.8 MB, free: 47.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3584, allocations: 89.42 kB / 463.8 MB, free: 47.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.3584, allocations: 33.78 kB / 463.9 MB, free: 47.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.3587, allocations: 250.6 kB / 464.1 MB, free: 47.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3587, allocations: 0 / 464.1 MB, free: 47.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007676/0.3594, allocations: 199.5 kB / 464.3 MB, free: 47.46 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.0001627/0.3596, allocations: 143.4 kB / 464.5 MB, free: 47.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.361, allocations: 0.8856 MB / 465.3 MB, free: 47.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.361, allocations: 0 / 465.3 MB, free: 47.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007098/0.3617, allocations: 0.5058 MB / 465.8 MB, free: 47.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.363, allocations: 125 kB / 466 MB, free: 46.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.3659, allocations: 2.726 MB / 468.7 MB, free: 45.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3663, allocations: 0.9403 MB / 469.6 MB, free: 44.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003782/0.3666, allocations: 101.7 kB / 469.7 MB, free: 44.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.3668, allocations: 66.33 kB / 469.8 MB, free: 44.38 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3668, allocations: 4 kB / 469.8 MB, free: 44.37 MB / 382.1 MB Notification: Performance of Templates: time 0.01005/0.3769, allocations: 6.665 MB / 476.5 MB, free: 43.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: