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.01073/0.01073, allocations: 100.3 kB / 15.73 MB, free: 6 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.001578/0.001579, allocations: 195.1 kB / 16.67 MB, free: 5.922 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.586/1.586, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3247/0.3247, allocations: 38 MB / 307.9 MB, free: 10.12 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.001698/0.001698, allocations: 71.89 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3527, allocations: 56.47 MB / 489.4 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01379/0.3666, allocations: 12.03 MB / 0.4897 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.3776, allocations: 4.508 MB / 0.4941 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003677/0.3813, allocations: 81.47 kB / 0.4942 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00652/0.3879, allocations: 2.997 MB / 0.4971 GB, free: 7.062 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00692/0.3948, allocations: 1.961 MB / 0.499 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.3973, allocations: 0.8654 MB / 0.4999 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006479/0.4038, allocations: 4.09 MB / 0.5039 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004467/0.4083, allocations: 3.31 MB / 0.5071 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.4117, allocations: 1.753 MB / 0.5088 GB, free: 464 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/0.4149, allocations: 2.179 MB / 0.511 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009716/0.4159, allocations: 312.6 kB / 0.5113 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.4189, allocations: 1.191 MB / 0.5124 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002539/0.4214, allocations: 1.999 MB / 0.5144 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00404/0.4255, allocations: 2.303 MB / 0.5166 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.4358, allocations: 7.175 MB / 0.5236 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4359, allocations: 0 / 0.5236 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4359, allocations: 0 / 0.5236 GB, free: 4.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001202/0.436, allocations: 0 / 0.5236 GB, free: 4.652 MB / 398.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.01024/0.4462, allocations: 5.337 MB / 0.5288 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.4463, allocations: 11.89 kB / 0.5288 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006036/0.4523, allocations: 1.874 MB / 0.5307 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005134/0.4575, allocations: 2.613 MB / 0.5332 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.4577, allocations: 242 kB / 0.5335 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005165/0.4582, allocations: 319.7 kB / 0.5338 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.4752, allocations: 11.19 MB / 0.5447 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.4754, allocations: 43.69 kB / 0.5447 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000389/0.4757, allocations: 147.8 kB / 0.5449 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003709/0.4795, allocations: 2.298 MB / 0.5471 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.4988, allocations: 9.866 MB / 0.5568 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06176/0.5606, allocations: 44.12 MB / 0.5998 GB, free: 4.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/0.5746, allocations: 5.82 MB / 0.6055 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003993/0.5786, allocations: 3.229 MB / 0.6087 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/0.5929, allocations: 9.333 MB / 0.6178 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01023/0.6032, allocations: 3.369 MB / 0.6211 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=211): time 4.719e-06/0.6032, allocations: 0 / 0.6211 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=282): time 0.4138/1.017, allocations: 32.6 MB / 0.6529 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.838e-05/1.017, allocations: 155.8 kB / 0.6531 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007659/1.025, allocations: 4.208 MB / 0.6572 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009387/1.026, allocations: 66.89 kB / 0.6572 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003017/1.029, allocations: 3.25 MB / 0.6604 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001901/1.031, allocations: 1.033 MB / 0.6614 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002378/1.033, allocations: 1.339 MB / 0.6627 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.266e-05/1.033, allocations: 309.1 kB / 0.663 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006883/1.04, allocations: 3.295 MB / 0.6662 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008068/1.048, allocations: 6.904 MB / 0.673 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/1.061, allocations: 11.01 MB / 0.6837 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/1.061, allocations: 34.34 kB / 0.6838 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.0247/1.086, allocations: 12.42 MB / 0.6959 GB, free: 92.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002169/1.086, allocations: 60 kB / 0.696 GB, free: 92.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002733/1.087, allocations: 124 kB / 0.6961 GB, free: 92.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006756/1.093, allocations: 2.634 MB / 0.6986 GB, free: 89.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005702/1.099, allocations: 1.466 MB / 0.7001 GB, free: 88.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02576/1.125, allocations: 23.41 MB / 0.7229 GB, free: 64.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006876/1.132, allocations: 431.3 kB / 0.7233 GB, free: 63.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/1.133, allocations: 387.9 kB / 0.7237 GB, free: 63.56 MB / 0.4981 GB 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.005646/1.139, allocations: 2.233 MB / 0.7259 GB, free: 61.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001792/1.141, allocations: 406.8 kB / 0.7263 GB, free: 60.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/1.156, allocations: 7.816 MB / 0.7339 GB, free: 53.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-05/1.156, allocations: 32 kB / 0.7339 GB, free: 53.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-05/1.156, allocations: 8 kB / 0.734 GB, free: 53.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.496e-05/1.156, allocations: 15.94 kB / 0.734 GB, free: 53.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02981/1.186, allocations: 14.27 MB / 0.7479 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.169e-05/1.186, allocations: 4 kB / 0.7479 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00227/1.188, allocations: 383.4 kB / 0.7483 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005507/1.193, allocations: 2.305 MB / 0.7505 GB, free: 36.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007374/1.194, allocations: 44 kB / 0.7506 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02617/1.22, allocations: 23.25 MB / 0.7733 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.22, allocations: 4 kB / 0.7733 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/1.235, allocations: 7.962 MB / 0.7811 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003776/1.239, allocations: 0.9682 MB / 0.782 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/1.241, allocations: 44 kB / 0.782 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003427/1.244, allocations: 221.6 kB / 0.7823 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/1.245, allocations: 188.2 kB / 0.7824 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003934/1.246, allocations: 83.89 kB / 0.7825 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004593/1.251, allocations: 2.638 MB / 0.7851 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.41e-07/1.251, allocations: 0 / 0.7851 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009111/1.26, allocations: 1.353 MB / 0.7864 GB, free: 14.58 MB / 0.5137 GB 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.002215/1.262, allocations: 0.4947 MB / 0.7869 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01627/1.278, allocations: 8.704 MB / 0.7954 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.278, allocations: 4 kB / 0.7954 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007287/1.286, allocations: 3.951 MB / 0.7993 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005163/1.291, allocations: 498.9 kB / 0.7997 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/1.317, allocations: 11.79 MB / 0.8112 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006535/1.323, allocations: 3.566 MB / 0.8147 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006318/1.33, allocations: 2.113 MB / 0.8168 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/1.332, allocations: 271.3 kB / 0.817 GB, free: 15.07 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/1.332, allocations: 4 kB / 0.817 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Templates: time 0.3893/1.721, allocations: 61.82 MB / 0.8774 GB, free: 163.3 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (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)