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.001459/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001569/0.001569, allocations: 191.5 kB / 16.13 MB, free: 6.66 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.569/1.569, allocations: 205.1 MB / 222 MB, free: 4.773 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.3628/0.3628, allocations: 39.93 MB / 309.3 MB, free: 9.371 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.001353/0.001353, allocations: 66.58 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1182, allocations: 56.89 MB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.2964/0.4146, allocations: 46.97 MB / 480.8 MB, free: 26.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02834/0.443, allocations: 10.27 MB / 491 MB, free: 19.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01476/0.4579, allocations: 214.1 kB / 491.3 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006254/0.4642, allocations: 2.975 MB / 494.2 MB, free: 17.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007154/0.4714, allocations: 1.836 MB / 496.1 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.4745, allocations: 0.7743 MB / 496.8 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009173/0.4837, allocations: 5.903 MB / 0.491 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006553/0.4903, allocations: 3.25 MB / 0.4941 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004362/0.4947, allocations: 1.639 MB / 0.4957 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004966/0.4997, allocations: 2.331 MB / 0.498 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.501, allocations: 232.6 kB / 0.4982 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/0.505, allocations: 1.17 MB / 0.4994 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004079/0.5091, allocations: 1.918 MB / 0.5012 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008754/0.5179, allocations: 2.228 MB / 0.5034 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01719/0.5351, allocations: 6.856 MB / 0.5101 GB, free: 6.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.5352, allocations: 0 / 0.5101 GB, free: 6.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5352, allocations: 0 / 0.5101 GB, free: 6.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004113/0.5356, allocations: 1.062 kB / 0.5101 GB, free: 6.605 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.01893/0.5546, allocations: 5.333 MB / 0.5153 GB, free: 2.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.5547, allocations: 8.25 kB / 0.5153 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006989/0.5617, allocations: 1.872 MB / 0.5172 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005393/0.5671, allocations: 2.551 MB / 0.5197 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.5673, allocations: 251 kB / 0.5199 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006429/0.5679, allocations: 313 kB / 0.5202 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/0.591, allocations: 11.19 MB / 0.5311 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001767/0.5912, allocations: 47.59 kB / 0.5312 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005252/0.5918, allocations: 147.8 kB / 0.5313 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004095/0.5959, allocations: 2.306 MB / 0.5336 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/0.6216, allocations: 9.858 MB / 0.5432 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0794/0.7011, allocations: 44.31 MB / 0.5865 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/0.7169, allocations: 5.816 MB / 0.5921 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005576/0.7225, allocations: 3.239 MB / 0.5953 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02037/0.7429, allocations: 9.329 MB / 0.6044 GB, free: 7.695 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01155/0.7546, allocations: 3.372 MB / 0.6077 GB, free: 4.301 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 1.115e-05/0.7546, allocations: 0 / 0.6077 GB, free: 4.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.494/1.249, allocations: 32.59 MB / 0.6395 GB, free: 113.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.249, allocations: 165.8 kB / 0.6397 GB, free: 113.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007725/1.257, allocations: 4.206 MB / 0.6438 GB, free: 112.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001035/1.258, allocations: 67.89 kB / 0.6439 GB, free: 112.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003962/1.262, allocations: 3.249 MB / 0.647 GB, free: 110.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002188/1.264, allocations: 1.035 MB / 0.648 GB, free: 110.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002396/1.266, allocations: 1.333 MB / 0.6493 GB, free: 109.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.869e-05/1.266, allocations: 308.7 kB / 0.6496 GB, free: 109.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00603/1.272, allocations: 3.29 MB / 0.6529 GB, free: 108.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.283, allocations: 6.896 MB / 0.6596 GB, free: 102.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01913/1.302, allocations: 11.01 MB / 0.6703 GB, free: 94.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003309/1.302, allocations: 36.34 kB / 0.6704 GB, free: 94.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.03473/1.337, allocations: 12.43 MB / 0.6825 GB, free: 91.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/1.337, allocations: 57.72 kB / 0.6826 GB, free: 91.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002072/1.337, allocations: 126.9 kB / 0.6827 GB, free: 91.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007497/1.345, allocations: 2.63 MB / 0.6853 GB, free: 90.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006526/1.352, allocations: 1.47 MB / 0.6867 GB, free: 90.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02438/1.376, allocations: 21.66 MB / 0.7078 GB, free: 70.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008442/1.384, allocations: 436.2 kB / 0.7083 GB, free: 69.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/1.387, allocations: 387.9 kB / 0.7086 GB, free: 69.57 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.008625/1.395, allocations: 2.234 MB / 0.7108 GB, free: 67.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/1.397, allocations: 402.8 kB / 0.7112 GB, free: 67.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/1.413, allocations: 7.819 MB / 0.7188 GB, free: 59.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.141e-05/1.413, allocations: 36.81 kB / 0.7189 GB, free: 59.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-05/1.413, allocations: 12 kB / 0.7189 GB, free: 59.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.214e-05/1.413, allocations: 13.36 kB / 0.7189 GB, free: 59.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03001/1.443, allocations: 14.48 MB / 0.733 GB, free: 44.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.522e-05/1.443, allocations: 0 / 0.733 GB, free: 44.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/1.445, allocations: 385 kB / 0.7334 GB, free: 44.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00619/1.452, allocations: 2.42 MB / 0.7358 GB, free: 42.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007598/1.452, allocations: 48 kB / 0.7358 GB, free: 41.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02453/1.477, allocations: 21.44 MB / 0.7568 GB, free: 20.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.477, allocations: 13.86 kB / 0.7568 GB, free: 20.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/1.493, allocations: 7.948 MB / 0.7645 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003287/1.496, allocations: 0.9681 MB / 0.7655 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/1.498, allocations: 45.75 kB / 0.7655 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004012/1.502, allocations: 219.7 kB / 0.7657 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/1.503, allocations: 193.3 kB / 0.7659 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004682/1.504, allocations: 72 kB / 0.766 GB, free: 10.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007248/1.511, allocations: 2.634 MB / 0.7685 GB, free: 7.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.664e-06/1.511, allocations: 3.656 kB / 0.7686 GB, free: 7.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01251/1.524, allocations: 1.354 MB / 0.7699 GB, free: 6.543 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.002538/1.526, allocations: 498.6 kB / 0.7704 GB, free: 6.191 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01762/1.544, allocations: 8.671 MB / 0.7788 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.544, allocations: 0 / 0.7788 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008004/1.552, allocations: 3.949 MB / 0.7827 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006243/1.558, allocations: 479.4 kB / 0.7831 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/1.59, allocations: 14.11 MB / 0.7969 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007935/1.598, allocations: 3.587 MB / 0.8004 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006462/1.605, allocations: 2.112 MB / 0.8025 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.606, allocations: 271.4 kB / 0.8027 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of SimCode: time 1.313e-06/1.606, allocations: 1.594 kB / 0.8027 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of Templates: time 0.38/1.986, allocations: 62.34 MB / 0.8636 GB, free: 169.6 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (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)