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.0009117/0.0009119, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009428/0.0009429, allocations: 172.7 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.674/1.674, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.4149/0.4149, allocations: 40 MB / 310.4 MB, free: 9.598 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.0007281/0.0007281, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1481, allocations: 57.96 MB / 436.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.3342/0.4824, allocations: 42.55 MB / 479.3 MB, free: 28.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02758/0.5101, allocations: 9.713 MB / 489.1 MB, free: 22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01161/0.5217, allocations: 208.4 kB / 489.3 MB, free: 21.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008277/0.5301, allocations: 2.314 MB / 491.6 MB, free: 21.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02001/0.5501, allocations: 6.591 MB / 498.2 MB, free: 18.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00391/0.5541, allocations: 0.7182 MB / 498.9 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008059/0.5621, allocations: 4.708 MB / 0.4918 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008299/0.5705, allocations: 3.925 MB / 0.4956 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005975/0.5765, allocations: 1.526 MB / 0.4971 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006155/0.5828, allocations: 2.044 MB / 0.4991 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.5841, allocations: 151 kB / 0.4993 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.5883, allocations: 0.9095 MB / 0.5001 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003116/0.5914, allocations: 1.744 MB / 0.5018 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.5936, allocations: 0.8741 MB / 0.5027 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008466/0.6021, allocations: 5.42 MB / 0.508 GB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.6021, allocations: 1.375 kB / 0.508 GB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6021, allocations: 0 / 0.508 GB, free: 9.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003371/0.6025, allocations: 0 / 0.508 GB, free: 9.535 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.01427/0.6168, allocations: 4.485 MB / 0.5124 GB, free: 6.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6168, allocations: 8.938 kB / 0.5124 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007609/0.6245, allocations: 1.914 MB / 0.5143 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007279/0.6318, allocations: 2.494 MB / 0.5167 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.632, allocations: 239.4 kB / 0.5169 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.633, allocations: 316.5 kB / 0.5172 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02353/0.6565, allocations: 11.18 MB / 0.5281 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.6567, allocations: 51.58 kB / 0.5282 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005748/0.6573, allocations: 159.8 kB / 0.5283 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003921/0.6613, allocations: 2.298 MB / 0.5306 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02168/0.683, allocations: 9.846 MB / 0.5402 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06388/0.7469, allocations: 44.29 MB / 0.5835 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/0.7608, allocations: 5.848 MB / 0.5892 GB, free: 9.727 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004861/0.7657, allocations: 3.222 MB / 0.5923 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01716/0.7829, allocations: 9.337 MB / 0.6014 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01078/0.7938, allocations: 3.369 MB / 0.6047 GB, free: 9.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 7.343e-06/0.7938, allocations: 0 / 0.6047 GB, free: 9.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.3873/1.181, allocations: 32.71 MB / 0.6367 GB, free: 145.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.181, allocations: 163.3 kB / 0.6368 GB, free: 145.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007924/1.189, allocations: 4.173 MB / 0.6409 GB, free: 144.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009684/1.19, allocations: 71.45 kB / 0.641 GB, free: 144.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00288/1.193, allocations: 3.25 MB / 0.6441 GB, free: 142 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00155/1.195, allocations: 1.039 MB / 0.6452 GB, free: 141.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/1.195, allocations: 128.6 kB / 0.6453 GB, free: 141.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003182/1.195, allocations: 0.5802 MB / 0.6458 GB, free: 140.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004728/1.2, allocations: 3.273 MB / 0.649 GB, free: 139.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007193/1.207, allocations: 6.87 MB / 0.6558 GB, free: 133.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007341/1.215, allocations: 4.65 MB / 0.6603 GB, free: 131.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/1.215, allocations: 33.44 kB / 0.6603 GB, free: 131.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.03622/1.251, allocations: 12.37 MB / 0.6724 GB, free: 127.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003237/1.251, allocations: 58.47 kB / 0.6725 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005639/1.252, allocations: 129.8 kB / 0.6726 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009907/1.262, allocations: 2.648 MB / 0.6752 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006969/1.269, allocations: 1.465 MB / 0.6766 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02873/1.298, allocations: 21.65 MB / 0.6977 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/1.308, allocations: 429.9 kB / 0.6981 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003043/1.311, allocations: 394 kB / 0.6985 GB, free: 113.5 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 (761): * Single equations (assignments): 754 * 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.00945/1.321, allocations: 2.233 MB / 0.7007 GB, free: 111.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002112/1.323, allocations: 398.8 kB / 0.7011 GB, free: 111.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/1.339, allocations: 7.804 MB / 0.7087 GB, free: 104.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.419e-05/1.339, allocations: 28 kB / 0.7087 GB, free: 104.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-05/1.339, allocations: 8 kB / 0.7087 GB, free: 104.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.453e-05/1.34, allocations: 15.16 kB / 0.7088 GB, free: 104.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03348/1.373, allocations: 14.45 MB / 0.7229 GB, free: 90.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.002e-05/1.373, allocations: 4 kB / 0.7229 GB, free: 90.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/1.375, allocations: 383.4 kB / 0.7232 GB, free: 90.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005769/1.381, allocations: 2.415 MB / 0.7256 GB, free: 88.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000856/1.382, allocations: 51.98 kB / 0.7256 GB, free: 88.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02376/1.406, allocations: 21.44 MB / 0.7466 GB, free: 66.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.406, allocations: 10.05 kB / 0.7466 GB, free: 66.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/1.421, allocations: 7.917 MB / 0.7543 GB, free: 58.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003629/1.425, allocations: 0.9759 MB / 0.7553 GB, free: 57.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002255/1.427, allocations: 59.55 kB / 0.7553 GB, free: 57.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/1.431, allocations: 215.7 kB / 0.7555 GB, free: 56.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/1.432, allocations: 185.4 kB / 0.7557 GB, free: 56.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008274/1.433, allocations: 72 kB / 0.7558 GB, free: 56.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006946/1.44, allocations: 2.618 MB / 0.7583 GB, free: 53.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.44, allocations: 0 / 0.7583 GB, free: 53.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01147/1.451, allocations: 1.352 MB / 0.7597 GB, free: 52.62 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.002043/1.454, allocations: 0.4936 MB / 0.7601 GB, free: 52.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01715/1.471, allocations: 8.638 MB / 0.7686 GB, free: 43.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.471, allocations: 4 kB / 0.7686 GB, free: 43.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006774/1.478, allocations: 3.931 MB / 0.7724 GB, free: 39.58 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006394/1.484, allocations: 476 kB / 0.7729 GB, free: 39.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/1.513, allocations: 13.61 MB / 0.7862 GB, free: 25.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00486/1.518, allocations: 3.592 MB / 0.7897 GB, free: 21.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005787/1.524, allocations: 2.109 MB / 0.7917 GB, free: 19.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/1.525, allocations: 271.4 kB / 0.792 GB, free: 19.45 MB / 494.1 MB Notification: Performance of SimCode: time 1.843e-06/1.525, allocations: 0 / 0.792 GB, free: 19.45 MB / 494.1 MB Notification: Performance of Templates: time 0.3892/1.914, allocations: 59.69 MB / 0.8503 GB, free: 124.7 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: