Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005867/0.005867, allocations: 102.3 kB / 15.73 MB, free: 6.023 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.001263/0.001263, allocations: 194.7 kB / 16.67 MB, free: 5.938 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.461/1.461, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.3602/0.3602, allocations: 38 MB / 307.9 MB, free: 10.15 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.002174/0.002174, allocations: 71.89 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3384, allocations: 56.47 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01617/0.3546, allocations: 17.11 MB / 0.4947 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.3674, allocations: 5.252 MB / 0.4999 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005192/0.3726, allocations: 111.2 kB / 0.5 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.383, allocations: 4.841 MB / 0.5047 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.3931, allocations: 2.763 MB / 0.5074 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.3967, allocations: 1.153 MB / 0.5085 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.4096, allocations: 6.997 MB / 0.5154 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.4197, allocations: 6.092 MB / 0.5213 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006064/0.4259, allocations: 2.621 MB / 0.5239 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006485/0.4324, allocations: 3.555 MB / 0.5273 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0028/0.4352, allocations: 0.5781 MB / 0.5279 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005138/0.4404, allocations: 1.604 MB / 0.5295 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005216/0.4456, allocations: 3.308 MB / 0.5327 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007524/0.4532, allocations: 3.787 MB / 0.5364 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01802/0.4712, allocations: 11.99 MB / 0.5481 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4713, allocations: 3.938 kB / 0.5481 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4713, allocations: 0 / 0.5481 GB, free: 11.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004997/0.4718, allocations: 4 kB / 0.5481 GB, free: 11.51 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02215/0.494, allocations: 8.279 MB / 0.5562 GB, free: 3.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.494, allocations: 11.89 kB / 0.5562 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01426/0.5083, allocations: 2.917 MB / 0.5591 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.52, allocations: 4.656 MB / 0.5636 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004876/0.5205, allocations: 394.1 kB / 0.564 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/0.5233, allocations: 0.5269 MB / 0.5645 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04285/0.5662, allocations: 16.91 MB / 0.581 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004802/0.5667, allocations: 67.45 kB / 0.5811 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00249/0.5693, allocations: 251.8 kB / 0.5813 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006481/0.5758, allocations: 3.252 MB / 0.5845 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03285/0.6086, allocations: 14.5 MB / 0.5987 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6307/1.239, allocations: 62.54 MB / 0.6597 GB, free: 83.61 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01994/1.259, allocations: 6.888 MB / 0.6665 GB, free: 82.34 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007254/1.267, allocations: 4.245 MB / 0.6706 GB, free: 80.63 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01905/1.286, allocations: 9.689 MB / 0.6801 GB, free: 76.42 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/1.286, allocations: 66.16 kB / 0.6801 GB, free: 76.36 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=297): time 7.544e-06/1.286, allocations: 0 / 0.6801 GB, free: 76.36 MB / 0.4982 GB Notification: Performance of matching and sorting (n=339): time 0.08641/1.372, allocations: 35.25 MB / 0.7146 GB, free: 58.25 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/1.372, allocations: 247.7 kB / 0.7148 GB, free: 57.96 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009012/1.381, allocations: 6.766 MB / 0.7214 GB, free: 51.31 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009776/1.383, allocations: 77.7 kB / 0.7215 GB, free: 51.23 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003172/1.386, allocations: 4.923 MB / 0.7263 GB, free: 46.56 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001877/1.388, allocations: 1.328 MB / 0.7276 GB, free: 45.25 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002792/1.39, allocations: 1.893 MB / 0.7294 GB, free: 43.35 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/1.39, allocations: 309.1 kB / 0.7297 GB, free: 43.04 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005266/1.396, allocations: 4.067 MB / 0.7337 GB, free: 38.97 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007987/1.404, allocations: 9.145 MB / 0.7426 GB, free: 27.41 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/1.419, allocations: 14.16 MB / 0.7565 GB, free: 10.83 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.419, allocations: 52 kB / 0.7565 GB, free: 10.78 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.03134/1.45, allocations: 15.15 MB / 0.7713 GB, free: 11.62 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002623/1.45, allocations: 80 kB / 0.7714 GB, free: 11.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003597/1.451, allocations: 180 kB / 0.7715 GB, free: 11.36 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/1.457, allocations: 2.285 MB / 0.7738 GB, free: 9.07 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008554/1.466, allocations: 2.152 MB / 0.7759 GB, free: 6.914 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/1.487, allocations: 14.45 MB / 0.79 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/1.498, allocations: 0.5428 MB / 0.7905 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002227/1.5, allocations: 0.5273 MB / 0.791 GB, free: 7.125 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1125): * Single equations (assignments): 1118 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009113/1.509, allocations: 3.285 MB / 0.7942 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002328/1.511, allocations: 0.6092 MB / 0.7948 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/1.531, allocations: 8.451 MB / 0.8031 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.967e-05/1.531, allocations: 43.45 kB / 0.8031 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-05/1.531, allocations: 12 kB / 0.8031 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.937e-05/1.531, allocations: 23.88 kB / 0.8032 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04141/1.572, allocations: 16.9 MB / 0.8197 GB, free: 9.699 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.838e-05/1.572, allocations: 4.469 kB / 0.8197 GB, free: 9.695 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003626/1.576, allocations: 0.5889 MB / 0.8203 GB, free: 9.105 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006207/1.582, allocations: 2.038 MB / 0.8222 GB, free: 7.059 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009465/1.583, allocations: 67.98 kB / 0.8223 GB, free: 6.992 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/1.604, allocations: 13.77 MB / 0.8358 GB, free: 8.953 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/1.605, allocations: 9.719 kB / 0.8358 GB, free: 8.945 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02722/1.632, allocations: 13.15 MB / 0.8486 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003726/1.636, allocations: 1.262 MB / 0.8498 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/1.637, allocations: 60 kB / 0.8499 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00445/1.642, allocations: 239.6 kB / 0.8501 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009807/1.643, allocations: 209.9 kB / 0.8503 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005127/1.643, allocations: 90.17 kB / 0.8504 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008629/1.652, allocations: 4.35 MB / 0.8547 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.1e-07/1.652, allocations: 0 / 0.8547 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01227/1.664, allocations: 1.769 MB / 0.8564 GB, free: 3.676 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001424/1.666, allocations: 212.6 kB / 0.8566 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2817/1.948, allocations: 9.834 MB / 0.8662 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.948, allocations: 1.688 kB / 0.8662 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007289/1.955, allocations: 3.989 MB / 0.8701 GB, free: 201.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/1.96, allocations: 0.7671 MB / 0.8708 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03991/2, allocations: 16.87 MB / 0.8873 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01207/2.012, allocations: 5.032 MB / 0.8922 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01289/2.025, allocations: 2.978 MB / 0.8951 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002791/2.028, allocations: 415.2 kB / 0.8955 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/2.028, allocations: 0 / 0.8955 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1071/2.135, allocations: 67.74 MB / 0.9617 GB, free: 134.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)