Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.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.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001617/0.001617, allocations: 190.2 kB / 16.25 MB, free: 6.629 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.792/1.792, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.3845/0.3845, allocations: 39.93 MB / 309.4 MB, free: 9.34 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.001484/0.001484, allocations: 71.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1484, allocations: 56.88 MB / 434 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.00406/0.1525, allocations: 2.425 MB / 436.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1545, allocations: 0.9795 MB / 437.4 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.1547, allocations: 11.88 kB / 437.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.1552, allocations: 103.4 kB / 437.5 MB, free: 496 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1554, allocations: 91.5 kB / 437.6 MB, free: 404 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.156, allocations: 255.6 kB / 437.8 MB, free: 148 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000774/0.1568, allocations: 0.7173 MB / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.157, allocations: 69.33 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.1574, allocations: 310.9 kB / 438.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.1578, allocations: 334.7 kB / 439.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.943e-05/0.158, allocations: 60 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.158, allocations: 60 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.1583, allocations: 199.5 kB / 439.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.1585, allocations: 254.7 kB / 439.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006316/0.1592, allocations: 0.5451 MB / 440.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1592, allocations: 4 kB / 440.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1592, allocations: 0 / 440.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1592, allocations: 0 / 440.4 MB, free: 13.61 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002348/0.1616, allocations: 0.9353 MB / 441.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.1616, allocations: 11.89 kB / 441.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.1618, allocations: 60.38 kB / 441.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.1623, allocations: 383.1 kB / 441.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003911/0.1627, allocations: 263.7 kB / 442 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.1628, allocations: 47.92 kB / 442.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.1648, allocations: 0.8124 MB / 442.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1648, allocations: 0 / 442.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.1648, allocations: 16 kB / 442.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1649, allocations: 12 kB / 442.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/0.1682, allocations: 1.2 MB / 444.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.1713, allocations: 2.043 MB / 446.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.1741, allocations: 0.8324 MB / 447 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.1755, allocations: 498.3 kB / 447.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.479e-05/0.1756, allocations: 11.98 kB / 447.5 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1756, allocations: 34.56 kB / 447.5 MB, free: 6.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 3.096e-06/0.1756, allocations: 4 kB / 447.5 MB, free: 6.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.3813/0.5569, allocations: 15.75 MB / 463.3 MB, free: 50.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.557, allocations: 91.14 kB / 463.3 MB, free: 50.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.5575, allocations: 389.7 kB / 463.7 MB, free: 50.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.5577, allocations: 45.02 kB / 463.8 MB, free: 50.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.5578, allocations: 217.6 kB / 464 MB, free: 50.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/0.5581, allocations: 399.2 kB / 464.4 MB, free: 49.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005134/0.5586, allocations: 192.7 kB / 464.6 MB, free: 49.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.5587, allocations: 376.7 kB / 464.9 MB, free: 49.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003017/0.5618, allocations: 1.343 MB / 466.3 MB, free: 48.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/0.5648, allocations: 1.498 MB / 467.8 MB, free: 48.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005626/0.5704, allocations: 2.436 MB / 470.2 MB, free: 47.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5705, allocations: 2.906 kB / 470.2 MB, free: 47.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006729/0.5772, allocations: 2.834 MB / 473 MB, free: 46.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.5773, allocations: 6.469 kB / 473 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.5773, allocations: 7.125 kB / 473.1 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.896e-05/0.5773, allocations: 13.34 kB / 473.1 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/0.5798, allocations: 409.2 kB / 473.5 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/0.5799, allocations: 13.31 kB / 473.5 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.5817, allocations: 221.3 kB / 473.7 MB, free: 46.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.5819, allocations: 35.38 kB / 473.7 MB, free: 46.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 148 * 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.0004525/0.5823, allocations: 237.6 kB / 474 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.5825, allocations: 59.69 kB / 474 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.5828, allocations: 113.6 kB / 474.1 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.5828, allocations: 13.53 kB / 474.1 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/0.5828, allocations: 3.219 kB / 474.1 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5828, allocations: 11.44 kB / 474.2 MB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009923/0.5928, allocations: 5.217 MB / 479.4 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/0.5928, allocations: 21.47 kB / 479.4 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.5942, allocations: 360.3 kB / 479.8 MB, free: 43.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.007e-05/0.5943, allocations: 32.78 kB / 479.8 MB, free: 43.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.5944, allocations: 46.56 kB / 479.8 MB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-05/0.5944, allocations: 40.28 kB / 479.9 MB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.728e-05/0.5944, allocations: 32.34 kB / 479.9 MB, free: 43.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006987/0.6014, allocations: 3.087 MB / 483 MB, free: 41.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.602, allocations: 237.8 kB / 483.2 MB, free: 41.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.6022, allocations: 53.2 kB / 483.3 MB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.6035, allocations: 196.7 kB / 483.5 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004336/0.6039, allocations: 221.6 kB / 483.7 MB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6041, allocations: 51.94 kB / 483.7 MB, free: 41.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003293/0.6044, allocations: 267 kB / 484 MB, free: 41.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6044, allocations: 0 / 484 MB, free: 41.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001379/0.6058, allocations: 233.2 kB / 484.2 MB, free: 41.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0002462/0.606, allocations: 169.8 kB / 484.4 MB, free: 40.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006212/0.6123, allocations: 2.406 MB / 486.8 MB, free: 40.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-05/0.6123, allocations: 3.406 kB / 486.8 MB, free: 40.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003368/0.6157, allocations: 1.064 MB / 487.9 MB, free: 39.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.6172, allocations: 153.5 kB / 488 MB, free: 39.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.6211, allocations: 2.211 MB / 490.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.6215, allocations: 0.9263 MB / 491.1 MB, free: 37.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001347/0.6229, allocations: 196.9 kB / 491.3 MB, free: 37.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005571/0.6235, allocations: 71.47 kB / 491.4 MB, free: 37.15 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6235, allocations: 0 / 491.4 MB, free: 37.15 MB / 382.1 MB Notification: Performance of Templates: time 0.03671/0.6602, allocations: 16.02 MB / 0.4955 GB, free: 31.19 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1)