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.001236/0.001236, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001262/0.001262, allocations: 177.3 kB / 15.95 MB, free: 216 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.647/1.647, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3272/0.3272, allocations: 38.03 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.0008809/0.0008811, allocations: 19.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.142, allocations: 57.51 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.2727/0.4148, allocations: 40.2 MB / 474.1 MB, free: 32.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.4354, allocations: 10.1 MB / 484.2 MB, free: 25.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009076/0.4445, allocations: 207.5 kB / 484.4 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007513/0.4521, allocations: 2.094 MB / 486.5 MB, free: 25.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02043/0.4726, allocations: 5.852 MB / 492.4 MB, free: 22.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.4767, allocations: 0.7232 MB / 493.1 MB, free: 22.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005087/0.4818, allocations: 2.321 MB / 495.4 MB, free: 21.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007285/0.4891, allocations: 3.905 MB / 499.3 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.4924, allocations: 1.286 MB / 0.4889 GB, free: 19.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00354/0.496, allocations: 1.435 MB / 0.4903 GB, free: 18.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.4976, allocations: 142.4 kB / 0.4904 GB, free: 18.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003637/0.5012, allocations: 0.8791 MB / 0.4913 GB, free: 18.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003523/0.5048, allocations: 1.625 MB / 0.4928 GB, free: 17.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002377/0.5072, allocations: 0.8754 MB / 0.4937 GB, free: 17.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.5175, allocations: 5.435 MB / 0.499 GB, free: 16.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5175, allocations: 5.094 kB / 0.499 GB, free: 16.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5175, allocations: 0 / 0.499 GB, free: 16.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003666/0.5179, allocations: 0 / 0.499 GB, free: 16.16 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.0177/0.5356, allocations: 4.69 MB / 0.5036 GB, free: 12.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.5357, allocations: 9.062 kB / 0.5036 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.5462, allocations: 2.216 MB / 0.5058 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.5567, allocations: 2.712 MB / 0.5084 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005211/0.5572, allocations: 233.8 kB / 0.5086 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002684/0.5599, allocations: 316.4 kB / 0.5089 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03033/0.5903, allocations: 11.36 MB / 0.52 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003804/0.5907, allocations: 42.47 kB / 0.5201 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002369/0.5931, allocations: 158.8 kB / 0.5202 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004199/0.5974, allocations: 2.295 MB / 0.5225 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02662/0.624, allocations: 10.03 MB / 0.5322 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0764/0.7005, allocations: 44.42 MB / 0.5756 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/0.7159, allocations: 5.996 MB / 0.5815 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/0.7324, allocations: 9.387 MB / 0.5906 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01124/0.7437, allocations: 3.505 MB / 0.5941 GB, free: 5.441 MB / 462.1 MB Notification: Performance of pre-optimization done (n=211): time 7.805e-06/0.7438, allocations: 0 / 0.5941 GB, free: 5.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=282): time 0.1234/0.8673, allocations: 33.83 MB / 0.6271 GB, free: 3.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.8675, allocations: 158.5 kB / 0.6273 GB, free: 3.312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2953/1.163, allocations: 4.319 MB / 0.6315 GB, free: 147.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001137/1.164, allocations: 65.45 kB / 0.6315 GB, free: 147.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003481/1.167, allocations: 3.255 MB / 0.6347 GB, free: 146.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001959/1.169, allocations: 1.038 MB / 0.6357 GB, free: 146 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004984/1.17, allocations: 137.3 kB / 0.6359 GB, free: 146 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00043/1.17, allocations: 0.5826 MB / 0.6364 GB, free: 145.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004951/1.175, allocations: 3.257 MB / 0.6396 GB, free: 145.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005909/1.181, allocations: 6.834 MB / 0.6463 GB, free: 139.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00621/1.188, allocations: 4.629 MB / 0.6508 GB, free: 137.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.177e-05/1.188, allocations: 35.03 kB / 0.6508 GB, free: 137.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02322/1.211, allocations: 12.34 MB / 0.6629 GB, free: 133.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001861/1.211, allocations: 65.41 kB / 0.663 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002635/1.211, allocations: 125.8 kB / 0.6631 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00846/1.22, allocations: 2.644 MB / 0.6657 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006858/1.227, allocations: 1.46 MB / 0.6671 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03259/1.259, allocations: 22.35 MB / 0.6889 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008494/1.268, allocations: 437 kB / 0.6893 GB, free: 120.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002231/1.27, allocations: 386.8 kB / 0.6897 GB, free: 120.9 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 (757): * Single equations (assignments): 750 * 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.008238/1.278, allocations: 2.229 MB / 0.6919 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001885/1.28, allocations: 405.6 kB / 0.6923 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/1.296, allocations: 7.796 MB / 0.6999 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.873e-05/1.297, allocations: 28 kB / 0.6999 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.317e-05/1.297, allocations: 8 kB / 0.6999 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.498e-05/1.297, allocations: 19.14 kB / 0.6999 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03176/1.328, allocations: 14.46 MB / 0.7141 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-05/1.328, allocations: 4 kB / 0.7141 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/1.331, allocations: 386.6 kB / 0.7144 GB, free: 101.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005832/1.336, allocations: 2.415 MB / 0.7168 GB, free: 98.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005019/1.337, allocations: 63.61 kB / 0.7168 GB, free: 98.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02407/1.361, allocations: 22.12 MB / 0.7384 GB, free: 76.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.361, allocations: 2.891 kB / 0.7384 GB, free: 76.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/1.376, allocations: 8.18 MB / 0.7464 GB, free: 67.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003484/1.38, allocations: 0.9837 MB / 0.7474 GB, free: 66.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/1.381, allocations: 48 kB / 0.7474 GB, free: 66.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/1.385, allocations: 219.7 kB / 0.7476 GB, free: 66.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009426/1.386, allocations: 185.4 kB / 0.7478 GB, free: 66.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004532/1.386, allocations: 79.58 kB / 0.7479 GB, free: 66.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006234/1.392, allocations: 2.712 MB / 0.7506 GB, free: 63.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.392, allocations: 0 / 0.7506 GB, free: 63.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01062/1.403, allocations: 1.372 MB / 0.7519 GB, free: 62.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.002324/1.405, allocations: 0.5177 MB / 0.7524 GB, free: 61.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0145/1.42, allocations: 8.618 MB / 0.7608 GB, free: 53.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.42, allocations: 0 / 0.7608 GB, free: 53.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006365/1.426, allocations: 3.933 MB / 0.7647 GB, free: 49.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/1.43, allocations: 441.7 kB / 0.7651 GB, free: 48.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/1.456, allocations: 13.57 MB / 0.7783 GB, free: 34.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006897/1.463, allocations: 3.667 MB / 0.7819 GB, free: 31.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006901/1.47, allocations: 2.113 MB / 0.784 GB, free: 29.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/1.472, allocations: 279.4 kB / 0.7842 GB, free: 28.88 MB / 494.1 MB Notification: Performance of SimCode: time 1.363e-06/1.472, allocations: 0 / 0.7842 GB, free: 28.88 MB / 494.1 MB Notification: Performance of Templates: time 0.3891/1.861, allocations: 60.26 MB / 0.8431 GB, free: 126.8 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: