Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 111.9 kB / 17.09 MB, free: 5.953 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.001013/0.001013, allocations: 198.9 kB / 18.03 MB, free: 5.035 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.417/1.417, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2042/0.2042, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 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: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 69.45 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1083, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01964/0.128, allocations: 18.84 MB / 0.507 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.1398, allocations: 5.635 MB / 0.5125 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/0.1431, allocations: 119.7 kB / 0.5126 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0099/0.1531, allocations: 5.619 MB / 0.5181 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007613/0.1608, allocations: 3.097 MB / 0.5211 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.1636, allocations: 1.186 MB / 0.5223 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01164/0.1752, allocations: 8.308 MB / 0.5304 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2397/0.4149, allocations: 7.21 MB / 0.5374 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006641/0.4216, allocations: 2.967 MB / 0.5403 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007572/0.4292, allocations: 4.132 MB / 0.5444 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003017/0.4323, allocations: 0.6584 MB / 0.545 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/0.4376, allocations: 1.517 MB / 0.5465 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006032/0.4436, allocations: 3.801 MB / 0.5502 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008381/0.452, allocations: 4.247 MB / 0.5544 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01803/0.4701, allocations: 13.32 MB / 0.5674 GB, free: 13.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4701, allocations: 0 / 0.5674 GB, free: 13.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4701, allocations: 3.375 kB / 0.5674 GB, free: 13.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005454/0.4707, allocations: 0 / 0.5674 GB, free: 13.86 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02711/0.4978, allocations: 9.171 MB / 0.5763 GB, free: 7.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.4979, allocations: 12.89 kB / 0.5763 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.5143, allocations: 3.345 MB / 0.5796 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.528, allocations: 5.566 MB / 0.585 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004655/0.5285, allocations: 443.9 kB / 0.5855 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00268/0.5312, allocations: 0.5809 MB / 0.586 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03812/0.5694, allocations: 17.79 MB / 0.6034 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004525/0.5699, allocations: 82.58 kB / 0.6035 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002489/0.5724, allocations: 276.5 kB / 0.6037 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006258/0.5787, allocations: 3.428 MB / 0.6071 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03094/0.6096, allocations: 14.9 MB / 0.6216 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09449/0.7042, allocations: 68.81 MB / 0.6888 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/0.7225, allocations: 7.394 MB / 0.6961 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007316/0.7299, allocations: 4.431 MB / 0.7004 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004711/0.7304, allocations: 63.69 kB / 0.7004 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.56e-05/0.7305, allocations: 71.39 kB / 0.7005 GB, free: 10.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=307): time 8.045e-06/0.7305, allocations: 0 / 0.7005 GB, free: 10.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=340): time 0.09967/0.8302, allocations: 35.92 MB / 0.7356 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.8304, allocations: 294.2 kB / 0.7359 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01523/0.8456, allocations: 7.481 MB / 0.7432 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009292/0.8466, allocations: 77.7 kB / 0.7433 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005082/0.8517, allocations: 5.481 MB / 0.7486 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002142/0.8539, allocations: 1.345 MB / 0.7499 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005167/0.859, allocations: 2.051 MB / 0.7519 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8592, allocations: 301.1 kB / 0.7522 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006691/0.8659, allocations: 4.158 MB / 0.7563 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2573/1.123, allocations: 9.791 MB / 0.7658 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0185/1.142, allocations: 14.95 MB / 0.7804 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002883/1.142, allocations: 56.59 kB / 0.7805 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.0307/1.173, allocations: 15.81 MB / 0.7959 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/1.173, allocations: 86.28 kB / 0.796 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002054/1.173, allocations: 196.8 kB / 0.7962 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005241/1.178, allocations: 2.311 MB / 0.7984 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007549/1.186, allocations: 2.361 MB / 0.8007 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/1.202, allocations: 15.57 MB / 0.816 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008799/1.21, allocations: 0.5858 MB / 0.8165 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/1.212, allocations: 0.5728 MB / 0.8171 GB, free: 165.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1226): * Single equations (assignments): 1220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006124/1.218, allocations: 3.593 MB / 0.8206 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/1.22, allocations: 0.6682 MB / 0.8212 GB, free: 162 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.232, allocations: 8.131 MB / 0.8292 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.077e-05/1.232, allocations: 15.23 kB / 0.8292 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.232, allocations: 4 kB / 0.8292 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003215/1.235, allocations: 1.301 MB / 0.8305 GB, free: 154.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001507/1.237, allocations: 54.61 kB / 0.8305 GB, free: 154.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003122/1.24, allocations: 241 kB / 0.8308 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005871/1.24, allocations: 233.3 kB / 0.831 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01362/1.254, allocations: 8.532 MB / 0.8393 GB, free: 147 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01248/1.267, allocations: 11.08 MB / 0.8501 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003456/1.27, allocations: 2.997 MB / 0.8531 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008786/1.279, allocations: 4.755 MB / 0.8577 GB, free: 128.1 MB / 0.5919 GB Notification: Performance of Backend: time 8.01e-07/1.279, allocations: 0 / 0.8577 GB, free: 128.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01855/1.298, allocations: 7.785 MB / 0.8653 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03055/1.328, allocations: 16.95 MB / 0.8819 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1388/1.467, allocations: 88.46 MB / 0.9682 GB, free: 15.05 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)