Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 111.5 kB / 17.09 MB, free: 5.988 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.001012/0.001012, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.344/1.344, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1988/0.1988, allocations: 43.52 MB / 314.8 MB, free: 460 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.001475/0.001475, allocations: 61.47 kB / 442.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 57.78 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.02378/0.1302, allocations: 21.93 MB / 0.51 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.1431, allocations: 6.254 MB / 0.5161 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.147, allocations: 139.6 kB / 0.5162 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01152/0.1585, allocations: 6.693 MB / 0.5228 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009209/0.1678, allocations: 3.388 MB / 0.5261 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.1713, allocations: 1.443 MB / 0.5275 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.259/0.4303, allocations: 9.32 MB / 0.5366 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/0.4428, allocations: 8.626 MB / 0.545 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008907/0.4517, allocations: 3.504 MB / 0.5484 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008932/0.4607, allocations: 4.857 MB / 0.5532 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003328/0.4641, allocations: 0.808 MB / 0.554 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006801/0.4709, allocations: 1.793 MB / 0.5557 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00617/0.4771, allocations: 4.473 MB / 0.5601 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007511/0.4846, allocations: 5.096 MB / 0.5651 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.5012, allocations: 15.75 MB / 0.5805 GB, free: 5.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5012, allocations: 3.469 kB / 0.5805 GB, free: 5.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.5012, allocations: 4 kB / 0.5805 GB, free: 5.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004981/0.5017, allocations: 3.938 kB / 0.5805 GB, free: 5.422 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.02784/0.5296, allocations: 10.54 MB / 0.5908 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5297, allocations: 15.89 kB / 0.5908 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/0.5466, allocations: 3.516 MB / 0.5942 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.56, allocations: 6.144 MB / 0.6002 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004835/0.5605, allocations: 0.5269 MB / 0.6007 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00279/0.5633, allocations: 0.7131 MB / 0.6014 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04149/0.6048, allocations: 22.08 MB / 0.623 GB, free: 9.562 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002762/0.6051, allocations: 90.14 kB / 0.6231 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00118/0.6063, allocations: 331.3 kB / 0.6234 GB, free: 9.262 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007152/0.6135, allocations: 4.205 MB / 0.6275 GB, free: 5.109 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03649/0.65, allocations: 18.96 MB / 0.646 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1024/0.7524, allocations: 80.62 MB / 0.7247 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02173/0.7742, allocations: 9.15 MB / 0.7337 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008282/0.7825, allocations: 6.047 MB / 0.7396 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003541/0.7829, allocations: 83.73 kB / 0.7397 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.88e-05/0.783, allocations: 81.56 kB / 0.7397 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=412): time 7.834e-06/0.783, allocations: 0 / 0.7397 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475): time 0.5351/1.318, allocations: 48.5 MB / 0.7871 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/1.318, allocations: 282 kB / 0.7874 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/1.329, allocations: 8.361 MB / 0.7955 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00127/1.331, allocations: 97.52 kB / 0.7956 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003556/1.334, allocations: 6.031 MB / 0.8015 GB, free: 177 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002614/1.337, allocations: 1.751 MB / 0.8032 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003432/1.34, allocations: 2.364 MB / 0.8055 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.739e-05/1.341, allocations: 313 kB / 0.8058 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00663/1.347, allocations: 5.524 MB / 0.8112 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/1.357, allocations: 11.64 MB / 0.8226 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/1.374, allocations: 18.34 MB / 0.8405 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/1.374, allocations: 63.94 kB / 0.8406 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1512) (initialization): time 0.03154/1.406, allocations: 20.12 MB / 0.8602 GB, free: 122.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.406, allocations: 92 kB / 0.8603 GB, free: 122.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/1.406, allocations: 212 kB / 0.8605 GB, free: 122.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00724/1.413, allocations: 3.362 MB / 0.8638 GB, free: 118.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009403/1.423, allocations: 2.792 MB / 0.8665 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/1.444, allocations: 21.55 MB / 0.8876 GB, free: 94.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009384/1.453, allocations: 0.7062 MB / 0.8883 GB, free: 93.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.455, allocations: 0.6515 MB / 0.8889 GB, free: 92.75 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],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],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 (1416): * Single equations (assignments): 1410 * 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%), (2,23,100.0%), (3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00635/1.461, allocations: 4.201 MB / 0.893 GB, free: 88.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001616/1.463, allocations: 0.7405 MB / 0.8937 GB, free: 87.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/1.481, allocations: 12.22 MB / 0.9057 GB, free: 75.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.8e-05/1.481, allocations: 19.92 kB / 0.9057 GB, free: 75.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.481, allocations: 7.938 kB / 0.9057 GB, free: 75.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004171/1.485, allocations: 1.663 MB / 0.9073 GB, free: 73.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001994/1.487, allocations: 79.94 kB / 0.9074 GB, free: 73.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004583/1.492, allocations: 378.9 kB / 0.9077 GB, free: 73.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/1.493, allocations: 319.1 kB / 0.908 GB, free: 73.02 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01996/1.513, allocations: 12.43 MB / 0.9202 GB, free: 60.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01747/1.53, allocations: 15.97 MB / 0.9358 GB, free: 44.59 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004513/1.535, allocations: 4.495 MB / 0.9402 GB, free: 40.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006398/1.541, allocations: 5.338 MB / 0.9454 GB, free: 34.75 MB / 0.5919 GB Notification: Performance of Backend: time 5.11e-07/1.541, allocations: 0 / 0.9454 GB, free: 34.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01788/1.559, allocations: 9.907 MB / 0.9551 GB, free: 24.88 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03086/1.59, allocations: 19.84 MB / 0.9744 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of Templates: time 0.4059/1.996, allocations: 117.3 MB / 1.089 GB, free: 103.3 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1)