Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.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.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001558/0.001558, allocations: 177.3 kB / 15.95 MB, free: 216 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.552/1.552, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3421/0.3421, 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.0005203/0.0005204, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1064, allocations: 57.96 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.2084/0.3149, allocations: 40.2 MB / 477 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.3318, allocations: 10.08 MB / 487 MB, free: 23.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00595/0.3378, allocations: 209.2 kB / 487.3 MB, free: 23.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005284/0.3431, allocations: 2.099 MB / 489.3 MB, free: 22.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01657/0.3597, allocations: 5.858 MB / 495.2 MB, free: 19.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.363, allocations: 0.7111 MB / 495.9 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004648/0.3676, allocations: 2.326 MB / 498.2 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005986/0.3736, allocations: 3.909 MB / 0.4904 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.3779, allocations: 1.278 MB / 0.4916 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003387/0.3813, allocations: 1.442 MB / 0.493 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.3826, allocations: 147.7 kB / 0.4932 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.3855, allocations: 0.8778 MB / 0.494 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003127/0.3887, allocations: 1.626 MB / 0.4956 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001919/0.3906, allocations: 0.8715 MB / 0.4965 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.4009, allocations: 5.433 MB / 0.5018 GB, free: 13.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.4009, allocations: 4 kB / 0.5018 GB, free: 13.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.401, allocations: 0 / 0.5018 GB, free: 13.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003349/0.4013, allocations: 0 / 0.5018 GB, free: 13.04 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: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01865/0.42, allocations: 4.683 MB / 0.5064 GB, free: 9.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.42, allocations: 13.42 kB / 0.5064 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.4352, allocations: 2.205 MB / 0.5085 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.4459, allocations: 2.716 MB / 0.5112 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004009/0.4464, allocations: 240.4 kB / 0.5114 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002537/0.4489, allocations: 321.3 kB / 0.5117 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03591/0.4849, allocations: 11.34 MB / 0.5228 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/0.4851, allocations: 47.59 kB / 0.5228 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/0.4865, allocations: 151.8 kB / 0.523 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005037/0.4916, allocations: 2.298 MB / 0.5252 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/0.5139, allocations: 10.02 MB / 0.535 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06108/0.5751, allocations: 44.42 MB / 0.5784 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/0.5897, allocations: 5.988 MB / 0.5842 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01618/0.6059, allocations: 9.392 MB / 0.5934 GB, free: 4.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01026/0.6162, allocations: 3.505 MB / 0.5968 GB, free: 1.012 MB / 462.1 MB Notification: Performance of pre-optimization done (n=211): time 6.232e-06/0.6163, allocations: 0 / 0.5968 GB, free: 1.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=282): time 0.3182/0.9345, allocations: 33.83 MB / 0.6299 GB, free: 145.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.9346, allocations: 156.5 kB / 0.63 GB, free: 145.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006311/0.9409, allocations: 4.328 MB / 0.6343 GB, free: 145.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007797/0.9417, allocations: 72.8 kB / 0.6343 GB, free: 145.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002516/0.9442, allocations: 3.243 MB / 0.6375 GB, free: 143.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/0.9455, allocations: 1.042 MB / 0.6385 GB, free: 143.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/0.9459, allocations: 133.6 kB / 0.6386 GB, free: 143.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002715/0.9462, allocations: 0.5829 MB / 0.6392 GB, free: 143 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003964/0.9502, allocations: 3.262 MB / 0.6424 GB, free: 142 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005467/0.9556, allocations: 6.828 MB / 0.6491 GB, free: 136.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007225/0.9629, allocations: 4.633 MB / 0.6536 GB, free: 134.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/0.963, allocations: 37.06 kB / 0.6536 GB, free: 134.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02765/0.9907, allocations: 12.35 MB / 0.6657 GB, free: 129.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-05/0.9908, allocations: 59.38 kB / 0.6657 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001752/0.991, allocations: 127.2 kB / 0.6659 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007696/0.9987, allocations: 2.649 MB / 0.6684 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006209/1.005, allocations: 1.463 MB / 0.6699 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02741/1.032, allocations: 22.33 MB / 0.6917 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008306/1.041, allocations: 439.2 kB / 0.6921 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/1.043, allocations: 391 kB / 0.6925 GB, free: 117.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.006185/1.049, allocations: 2.229 MB / 0.6946 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.05, allocations: 409.5 kB / 0.695 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/1.063, allocations: 7.8 MB / 0.7026 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-05/1.063, allocations: 28 kB / 0.7027 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/1.063, allocations: 8 kB / 0.7027 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.111e-05/1.063, allocations: 19.48 kB / 0.7027 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02314/1.086, allocations: 14.46 MB / 0.7168 GB, free: 95.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.086, allocations: 4 kB / 0.7168 GB, free: 95.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/1.088, allocations: 379.4 kB / 0.7172 GB, free: 95.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005569/1.094, allocations: 2.419 MB / 0.7196 GB, free: 93.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005166/1.094, allocations: 51.98 kB / 0.7196 GB, free: 93.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02327/1.117, allocations: 22.13 MB / 0.7412 GB, free: 70.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.117, allocations: 4.094 kB / 0.7412 GB, free: 70.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0127/1.13, allocations: 8.177 MB / 0.7492 GB, free: 62.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002877/1.133, allocations: 0.9876 MB / 0.7502 GB, free: 61.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007009/1.134, allocations: 44 kB / 0.7502 GB, free: 61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.136, allocations: 216.6 kB / 0.7504 GB, free: 60.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006003/1.137, allocations: 197.4 kB / 0.7506 GB, free: 60.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/1.137, allocations: 71.98 kB / 0.7507 GB, free: 60.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003567/1.14, allocations: 2.717 MB / 0.7533 GB, free: 57.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/1.14, allocations: 0 / 0.7533 GB, free: 57.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006679/1.147, allocations: 1.374 MB / 0.7547 GB, free: 56.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 176 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.001328/1.148, allocations: 0.5224 MB / 0.7552 GB, free: 56.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01262/1.161, allocations: 8.618 MB / 0.7636 GB, free: 47.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.161, allocations: 0 / 0.7636 GB, free: 47.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00526/1.166, allocations: 3.933 MB / 0.7674 GB, free: 43.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/1.169, allocations: 431 kB / 0.7678 GB, free: 42.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/1.192, allocations: 13.58 MB / 0.7811 GB, free: 29.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003243/1.195, allocations: 3.671 MB / 0.7847 GB, free: 25.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005037/1.2, allocations: 2.121 MB / 0.7868 GB, free: 23.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009633/1.201, allocations: 267.4 kB / 0.787 GB, free: 23.24 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/1.201, allocations: 8 kB / 0.787 GB, free: 23.23 MB / 494.1 MB Notification: Performance of Templates: time 0.3335/1.535, allocations: 60.26 MB / 0.8459 GB, free: 124.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) Environment - environmentSimulation: