Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008135/0.0008136, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.0008554/0.0008556, allocations: 171.7 kB / 16.26 MB, free: 6.664 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.54/1.54, 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.2+maint.om/package.mo): time 0.3674/0.3674, allocations: 40.01 MB / 310.7 MB, free: 9.898 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.2. 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.0007324/0.0007324, allocations: 20 kB / 379.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1592, allocations: 57.95 MB / 437.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3881/0.5474, allocations: 71.42 MB / 0.4969 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05068/0.5981, allocations: 14.43 MB / 0.511 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02774/0.6259, allocations: 313.6 kB / 0.5113 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003367/0.6293, allocations: 0.5148 MB / 0.5118 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009493/0.6389, allocations: 2.232 MB / 0.514 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.6423, allocations: 0.8159 MB / 0.5148 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01955/0.6619, allocations: 8.562 MB / 0.5231 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01654/0.6785, allocations: 6.202 MB / 0.5292 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006576/0.6852, allocations: 1.549 MB / 0.5307 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007643/0.6928, allocations: 2.649 MB / 0.5333 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002388/0.6953, allocations: 183.3 kB / 0.5335 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006091/0.7014, allocations: 1.313 MB / 0.5347 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005622/0.7071, allocations: 2.353 MB / 0.537 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007727/0.7149, allocations: 2.618 MB / 0.5396 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.731, allocations: 8.7 MB / 0.5481 GB, free: 6.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.7311, allocations: 8 kB / 0.5481 GB, free: 6.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.072e-06/0.7311, allocations: 0 / 0.5481 GB, free: 6.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006945/0.7318, allocations: 0 / 0.5481 GB, free: 6.215 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01806/0.7499, allocations: 5.251 MB / 0.5532 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.75, allocations: 8.031 kB / 0.5532 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.7651, allocations: 2.696 MB / 0.5559 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/0.7776, allocations: 3.957 MB / 0.5597 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005077/0.7782, allocations: 300 kB / 0.56 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/0.781, allocations: 403.6 kB / 0.5604 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03513/0.8162, allocations: 12.64 MB / 0.5727 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007218/0.817, allocations: 55.52 kB / 0.5728 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002816/0.8199, allocations: 191.8 kB / 0.573 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005341/0.8252, allocations: 2.405 MB / 0.5753 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02917/0.8544, allocations: 10.56 MB / 0.5856 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4155/1.27, allocations: 48.84 MB / 0.6333 GB, free: 130.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/1.282, allocations: 4.801 MB / 0.638 GB, free: 130.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/1.286, allocations: 2.44 MB / 0.6404 GB, free: 130.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01387/1.299, allocations: 7.163 MB / 0.6474 GB, free: 129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/1.3, allocations: 58.45 kB / 0.6475 GB, free: 129 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 7.224e-06/1.3, allocations: 2.906 kB / 0.6475 GB, free: 129 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05801/1.358, allocations: 17.98 MB / 0.665 GB, free: 122.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.358, allocations: 198.6 kB / 0.6652 GB, free: 122.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01818/1.376, allocations: 5.834 MB / 0.6709 GB, free: 120.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007124/1.377, allocations: 53.08 kB / 0.671 GB, free: 120.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004971/1.382, allocations: 3.951 MB / 0.6748 GB, free: 117.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002017/1.384, allocations: 0.7666 MB / 0.6756 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002804/1.387, allocations: 0.6412 MB / 0.6762 GB, free: 116.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/1.387, allocations: 301.9 kB / 0.6765 GB, free: 116.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007207/1.394, allocations: 2.598 MB / 0.679 GB, free: 115.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.404, allocations: 7.045 MB / 0.6859 GB, free: 108.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01449/1.419, allocations: 10.34 MB / 0.696 GB, free: 100 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000403/1.419, allocations: 46.41 kB / 0.6961 GB, free: 100 MB / 494.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02479/1.444, allocations: 10.4 MB / 0.7062 GB, free: 96.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003963/1.445, allocations: 77 kB / 0.7063 GB, free: 96.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004444/1.445, allocations: 156.1 kB / 0.7064 GB, free: 96.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003304/1.449, allocations: 1.223 MB / 0.7076 GB, free: 95.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006057/1.455, allocations: 1.696 MB / 0.7093 GB, free: 95.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009219/1.464, allocations: 7.774 MB / 0.7169 GB, free: 88.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008399/1.472, allocations: 418.7 kB / 0.7173 GB, free: 87.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00163/1.474, allocations: 447.3 kB / 0.7177 GB, free: 87.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (904): * Single equations (assignments): 897 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008815/1.483, allocations: 2.615 MB / 0.7203 GB, free: 84.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002025/1.485, allocations: 481.7 kB / 0.7207 GB, free: 84.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008425/1.493, allocations: 3.974 MB / 0.7246 GB, free: 80.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/1.493, allocations: 20 kB / 0.7246 GB, free: 80.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.811e-05/1.493, allocations: 8 kB / 0.7246 GB, free: 80.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/1.493, allocations: 7.969 kB / 0.7246 GB, free: 80.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/1.515, allocations: 9.308 MB / 0.7337 GB, free: 70.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/1.515, allocations: 4 kB / 0.7337 GB, free: 70.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/1.517, allocations: 371.7 kB / 0.7341 GB, free: 70.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002615/1.519, allocations: 0.9779 MB / 0.735 GB, free: 69.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002593/1.52, allocations: 35.98 kB / 0.7351 GB, free: 69.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007467/1.527, allocations: 7.101 MB / 0.742 GB, free: 62.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.527, allocations: 5.25 kB / 0.742 GB, free: 62.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009971/1.537, allocations: 6.74 MB / 0.7486 GB, free: 55.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003039/1.54, allocations: 0.8423 MB / 0.7494 GB, free: 54.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/1.542, allocations: 43.06 kB / 0.7495 GB, free: 54.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/1.545, allocations: 115.8 kB / 0.7496 GB, free: 54.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/1.546, allocations: 117 kB / 0.7497 GB, free: 54.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/1.546, allocations: 52 kB / 0.7497 GB, free: 54.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007911/1.554, allocations: 3.729 MB / 0.7534 GB, free: 50.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.554, allocations: 4 kB / 0.7534 GB, free: 50.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01056/1.564, allocations: 1.268 MB / 0.7546 GB, free: 49.08 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0008637/1.565, allocations: 178 kB / 0.7548 GB, free: 48.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0116/1.577, allocations: 6.209 MB / 0.7608 GB, free: 42.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.577, allocations: 4.812 kB / 0.7608 GB, free: 42.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/1.58, allocations: 1.885 MB / 0.7627 GB, free: 40.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009726/1.589, allocations: 0.5879 MB / 0.7633 GB, free: 40.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/1.619, allocations: 14.41 MB / 0.7773 GB, free: 25.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007376/1.627, allocations: 4.017 MB / 0.7813 GB, free: 21.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006468/1.633, allocations: 2.279 MB / 0.7835 GB, free: 19.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/1.635, allocations: 315.4 kB / 0.7838 GB, free: 19.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.906e-06/1.635, allocations: 0 / 0.7838 GB, free: 19.1 MB / 494.1 MB Notification: Performance of Templates: time 0.392/2.027, allocations: 46.61 MB / 0.8293 GB, free: 136.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) Environment - environmentSimulation: