Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 99.55 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.001479/0.001479, allocations: 177.3 kB / 15.94 MB, free: 228 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.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.3247/0.3247, allocations: 38.02 MB / 308.4 MB, free: 10.48 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.0005881/0.0005887, allocations: 12 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1371, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3692/0.5063, allocations: 86.46 MB / 0.5082 GB, free: 24 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06359/0.57, allocations: 19.34 MB / 0.5271 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02875/0.5988, allocations: 431.8 kB / 0.5275 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02138/0.6202, allocations: 4.37 MB / 0.5318 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0569/0.6772, allocations: 12.34 MB / 0.5438 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007378/0.6846, allocations: 1.002 MB / 0.5448 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.06431/0.749, allocations: 39.62 MB / 0.5835 GB, free: 2.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01397/0.763, allocations: 7.371 MB / 0.5907 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005434/0.7685, allocations: 1.721 MB / 0.5924 GB, free: 9.762 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004808/0.7733, allocations: 2.399 MB / 0.5947 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.7747, allocations: 244 kB / 0.5949 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.7779, allocations: 1.104 MB / 0.596 GB, free: 6.012 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003446/0.7814, allocations: 2.774 MB / 0.5987 GB, free: 3.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002455/0.7839, allocations: 1.38 MB / 0.6001 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.7965, allocations: 9.387 MB / 0.6092 GB, free: 8.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7966, allocations: 0 / 0.6092 GB, free: 8.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.7966, allocations: 0 / 0.6092 GB, free: 8.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004669/0.797, allocations: 4 kB / 0.6092 GB, free: 8.426 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02164/0.8187, allocations: 7.089 MB / 0.6162 GB, free: 1.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.8188, allocations: 11.97 kB / 0.6162 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06259/0.8814, allocations: 11.18 MB / 0.6271 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/0.8966, allocations: 5.603 MB / 0.6326 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4926/1.389, allocations: 391.6 kB / 0.6329 GB, free: 148.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002943/1.392, allocations: 0.5084 MB / 0.6334 GB, free: 148.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03253/1.425, allocations: 15.71 MB / 0.6488 GB, free: 143.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000307/1.425, allocations: 81.12 kB / 0.6489 GB, free: 143.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008571/1.426, allocations: 247.2 kB / 0.6491 GB, free: 143.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004918/1.431, allocations: 2.922 MB / 0.6519 GB, free: 142.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02985/1.461, allocations: 12.92 MB / 0.6646 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08541/1.546, allocations: 59.96 MB / 0.7231 GB, free: 92.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/1.559, allocations: 5.904 MB / 0.7289 GB, free: 86.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/1.56, allocations: 45.34 kB / 0.7289 GB, free: 86.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/1.56, allocations: 68.06 kB / 0.729 GB, free: 86.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 6.192e-06/1.56, allocations: 0 / 0.729 GB, free: 86.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.06458/1.624, allocations: 23.47 MB / 0.7519 GB, free: 62.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.624, allocations: 261.1 kB / 0.7522 GB, free: 62.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01353/1.638, allocations: 7.332 MB / 0.7593 GB, free: 54.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008072/1.639, allocations: 64.59 kB / 0.7594 GB, free: 54.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004082/1.643, allocations: 4.868 MB / 0.7641 GB, free: 49.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001768/1.645, allocations: 0.9996 MB / 0.7651 GB, free: 48.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/1.646, allocations: 172 kB / 0.7653 GB, free: 48.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0008037/1.647, allocations: 0.6575 MB / 0.7659 GB, free: 48.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005523/1.652, allocations: 2.96 MB / 0.7688 GB, free: 45.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007934/1.66, allocations: 8.07 MB / 0.7767 GB, free: 34.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006929/1.667, allocations: 4.766 MB / 0.7814 GB, free: 29.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/1.667, allocations: 52 kB / 0.7814 GB, free: 29.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.02185/1.689, allocations: 11.54 MB / 0.7927 GB, free: 18.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002991/1.69, allocations: 80 kB / 0.7928 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000399/1.69, allocations: 184 kB / 0.7929 GB, free: 17.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002936/1.693, allocations: 1.02 MB / 0.7939 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007267/1.7, allocations: 2.027 MB / 0.7959 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/1.711, allocations: 9.587 MB / 0.8053 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008788/1.719, allocations: 467.9 kB / 0.8057 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/1.721, allocations: 0.5007 MB / 0.8062 GB, free: 3.945 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (1030): * Single equations (assignments): 1024 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006527/1.728, allocations: 3.207 MB / 0.8093 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.729, allocations: 0.59 MB / 0.8099 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009259/1.738, allocations: 4.697 MB / 0.8145 GB, free: 11.4 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-05/1.738, allocations: 29.08 kB / 0.8145 GB, free: 11.38 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.738, allocations: 4 kB / 0.8145 GB, free: 11.37 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.411e-05/1.738, allocations: 19.91 kB / 0.8145 GB, free: 11.35 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3047/2.043, allocations: 11.85 MB / 0.8261 GB, free: 141.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-05/2.043, allocations: 6.156 kB / 0.8261 GB, free: 141.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/2.046, allocations: 0.5144 MB / 0.8266 GB, free: 141.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/2.048, allocations: 0.7181 MB / 0.8273 GB, free: 141.5 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004383/2.049, allocations: 46 kB / 0.8274 GB, free: 141.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009833/2.059, allocations: 8.651 MB / 0.8358 GB, free: 137.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/2.059, allocations: 3.469 kB / 0.8358 GB, free: 137.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/2.071, allocations: 8.207 MB / 0.8438 GB, free: 134.9 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003962/2.075, allocations: 1.042 MB / 0.8449 GB, free: 134.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001953/2.077, allocations: 40.53 kB / 0.8449 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/2.08, allocations: 160.8 kB / 0.8451 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004706/2.081, allocations: 149.1 kB / 0.8452 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/2.081, allocations: 68.5 kB / 0.8453 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008328/2.089, allocations: 4.743 MB / 0.8499 GB, free: 133 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.51e-07/2.089, allocations: 0 / 0.8499 GB, free: 133 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009633/2.099, allocations: 1.563 MB / 0.8514 GB, free: 132.8 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006899/2.1, allocations: 191.8 kB / 0.8516 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01323/2.113, allocations: 7.455 MB / 0.8589 GB, free: 130 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/2.113, allocations: 1.438 kB / 0.8589 GB, free: 130 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004304/2.117, allocations: 2.536 MB / 0.8614 GB, free: 128.9 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005839/2.123, allocations: 0.761 MB / 0.8621 GB, free: 128.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03599/2.159, allocations: 17.21 MB / 0.8789 GB, free: 120.1 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/2.169, allocations: 5.042 MB / 0.8838 GB, free: 118.4 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009528/2.179, allocations: 2.764 MB / 0.8865 GB, free: 118.2 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/2.181, allocations: 392.6 kB / 0.8869 GB, free: 118.1 MB / 0.4982 GB Notification: Performance of SimCode: time 1.543e-06/2.181, allocations: 3.938 kB / 0.8869 GB, free: 118.1 MB / 0.4982 GB Notification: Performance of Templates: time 0.1107/2.292, allocations: 57.35 MB / 0.9429 GB, free: 69.72 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) Environment - environmentSimulation: