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.001233/0.001233, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001339/0.001339, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.39/1.39, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.298/0.298, allocations: 37.97 MB / 307.4 MB, free: 10.13 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.001434/0.001435, allocations: 74.41 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1214, allocations: 56.47 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3218/0.4432, allocations: 100.9 MB / 0.5196 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05023/0.4935, allocations: 19.14 MB / 0.5383 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02883/0.5224, allocations: 436.2 kB / 0.5387 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.5332, allocations: 4.897 MB / 0.5435 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009164/0.5424, allocations: 2.586 MB / 0.546 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003472/0.5459, allocations: 1.177 MB / 0.5472 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01204/0.5579, allocations: 8.069 MB / 0.5551 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008031/0.566, allocations: 6.472 MB / 0.5614 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005312/0.5713, allocations: 2.745 MB / 0.5641 GB, free: 4.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00637/0.5777, allocations: 4.167 MB / 0.5681 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001469/0.5792, allocations: 0.5898 MB / 0.5687 GB, free: 120 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.5829, allocations: 1.607 MB / 0.5703 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004193/0.5871, allocations: 3.464 MB / 0.5737 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006153/0.5933, allocations: 3.853 MB / 0.5774 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.6084, allocations: 11.61 MB / 0.5888 GB, free: 11.51 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.6085, allocations: 4 kB / 0.5888 GB, free: 11.51 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6085, allocations: 0 / 0.5888 GB, free: 11.51 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004313/0.6089, allocations: 0 / 0.5888 GB, free: 11.51 MB / 462.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.02168/0.6306, allocations: 8.063 MB / 0.5967 GB, free: 3.359 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.6307, allocations: 11.89 kB / 0.5967 GB, free: 3.348 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.6467, allocations: 3.181 MB / 0.5998 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/0.658, allocations: 5.146 MB / 0.6048 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.6584, allocations: 390.4 kB / 0.6052 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001839/0.6602, allocations: 0.5155 MB / 0.6057 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03016/0.6904, allocations: 15.79 MB / 0.6211 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003211/0.6908, allocations: 79.3 kB / 0.6212 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001896/0.6927, allocations: 247.8 kB / 0.6214 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005513/0.6982, allocations: 2.927 MB / 0.6243 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4327/1.131, allocations: 13.15 MB / 0.6371 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07816/1.209, allocations: 60.39 MB / 0.6961 GB, free: 101.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01475/1.224, allocations: 6.083 MB / 0.702 GB, free: 99.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004891/1.229, allocations: 3.38 MB / 0.7053 GB, free: 97.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/1.229, allocations: 44.09 kB / 0.7054 GB, free: 97.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/1.229, allocations: 67.14 kB / 0.7054 GB, free: 97.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 1.017e-05/1.229, allocations: 0 / 0.7054 GB, free: 97.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.06562/1.295, allocations: 25.86 MB / 0.7307 GB, free: 79.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/1.295, allocations: 261.2 kB / 0.7309 GB, free: 79.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009507/1.305, allocations: 6.981 MB / 0.7377 GB, free: 72.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007867/1.305, allocations: 61.7 kB / 0.7378 GB, free: 72.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002794/1.308, allocations: 4.8 MB / 0.7425 GB, free: 67.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001445/1.31, allocations: 1.008 MB / 0.7435 GB, free: 66.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002305/1.312, allocations: 1.806 MB / 0.7452 GB, free: 64.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.71e-05/1.312, allocations: 305.1 kB / 0.7455 GB, free: 64.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003935/1.316, allocations: 3.32 MB / 0.7488 GB, free: 61.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00751/1.324, allocations: 8.482 MB / 0.7571 GB, free: 50.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/1.336, allocations: 12.65 MB / 0.7694 GB, free: 35.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002546/1.336, allocations: 52 kB / 0.7695 GB, free: 34.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02516/1.362, allocations: 13.08 MB / 0.7822 GB, free: 21.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/1.362, allocations: 80 kB / 0.7823 GB, free: 21.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003374/1.362, allocations: 184.1 kB / 0.7825 GB, free: 21.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004651/1.367, allocations: 1.785 MB / 0.7842 GB, free: 19.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007344/1.374, allocations: 2.109 MB / 0.7863 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/1.389, allocations: 12.43 MB / 0.7984 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01365/1.402, allocations: 0.4952 MB / 0.7989 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002585/1.405, allocations: 0.5137 MB / 0.7994 GB, free: 3.902 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 (1087): * Single equations (assignments): 1081 * 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,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009856/1.415, allocations: 3.211 MB / 0.8025 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002338/1.417, allocations: 0.5707 MB / 0.8031 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/1.434, allocations: 5.811 MB / 0.8088 GB, free: 10.26 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.396e-05/1.434, allocations: 28 kB / 0.8088 GB, free: 10.23 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.357e-05/1.434, allocations: 11.94 kB / 0.8088 GB, free: 10.22 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.114e-05/1.434, allocations: 11.95 kB / 0.8088 GB, free: 10.21 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3174/1.752, allocations: 12.92 MB / 0.8214 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/1.752, allocations: 6.922 kB / 0.8215 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002632/1.755, allocations: 0.5034 MB / 0.8219 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003807/1.758, allocations: 1.481 MB / 0.8234 GB, free: 146.2 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002816/1.759, allocations: 47.78 kB / 0.8234 GB, free: 146.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/1.769, allocations: 11.49 MB / 0.8347 GB, free: 140.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.769, allocations: 2.938 kB / 0.8347 GB, free: 140.3 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.783, allocations: 9.435 MB / 0.8439 GB, free: 137 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00328/1.786, allocations: 1.049 MB / 0.8449 GB, free: 136.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/1.788, allocations: 48.38 kB / 0.8449 GB, free: 136.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/1.79, allocations: 170.5 kB / 0.8451 GB, free: 136.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004852/1.791, allocations: 151.3 kB / 0.8453 GB, free: 136.6 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/1.791, allocations: 68.61 kB / 0.8453 GB, free: 136.6 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007663/1.798, allocations: 4.447 MB / 0.8497 GB, free: 135.1 MB / 0.4982 GB Notification: Performance of sort global known variables: time 6.82e-07/1.799, allocations: 1.859 kB / 0.8497 GB, free: 135.1 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01368/1.812, allocations: 1.626 MB / 0.8512 GB, free: 134.9 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 (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 {(1,10,100.0%), (1,10,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.001025/1.813, allocations: 192.9 kB / 0.8514 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0209/1.834, allocations: 9.563 MB / 0.8608 GB, free: 131.9 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.834, allocations: 3.812 kB / 0.8608 GB, free: 131.9 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005093/1.839, allocations: 2.734 MB / 0.8634 GB, free: 130.7 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007422/1.847, allocations: 0.7977 MB / 0.8642 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/1.88, allocations: 18.35 MB / 0.8821 GB, free: 121 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006689/1.886, allocations: 4.903 MB / 0.8869 GB, free: 119.1 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00709/1.893, allocations: 2.742 MB / 0.8896 GB, free: 117.4 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.895, allocations: 389.7 kB / 0.89 GB, free: 117 MB / 0.4982 GB Notification: Performance of SimCode: time 1.232e-06/1.895, allocations: 1.312 kB / 0.89 GB, free: 117 MB / 0.4982 GB Notification: Performance of Templates: time 0.1073/2.002, allocations: 64 MB / 0.9525 GB, free: 54.43 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (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)