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.001178/0.001178, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001884/0.001884, allocations: 168.7 kB / 15.95 MB, free: 200 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.831/1.831, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.4255/0.4255, allocations: 40.01 MB / 310.4 MB, free: 9.828 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.0006511/0.0006512, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1538, allocations: 57.95 MB / 436.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003597/0.1575, allocations: 1.99 MB / 438.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1595, allocations: 0.9411 MB / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004016/0.1599, allocations: 7.938 kB / 439.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004782/0.1604, allocations: 95.48 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.1609, allocations: 75.53 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1619, allocations: 223.7 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009783/0.1629, allocations: 0.6198 MB / 440.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.1632, allocations: 65.2 kB / 440.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005796/0.1638, allocations: 270.8 kB / 441.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.1643, allocations: 298.9 kB / 441.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.1646, allocations: 28 kB / 441.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1647, allocations: 35.94 kB / 441.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.1649, allocations: 151.5 kB / 441.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.1651, allocations: 97.45 kB / 441.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.1656, allocations: 379.3 kB / 442 MB, free: 13.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.1657, allocations: 0 / 442 MB, free: 13.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1657, allocations: 0 / 442 MB, free: 13.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.276e-05/0.1657, allocations: 0 / 442 MB, free: 13.3 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.002585/0.1683, allocations: 0.9353 MB / 443 MB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.1684, allocations: 12.03 kB / 443 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.1687, allocations: 63.44 kB / 443 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.1695, allocations: 358 kB / 443.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/0.1699, allocations: 271.1 kB / 443.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.1701, allocations: 51.94 kB / 443.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.1723, allocations: 0.8633 MB / 444.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.1723, allocations: 7.891 kB / 444.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/0.1724, allocations: 16 kB / 444.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.1724, allocations: 12 kB / 444.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003417/0.1759, allocations: 1.321 MB / 445.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.179, allocations: 2.066 MB / 448 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.1819, allocations: 0.9144 MB / 448.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.1833, allocations: 0.5492 MB / 449.4 MB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.505e-05/0.1834, allocations: 15.94 kB / 449.5 MB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.1835, allocations: 38.56 kB / 449.5 MB, free: 5.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.325e-06/0.1835, allocations: 0 / 449.5 MB, free: 5.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.3872/0.5707, allocations: 18.22 MB / 467.7 MB, free: 48.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.5709, allocations: 92.05 kB / 467.8 MB, free: 48.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.5714, allocations: 381.8 kB / 468.2 MB, free: 48.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.5715, allocations: 44.58 kB / 468.2 MB, free: 48.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.5716, allocations: 223.2 kB / 468.4 MB, free: 48.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003869/0.572, allocations: 395.6 kB / 468.8 MB, free: 47.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.5722, allocations: 29.91 kB / 468.9 MB, free: 47.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5723, allocations: 372.8 kB / 469.2 MB, free: 47.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003227/0.5755, allocations: 1.455 MB / 470.7 MB, free: 46.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003385/0.5789, allocations: 1.603 MB / 472.3 MB, free: 46.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.582, allocations: 1.301 MB / 473.6 MB, free: 45.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5821, allocations: 0 / 473.6 MB, free: 45.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006947/0.589, allocations: 3.052 MB / 476.6 MB, free: 44.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.5891, allocations: 6.094 kB / 476.6 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.5891, allocations: 3.156 kB / 476.6 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.193e-05/0.5891, allocations: 9.031 kB / 476.7 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.5916, allocations: 469.2 kB / 477.1 MB, free: 44.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/0.5917, allocations: 14.69 kB / 477.1 MB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.5934, allocations: 280 kB / 477.4 MB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.5936, allocations: 45.34 kB / 477.4 MB, free: 44.6 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.moving[1],kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.noWphase,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005018/0.5941, allocations: 237.5 kB / 477.7 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.5943, allocations: 69.17 kB / 477.7 MB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.5946, allocations: 105.7 kB / 477.8 MB, free: 44.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.5947, allocations: 12.53 kB / 477.9 MB, free: 44.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-05/0.5947, allocations: 0 / 477.9 MB, free: 44.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.5947, allocations: 6.797 kB / 477.9 MB, free: 44.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.6066, allocations: 5.542 MB / 483.4 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.458e-05/0.6067, allocations: 22.3 kB / 483.4 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.6083, allocations: 416.8 kB / 483.8 MB, free: 41.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.809e-05/0.6084, allocations: 30.59 kB / 483.9 MB, free: 41.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.6085, allocations: 42.5 kB / 483.9 MB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.063e-05/0.6086, allocations: 38.73 kB / 483.9 MB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.803e-05/0.6086, allocations: 40.66 kB / 484 MB, free: 41.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007762/0.6164, allocations: 3.423 MB / 487.4 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005277/0.617, allocations: 239.2 kB / 487.6 MB, free: 39.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.6172, allocations: 51.3 kB / 487.7 MB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.6186, allocations: 253 kB / 487.9 MB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005582/0.6192, allocations: 229.3 kB / 488.2 MB, free: 39.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.6193, allocations: 57.36 kB / 488.2 MB, free: 39.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003589/0.6197, allocations: 264.9 kB / 488.5 MB, free: 39.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6197, allocations: 0 / 488.5 MB, free: 39.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001355/0.6211, allocations: 233.2 kB / 488.7 MB, free: 39.42 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 (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.0002793/0.6213, allocations: 165.7 kB / 488.9 MB, free: 39.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006798/0.6281, allocations: 2.565 MB / 491.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.302e-05/0.6282, allocations: 2.5 kB / 491.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003704/0.6319, allocations: 1.171 MB / 492.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.6338, allocations: 151.4 kB / 492.8 MB, free: 38.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.6387, allocations: 2.163 MB / 494.9 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.6394, allocations: 0.9224 MB / 495.8 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001712/0.6412, allocations: 201.1 kB / 496 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.6418, allocations: 69.28 kB / 496.1 MB, free: 35.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6418, allocations: 0 / 496.1 MB, free: 35.54 MB / 382.1 MB Notification: Performance of Templates: time 0.03043/0.6723, allocations: 14.66 MB / 0.4988 GB, free: 27.6 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: