Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008252/0.0008256, allocations: 98.03 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.006692/0.006692, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.463/1.463, 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.372/0.372, allocations: 38.03 MB / 308.8 MB, free: 10.31 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.0005671/0.0005671, allocations: 20.66 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1342, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.2465/0.3807, allocations: 45.72 MB / 480.3 MB, free: 27.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02123/0.402, allocations: 10.19 MB / 490.5 MB, free: 21.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009677/0.4117, allocations: 215.5 kB / 490.7 MB, free: 21.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.4138, allocations: 0.5807 MB / 491.3 MB, free: 21.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.4188, allocations: 1.842 MB / 493.1 MB, free: 20.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.4211, allocations: 0.7807 MB / 493.9 MB, free: 20.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007361/0.4285, allocations: 5.904 MB / 499.8 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006503/0.435, allocations: 4.28 MB / 0.4923 GB, free: 16.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.4383, allocations: 1.428 MB / 0.4937 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004288/0.4426, allocations: 2.08 MB / 0.4957 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.4437, allocations: 147 kB / 0.4958 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.4471, allocations: 1.085 MB / 0.4969 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003274/0.4504, allocations: 1.796 MB / 0.4986 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004574/0.4549, allocations: 2.106 MB / 0.5007 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.4658, allocations: 6.669 MB / 0.5072 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4659, allocations: 1.219 kB / 0.5072 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.4659, allocations: 0 / 0.5072 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003792/0.4663, allocations: 0 / 0.5072 GB, free: 11.08 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.01133/0.4776, allocations: 4.42 MB / 0.5115 GB, free: 7.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4777, allocations: 9.125 kB / 0.5115 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007115/0.4848, allocations: 1.925 MB / 0.5134 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005286/0.4901, allocations: 2.553 MB / 0.5159 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.4903, allocations: 237.3 kB / 0.5161 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007471/0.4911, allocations: 317.3 kB / 0.5164 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/0.5126, allocations: 11.22 MB / 0.5274 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00024/0.5129, allocations: 43.53 kB / 0.5274 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/0.5143, allocations: 155.8 kB / 0.5276 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004691/0.519, allocations: 2.291 MB / 0.5298 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/0.5411, allocations: 9.893 MB / 0.5395 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06604/0.6071, allocations: 44.31 MB / 0.5828 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/0.6222, allocations: 5.852 MB / 0.5885 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004507/0.6267, allocations: 3.233 MB / 0.5916 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/0.6428, allocations: 9.336 MB / 0.6007 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01074/0.6536, allocations: 3.376 MB / 0.604 GB, free: 11.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 1.056e-05/0.6536, allocations: 0 / 0.604 GB, free: 11.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.3309/0.9846, allocations: 32.71 MB / 0.636 GB, free: 149.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.9847, allocations: 163.6 kB / 0.6361 GB, free: 149.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005979/0.9907, allocations: 4.201 MB / 0.6402 GB, free: 149 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007846/0.9915, allocations: 67.42 kB / 0.6403 GB, free: 148.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002122/0.9936, allocations: 3.249 MB / 0.6435 GB, free: 146.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/0.9947, allocations: 1.04 MB / 0.6445 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006505/0.9953, allocations: 0.5511 MB / 0.645 GB, free: 145.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.9954, allocations: 308.3 kB / 0.6453 GB, free: 145.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00398/0.9994, allocations: 3.299 MB / 0.6486 GB, free: 144.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005192/1.005, allocations: 6.899 MB / 0.6553 GB, free: 138.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/1.016, allocations: 11 MB / 0.666 GB, free: 130.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/1.016, allocations: 34.94 kB / 0.6661 GB, free: 130.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02609/1.042, allocations: 12.42 MB / 0.6782 GB, free: 126 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001902/1.042, allocations: 57.91 kB / 0.6783 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002856/1.042, allocations: 126.1 kB / 0.6784 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008274/1.051, allocations: 2.641 MB / 0.681 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005532/1.056, allocations: 1.475 MB / 0.6824 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/1.081, allocations: 21.65 MB / 0.7035 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00613/1.087, allocations: 438.5 kB / 0.704 GB, free: 111.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.088, allocations: 390 kB / 0.7043 GB, free: 111 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,27)} Notification: Performance of prepare postOptimizeDAE: time 0.005247/1.094, allocations: 2.229 MB / 0.7065 GB, free: 109.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.095, allocations: 404.8 kB / 0.7069 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/1.109, allocations: 7.812 MB / 0.7145 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-05/1.109, allocations: 32 kB / 0.7146 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.863e-05/1.109, allocations: 12 kB / 0.7146 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.225e-05/1.109, allocations: 15.94 kB / 0.7146 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.133, allocations: 14.48 MB / 0.7287 GB, free: 87.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/1.133, allocations: 4 kB / 0.7287 GB, free: 87.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/1.135, allocations: 379.4 kB / 0.7291 GB, free: 86.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005596/1.141, allocations: 2.422 MB / 0.7315 GB, free: 84.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003001/1.141, allocations: 47.09 kB / 0.7315 GB, free: 84.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/1.162, allocations: 21.47 MB / 0.7525 GB, free: 62.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.162, allocations: 7.938 kB / 0.7525 GB, free: 62.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/1.175, allocations: 7.951 MB / 0.7602 GB, free: 54.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.177, allocations: 0.9721 MB / 0.7612 GB, free: 53.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009877/1.178, allocations: 44 kB / 0.7612 GB, free: 53.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/1.18, allocations: 223.7 kB / 0.7614 GB, free: 52.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006601/1.181, allocations: 188.2 kB / 0.7616 GB, free: 52.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002227/1.181, allocations: 75.98 kB / 0.7617 GB, free: 52.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003357/1.185, allocations: 2.638 MB / 0.7643 GB, free: 50.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.185, allocations: 0 / 0.7643 GB, free: 50.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005564/1.19, allocations: 1.356 MB / 0.7656 GB, free: 48.67 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00113/1.191, allocations: 0.4897 MB / 0.7661 GB, free: 48.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01076/1.202, allocations: 8.666 MB / 0.7745 GB, free: 39.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.202, allocations: 0 / 0.7745 GB, free: 39.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005309/1.207, allocations: 3.936 MB / 0.7784 GB, free: 35.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/1.212, allocations: 497.6 kB / 0.7788 GB, free: 35.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.23, allocations: 14.12 MB / 0.7926 GB, free: 20.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003016/1.233, allocations: 3.578 MB / 0.7961 GB, free: 17.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004513/1.238, allocations: 2.117 MB / 0.7982 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008985/1.239, allocations: 271.4 kB / 0.7985 GB, free: 14.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/1.239, allocations: 7.938 kB / 0.7985 GB, free: 14.92 MB / 494.1 MB Notification: Performance of Templates: time 0.301/1.54, allocations: 60.9 MB / 0.8579 GB, free: 121.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) Environment - environmentSimulation: