Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008164/0.0008163, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005934/0.005934, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.465/1.465, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3425/0.3425, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.000629/0.0006292, allocations: 20 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1319, allocations: 57.51 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3189/0.4509, allocations: 110.7 MB / 0.5325 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06353/0.5145, allocations: 21.26 MB / 0.5533 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02851/0.5431, allocations: 487.4 kB / 0.5537 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00418/0.5473, allocations: 0.707 MB / 0.5544 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.5577, allocations: 2.834 MB / 0.5572 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.5611, allocations: 1.092 MB / 0.5582 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01656/0.5777, allocations: 12.1 MB / 0.5701 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01423/0.592, allocations: 9.464 MB / 0.5793 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005524/0.5975, allocations: 2.151 MB / 0.5814 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006442/0.604, allocations: 3.811 MB / 0.5851 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001449/0.6055, allocations: 280 kB / 0.5854 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/0.6088, allocations: 1.186 MB / 0.5865 GB, free: 192 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00401/0.6129, allocations: 3.346 MB / 0.5898 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00619/0.6191, allocations: 3.736 MB / 0.5935 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.6338, allocations: 12.24 MB / 0.6054 GB, free: 12.78 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6338, allocations: 4 kB / 0.6054 GB, free: 12.78 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6338, allocations: 0 / 0.6054 GB, free: 12.78 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004725/0.6343, allocations: 0 / 0.6054 GB, free: 12.78 MB / 478.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.018/0.6523, allocations: 7.297 MB / 0.6125 GB, free: 5.395 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.6524, allocations: 12.03 kB / 0.6126 GB, free: 5.383 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01675/0.6691, allocations: 3.36 MB / 0.6158 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/0.6812, allocations: 5.459 MB / 0.6212 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004456/0.6817, allocations: 439.7 kB / 0.6216 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/0.6838, allocations: 0.5815 MB / 0.6222 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4503/1.134, allocations: 17.81 MB / 0.6395 GB, free: 140.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003003/1.134, allocations: 81.12 kB / 0.6396 GB, free: 140.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007314/1.135, allocations: 278.2 kB / 0.6399 GB, free: 140.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005594/1.141, allocations: 3.426 MB / 0.6432 GB, free: 140.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02854/1.169, allocations: 14.93 MB / 0.6578 GB, free: 136.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08176/1.251, allocations: 69.05 MB / 0.7252 GB, free: 87.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/1.267, allocations: 7.392 MB / 0.7325 GB, free: 81.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004903/1.272, allocations: 4.429 MB / 0.7368 GB, free: 76.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/1.272, allocations: 62.52 kB / 0.7368 GB, free: 76.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/1.272, allocations: 68.62 kB / 0.7369 GB, free: 76.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 7.264e-06/1.272, allocations: 0 / 0.7369 GB, free: 76.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.08415/1.356, allocations: 35.29 MB / 0.7714 GB, free: 40.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.356, allocations: 291.5 kB / 0.7717 GB, free: 40.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009668/1.366, allocations: 7.471 MB / 0.7789 GB, free: 33.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009473/1.367, allocations: 77.7 kB / 0.779 GB, free: 33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002911/1.37, allocations: 5.282 MB / 0.7842 GB, free: 27.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002011/1.372, allocations: 1.293 MB / 0.7854 GB, free: 26.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009978/1.373, allocations: 0.8528 MB / 0.7863 GB, free: 25.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/1.373, allocations: 301.1 kB / 0.7866 GB, free: 25.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005352/1.378, allocations: 4.15 MB / 0.7906 GB, free: 21.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007617/1.386, allocations: 9.801 MB / 0.8002 GB, free: 8.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01623/1.402, allocations: 14.94 MB / 0.8148 GB, free: 6.867 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/1.402, allocations: 59.94 kB / 0.8148 GB, free: 6.809 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.3072/1.71, allocations: 15.77 MB / 0.8302 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/1.71, allocations: 87.84 kB / 0.8303 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002658/1.71, allocations: 197.7 kB / 0.8305 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00531/1.715, allocations: 2.308 MB / 0.8328 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007996/1.723, allocations: 2.369 MB / 0.8351 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/1.74, allocations: 14.52 MB / 0.8493 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009581/1.749, allocations: 0.574 MB / 0.8498 GB, free: 132.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002149/1.751, allocations: 0.5774 MB / 0.8504 GB, free: 132.5 MB / 0.4982 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.008113/1.76, allocations: 3.59 MB / 0.8539 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/1.761, allocations: 0.6352 MB / 0.8545 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.776, allocations: 8.128 MB / 0.8624 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.534e-05/1.776, allocations: 46.8 kB / 0.8625 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.756e-05/1.776, allocations: 8.969 kB / 0.8625 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/1.776, allocations: 16.84 kB / 0.8625 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0316/1.808, allocations: 17.15 MB / 0.8793 GB, free: 122 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.808, allocations: 2.531 kB / 0.8793 GB, free: 122 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002975/1.811, allocations: 0.6254 MB / 0.8799 GB, free: 122 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004991/1.816, allocations: 2.012 MB / 0.8818 GB, free: 121.6 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003584/1.816, allocations: 61.17 kB / 0.8819 GB, free: 121.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/1.83, allocations: 13.55 MB / 0.8951 GB, free: 112.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.83, allocations: 0 / 0.8951 GB, free: 112.4 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/1.848, allocations: 12.96 MB / 0.9078 GB, free: 99.58 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/1.851, allocations: 1.285 MB / 0.909 GB, free: 98.27 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009532/1.852, allocations: 63.94 kB / 0.9091 GB, free: 98.21 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002788/1.855, allocations: 234.7 kB / 0.9093 GB, free: 97.98 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006758/1.856, allocations: 198.1 kB / 0.9095 GB, free: 97.79 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.856, allocations: 87.98 kB / 0.9096 GB, free: 97.71 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007464/1.863, allocations: 4.751 MB / 0.9142 GB, free: 92.98 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.71e-07/1.863, allocations: 4 kB / 0.9142 GB, free: 92.98 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009891/1.873, allocations: 1.893 MB / 0.9161 GB, free: 91.09 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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 {(4,18,75.0%), (1,11,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006565/1.874, allocations: 214.2 kB / 0.9163 GB, free: 90.88 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.891, allocations: 10.15 MB / 0.9262 GB, free: 80.8 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.891, allocations: 3.75 kB / 0.9262 GB, free: 80.8 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005172/1.896, allocations: 3.894 MB / 0.93 GB, free: 76.88 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006564/1.902, allocations: 0.8194 MB / 0.9308 GB, free: 76.07 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/1.93, allocations: 21.58 MB / 0.9519 GB, free: 54.46 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005541/1.935, allocations: 5.456 MB / 0.9572 GB, free: 48.97 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007496/1.943, allocations: 3.169 MB / 0.9603 GB, free: 45.8 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.944, allocations: 447.3 kB / 0.9607 GB, free: 45.36 MB / 0.4982 GB Notification: Performance of SimCode: time 2.214e-06/1.944, allocations: 0 / 0.9607 GB, free: 45.36 MB / 0.4982 GB Notification: Performance of Templates: time 0.3566/2.301, allocations: 72.44 MB / 1.031 GB, free: 141.6 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) Environment - environmentSimulation: