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.001503/0.001503, allocations: 97.64 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.01238/0.01238, allocations: 172 kB / 16.27 MB, free: 6.652 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.74/1.74, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.4265/0.4265, allocations: 40 MB / 310.7 MB, free: 9.879 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.0005191/0.0005191, allocations: 12 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1345, allocations: 57.96 MB / 437.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.3328/0.4674, allocations: 45.73 MB / 483.1 MB, free: 24.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03099/0.4985, allocations: 10.2 MB / 493.3 MB, free: 19.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01327/0.5118, allocations: 211.4 kB / 493.5 MB, free: 19.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.5142, allocations: 0.5786 MB / 494.1 MB, free: 18.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.5203, allocations: 1.848 MB / 496 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.5227, allocations: 0.7738 MB / 496.7 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008986/0.5317, allocations: 5.897 MB / 0.4908 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007638/0.5394, allocations: 4.286 MB / 0.495 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004408/0.5438, allocations: 1.426 MB / 0.4964 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004756/0.5486, allocations: 2.079 MB / 0.4985 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008637/0.5495, allocations: 143.4 kB / 0.4986 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.5529, allocations: 1.09 MB / 0.4997 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004543/0.5575, allocations: 1.796 MB / 0.5014 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004073/0.5616, allocations: 2.104 MB / 0.5035 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.5753, allocations: 6.676 MB / 0.51 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.5754, allocations: 1.219 kB / 0.51 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.909e-06/0.5754, allocations: 0 / 0.51 GB, free: 7.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000539/0.576, allocations: 0 / 0.51 GB, free: 7.953 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.0154/0.5914, allocations: 4.418 MB / 0.5143 GB, free: 4.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.5915, allocations: 13.59 kB / 0.5143 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008818/0.6003, allocations: 1.914 MB / 0.5162 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007805/0.6082, allocations: 2.552 MB / 0.5187 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004296/0.6087, allocations: 243.1 kB / 0.5189 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002944/0.6117, allocations: 312 kB / 0.5192 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02941/0.6411, allocations: 11.21 MB / 0.5302 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000267/0.6414, allocations: 47.47 kB / 0.5302 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001749/0.6432, allocations: 159.8 kB / 0.5303 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005059/0.6483, allocations: 2.295 MB / 0.5326 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02533/0.6737, allocations: 9.889 MB / 0.5422 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07925/0.753, allocations: 44.31 MB / 0.5855 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/0.7696, allocations: 5.867 MB / 0.5912 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005762/0.7754, allocations: 3.237 MB / 0.5944 GB, free: 4.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02073/0.7962, allocations: 9.324 MB / 0.6035 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01169/0.8079, allocations: 3.38 MB / 0.6068 GB, free: 7.594 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 9.287e-06/0.808, allocations: 0 / 0.6068 GB, free: 7.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.4356/1.244, allocations: 32.72 MB / 0.6388 GB, free: 146.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/1.244, allocations: 160.3 kB / 0.6389 GB, free: 146.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006953/1.251, allocations: 4.207 MB / 0.643 GB, free: 145.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009075/1.252, allocations: 68.69 kB / 0.6431 GB, free: 145.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003117/1.255, allocations: 3.25 MB / 0.6463 GB, free: 142.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001343/1.256, allocations: 1.035 MB / 0.6473 GB, free: 142 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007648/1.257, allocations: 0.5519 MB / 0.6478 GB, free: 141.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/1.257, allocations: 305.1 kB / 0.6481 GB, free: 141.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004251/1.261, allocations: 3.3 MB / 0.6513 GB, free: 140.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00591/1.267, allocations: 6.897 MB / 0.6581 GB, free: 134.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/1.279, allocations: 11.01 MB / 0.6688 GB, free: 126.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/1.279, allocations: 36.06 kB / 0.6688 GB, free: 126.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.03233/1.312, allocations: 12.41 MB / 0.681 GB, free: 121.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003158/1.312, allocations: 63.03 kB / 0.681 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004671/1.313, allocations: 125.9 kB / 0.6812 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008787/1.321, allocations: 2.644 MB / 0.6837 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006404/1.328, allocations: 1.464 MB / 0.6852 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03033/1.358, allocations: 21.66 MB / 0.7063 GB, free: 105.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008138/1.366, allocations: 435.3 kB / 0.7067 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002557/1.369, allocations: 395 kB / 0.7071 GB, free: 104.8 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.009459/1.378, allocations: 2.229 MB / 0.7093 GB, free: 102.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002012/1.38, allocations: 402.8 kB / 0.7097 GB, free: 102.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/1.397, allocations: 7.814 MB / 0.7173 GB, free: 95.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.909e-05/1.397, allocations: 35.83 kB / 0.7173 GB, free: 95.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.928e-05/1.397, allocations: 11.94 kB / 0.7173 GB, free: 95.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.45e-05/1.397, allocations: 11.95 kB / 0.7174 GB, free: 95.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03327/1.431, allocations: 14.47 MB / 0.7315 GB, free: 80.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/1.431, allocations: 4 kB / 0.7315 GB, free: 80.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/1.433, allocations: 379.4 kB / 0.7319 GB, free: 80.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006187/1.439, allocations: 2.415 MB / 0.7342 GB, free: 77.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005831/1.44, allocations: 63.92 kB / 0.7343 GB, free: 77.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02577/1.466, allocations: 21.46 MB / 0.7552 GB, free: 55.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/1.466, allocations: 4 kB / 0.7552 GB, free: 55.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/1.485, allocations: 7.952 MB / 0.763 GB, free: 47.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004298/1.489, allocations: 0.9721 MB / 0.764 GB, free: 46.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002407/1.491, allocations: 44 kB / 0.764 GB, free: 46.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003916/1.495, allocations: 223.6 kB / 0.7642 GB, free: 46.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/1.497, allocations: 194 kB / 0.7644 GB, free: 46.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006006/1.497, allocations: 75.28 kB / 0.7645 GB, free: 46.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008148/1.505, allocations: 2.638 MB / 0.767 GB, free: 43.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 4e-07/1.506, allocations: 0 / 0.767 GB, free: 43.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01133/1.517, allocations: 1.357 MB / 0.7684 GB, free: 42.36 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.002192/1.519, allocations: 0.4948 MB / 0.7688 GB, free: 41.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01662/1.536, allocations: 8.656 MB / 0.7773 GB, free: 33.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/1.536, allocations: 4.062 kB / 0.7773 GB, free: 33.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006964/1.543, allocations: 3.947 MB / 0.7812 GB, free: 29.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008234/1.551, allocations: 481.1 kB / 0.7816 GB, free: 28.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03569/1.587, allocations: 14.14 MB / 0.7954 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009531/1.596, allocations: 3.574 MB / 0.7989 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01063/1.607, allocations: 2.109 MB / 0.801 GB, free: 8.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002396/1.61, allocations: 271.4 kB / 0.8012 GB, free: 8.625 MB / 494.1 MB Notification: Performance of SimCode: time 1.624e-06/1.61, allocations: 4 kB / 0.8012 GB, free: 8.621 MB / 494.1 MB Notification: Performance of Templates: time 0.4184/2.028, allocations: 60.9 MB / 0.8607 GB, free: 135.8 MB / 0.4981 GB 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: