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.001089/0.001089, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.001126/0.001126, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.364/1.364, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.198/0.198, allocations: 43.52 MB / 314.8 MB, free: 456 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.002752/0.002753, allocations: 73.47 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1256, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01804/0.1437, allocations: 18.85 MB / 0.507 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.1558, allocations: 5.627 MB / 0.5125 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003767/0.1596, allocations: 123.6 kB / 0.5126 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009872/0.1695, allocations: 5.611 MB / 0.5181 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008007/0.1776, allocations: 2.995 MB / 0.521 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.1808, allocations: 1.182 MB / 0.5222 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.1928, allocations: 8.309 MB / 0.5303 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2472/0.44, allocations: 7.216 MB / 0.5373 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006162/0.4462, allocations: 2.966 MB / 0.5402 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008509/0.4547, allocations: 4.13 MB / 0.5443 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00442/0.4592, allocations: 0.6586 MB / 0.5449 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007562/0.4668, allocations: 1.512 MB / 0.5464 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007454/0.4743, allocations: 3.801 MB / 0.5501 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009229/0.4836, allocations: 4.253 MB / 0.5542 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0174/0.501, allocations: 13.23 MB / 0.5672 GB, free: 13.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.501, allocations: 0 / 0.5672 GB, free: 13.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5011, allocations: 2.312 kB / 0.5672 GB, free: 13.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005428/0.5016, allocations: 0 / 0.5672 GB, free: 13.85 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.02335/0.525, allocations: 8.938 MB / 0.5759 GB, free: 7.945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.525, allocations: 10.61 kB / 0.5759 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01604/0.5411, allocations: 3.298 MB / 0.5791 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.555, allocations: 5.546 MB / 0.5846 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004561/0.5555, allocations: 437.9 kB / 0.585 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002639/0.5581, allocations: 0.573 MB / 0.5855 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03683/0.595, allocations: 17.79 MB / 0.6029 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004575/0.5955, allocations: 90.86 kB / 0.603 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/0.5979, allocations: 277.1 kB / 0.6032 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006288/0.6042, allocations: 3.419 MB / 0.6066 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03109/0.6353, allocations: 14.9 MB / 0.6211 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0945/0.7298, allocations: 68.68 MB / 0.6882 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/0.7476, allocations: 7.385 MB / 0.6954 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007066/0.7548, allocations: 4.43 MB / 0.6998 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004064/0.7552, allocations: 64.72 kB / 0.6998 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.538e-05/0.7553, allocations: 71.31 kB / 0.6999 GB, free: 10.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=307): time 1.168e-05/0.7553, allocations: 2.625 kB / 0.6999 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=340): time 0.09532/0.8506, allocations: 35.32 MB / 0.7344 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.8508, allocations: 303.5 kB / 0.7347 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01336/0.8642, allocations: 7.459 MB / 0.742 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008082/0.865, allocations: 81.69 kB / 0.742 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004153/0.8692, allocations: 5.272 MB / 0.7472 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002071/0.8713, allocations: 1.29 MB / 0.7484 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005512/0.8768, allocations: 2.037 MB / 0.7504 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.8769, allocations: 305.1 kB / 0.7507 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007351/0.8843, allocations: 4.157 MB / 0.7548 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2727/1.157, allocations: 9.789 MB / 0.7643 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01715/1.174, allocations: 14.95 MB / 0.7789 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002755/1.174, allocations: 57.91 kB / 0.779 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.0325/1.207, allocations: 15.77 MB / 0.7944 GB, free: 176 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/1.207, allocations: 88.25 kB / 0.7945 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002235/1.207, allocations: 197.3 kB / 0.7947 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005423/1.213, allocations: 2.317 MB / 0.7969 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00786/1.221, allocations: 2.362 MB / 0.7992 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/1.236, allocations: 15.57 MB / 0.8144 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008781/1.245, allocations: 0.5721 MB / 0.815 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001872/1.247, allocations: 0.5772 MB / 0.8156 GB, free: 166.4 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.007186/1.254, allocations: 3.589 MB / 0.8191 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001914/1.256, allocations: 0.6328 MB / 0.8197 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/1.27, allocations: 8.122 MB / 0.8276 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.071e-05/1.27, allocations: 23.22 kB / 0.8276 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.27, allocations: 0.5 kB / 0.8276 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003156/1.273, allocations: 1.27 MB / 0.8289 GB, free: 156.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001842/1.275, allocations: 65.34 kB / 0.8289 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003589/1.278, allocations: 232 kB / 0.8292 GB, free: 156 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006181/1.279, allocations: 238.7 kB / 0.8294 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0142/1.293, allocations: 8.524 MB / 0.8377 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01209/1.305, allocations: 11.04 MB / 0.8485 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003138/1.308, allocations: 2.996 MB / 0.8514 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008322/1.317, allocations: 4.755 MB / 0.8561 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of Backend: time 5.72e-07/1.317, allocations: 4 kB / 0.8561 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01745/1.334, allocations: 7.784 MB / 0.8637 GB, free: 121.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03038/1.365, allocations: 16.66 MB / 0.8799 GB, free: 105.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1343/1.499, allocations: 89.31 MB / 0.9672 GB, free: 16.18 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)