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.0009755/0.0009756, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001121/0.001121, allocations: 168.7 kB / 15.95 MB, free: 204 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.529/1.529, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.3446/0.3446, allocations: 38.04 MB / 308.4 MB, free: 10.39 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.0005987/0.0005987, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1241, allocations: 57.51 MB / 433.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.2269/0.351, allocations: 42.56 MB / 476.5 MB, free: 31.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02168/0.3728, allocations: 9.719 MB / 486.2 MB, free: 24.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01152/0.3843, allocations: 211 kB / 486.4 MB, free: 24.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006752/0.3911, allocations: 2.31 MB / 488.7 MB, free: 23.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01655/0.4077, allocations: 6.593 MB / 495.3 MB, free: 21.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.411, allocations: 0.7277 MB / 496.1 MB, free: 20.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005978/0.417, allocations: 4.698 MB / 0.489 GB, free: 19.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007068/0.4241, allocations: 3.922 MB / 0.4929 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.4277, allocations: 1.522 MB / 0.4943 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00439/0.4321, allocations: 2.055 MB / 0.4963 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.4333, allocations: 143.5 kB / 0.4965 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.4364, allocations: 0.9088 MB / 0.4974 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002864/0.4393, allocations: 1.751 MB / 0.4991 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.4413, allocations: 0.8715 MB / 0.4999 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009558/0.4509, allocations: 5.415 MB / 0.5052 GB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.451, allocations: 3.984 kB / 0.5052 GB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.451, allocations: 0 / 0.5052 GB, free: 12.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003647/0.4513, allocations: 1 kB / 0.5052 GB, free: 12.58 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.01489/0.4662, allocations: 4.483 MB / 0.5096 GB, free: 9.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4663, allocations: 16.94 kB / 0.5096 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007048/0.4734, allocations: 1.921 MB / 0.5115 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006028/0.4794, allocations: 2.488 MB / 0.5139 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.4798, allocations: 238.6 kB / 0.5141 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.4814, allocations: 316.7 kB / 0.5145 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02167/0.503, allocations: 11.2 MB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.5033, allocations: 43.53 kB / 0.5254 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/0.5044, allocations: 159.8 kB / 0.5256 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003728/0.5081, allocations: 2.291 MB / 0.5278 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02203/0.5302, allocations: 9.847 MB / 0.5374 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05872/0.5889, allocations: 44.29 MB / 0.5807 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/0.6023, allocations: 5.845 MB / 0.5864 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003866/0.6062, allocations: 3.227 MB / 0.5895 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/0.6193, allocations: 9.347 MB / 0.5987 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009572/0.6289, allocations: 3.369 MB / 0.602 GB, free: 13.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 7.023e-06/0.6289, allocations: 0 / 0.602 GB, free: 13.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.3071/0.9361, allocations: 32.7 MB / 0.6339 GB, free: 148.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.9362, allocations: 158.1 kB / 0.634 GB, free: 148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006851/0.943, allocations: 4.185 MB / 0.6381 GB, free: 147.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006167/0.9437, allocations: 68 kB / 0.6382 GB, free: 147.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00229/0.946, allocations: 3.251 MB / 0.6414 GB, free: 146.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.9471, allocations: 1.039 MB / 0.6424 GB, free: 145.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005291/0.9477, allocations: 133.2 kB / 0.6425 GB, free: 145.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.948, allocations: 0.5864 MB / 0.6431 GB, free: 144.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003904/0.9519, allocations: 3.271 MB / 0.6463 GB, free: 143.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005342/0.9572, allocations: 6.871 MB / 0.653 GB, free: 137.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005533/0.9628, allocations: 4.644 MB / 0.6575 GB, free: 136 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.945e-05/0.9629, allocations: 36.16 kB / 0.6576 GB, free: 136 MB / 494.1 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02186/0.9847, allocations: 12.37 MB / 0.6696 GB, free: 131.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.985, allocations: 58.41 kB / 0.6697 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004084/0.9854, allocations: 129.6 kB / 0.6698 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007454/0.9929, allocations: 2.642 MB / 0.6724 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005888/0.9988, allocations: 1.468 MB / 0.6738 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02646/1.025, allocations: 21.65 MB / 0.695 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006131/1.031, allocations: 435.8 kB / 0.6954 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/1.033, allocations: 393.9 kB / 0.6958 GB, free: 119.2 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.005542/1.039, allocations: 2.224 MB / 0.6979 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009465/1.039, allocations: 398.8 kB / 0.6983 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.052, allocations: 7.805 MB / 0.7059 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-05/1.052, allocations: 28 kB / 0.706 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/1.052, allocations: 11.19 kB / 0.706 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/1.052, allocations: 19.14 kB / 0.706 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/1.075, allocations: 14.44 MB / 0.7201 GB, free: 97.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/1.075, allocations: 7.984 kB / 0.7201 GB, free: 97.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.077, allocations: 379.4 kB / 0.7205 GB, free: 97.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005172/1.082, allocations: 2.426 MB / 0.7228 GB, free: 94.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003984/1.083, allocations: 48 kB / 0.7229 GB, free: 94.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0218/1.104, allocations: 21.43 MB / 0.7438 GB, free: 72.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.104, allocations: 8.562 kB / 0.7438 GB, free: 72.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/1.117, allocations: 7.921 MB / 0.7516 GB, free: 64.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/1.119, allocations: 0.9798 MB / 0.7525 GB, free: 63.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/1.121, allocations: 48 kB / 0.7526 GB, free: 63.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/1.123, allocations: 227 kB / 0.7528 GB, free: 63.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000641/1.124, allocations: 184.7 kB / 0.753 GB, free: 63.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000287/1.124, allocations: 79.98 kB / 0.753 GB, free: 63.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003864/1.128, allocations: 2.61 MB / 0.7556 GB, free: 60.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.128, allocations: 0 / 0.7556 GB, free: 60.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00628/1.134, allocations: 1.353 MB / 0.7569 GB, free: 59.12 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.001269/1.136, allocations: 494.2 kB / 0.7574 GB, free: 58.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01139/1.147, allocations: 8.64 MB / 0.7658 GB, free: 50.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.147, allocations: 0 / 0.7658 GB, free: 50.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004884/1.152, allocations: 3.932 MB / 0.7696 GB, free: 46.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/1.155, allocations: 482.3 kB / 0.7701 GB, free: 45.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/1.176, allocations: 13.61 MB / 0.7834 GB, free: 31.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004631/1.18, allocations: 3.574 MB / 0.7869 GB, free: 28.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005238/1.186, allocations: 2.113 MB / 0.7889 GB, free: 26.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.187, allocations: 271.4 kB / 0.7892 GB, free: 25.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/1.187, allocations: 0 / 0.7892 GB, free: 25.93 MB / 494.1 MB Notification: Performance of Templates: time 0.2879/1.475, allocations: 59.69 MB / 0.8475 GB, free: 127.7 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: