Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00936/0.00936, allocations: 100.5 kB / 15.73 MB, free: 6.469 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.001821/0.001821, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.637/1.637, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.4354/0.4354, allocations: 39.94 MB / 309.8 MB, free: 9.246 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.001867/0.001867, allocations: 67.91 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4264, allocations: 56.87 MB / 492.7 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01887/0.4454, allocations: 16.17 MB / 0.4969 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.4599, allocations: 5.11 MB / 0.5019 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007366/0.4674, allocations: 99.66 kB / 0.502 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009211/0.4766, allocations: 4.568 MB / 0.5065 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.4874, allocations: 2.576 MB / 0.509 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.4919, allocations: 1.152 MB / 0.5101 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01462/0.5065, allocations: 6.639 MB / 0.5166 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/0.517, allocations: 5.884 MB / 0.5224 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006946/0.524, allocations: 2.515 MB / 0.5248 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006752/0.5308, allocations: 3.411 MB / 0.5281 GB, free: 80 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002151/0.533, allocations: 0.5665 MB / 0.5287 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/0.5377, allocations: 1.576 MB / 0.5302 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004029/0.5417, allocations: 3.148 MB / 0.5333 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005903/0.5477, allocations: 3.597 MB / 0.5368 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.5647, allocations: 11.44 MB / 0.548 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5648, allocations: 0 / 0.548 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5648, allocations: 0 / 0.548 GB, free: 11.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005185/0.5653, allocations: 0 / 0.548 GB, free: 11.68 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02517/0.5905, allocations: 7.567 MB / 0.5554 GB, free: 4.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.5906, allocations: 11.89 kB / 0.5554 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/0.6053, allocations: 2.784 MB / 0.5581 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.6188, allocations: 4.35 MB / 0.5624 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004914/0.6194, allocations: 381.8 kB / 0.5627 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00279/0.6222, allocations: 0.4997 MB / 0.5632 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03653/0.6587, allocations: 16.41 MB / 0.5792 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002992/0.6591, allocations: 59.42 kB / 0.5793 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001689/0.6608, allocations: 239.8 kB / 0.5795 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005743/0.6665, allocations: 3.158 MB / 0.5826 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03097/0.6975, allocations: 14.26 MB / 0.5965 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5018/1.199, allocations: 58.79 MB / 0.6539 GB, free: 87.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/1.219, allocations: 7.176 MB / 0.661 GB, free: 86.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006719/1.225, allocations: 4.505 MB / 0.6654 GB, free: 84.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02685/1.252, allocations: 15.42 MB / 0.6804 GB, free: 78.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/1.252, allocations: 70.41 kB / 0.6805 GB, free: 78.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=306): time 5.49e-06/1.252, allocations: 1 kB / 0.6805 GB, free: 78.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348): time 0.08668/1.339, allocations: 32.83 MB / 0.7125 GB, free: 56.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/1.339, allocations: 214.2 kB / 0.7127 GB, free: 56.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008288/1.347, allocations: 5.36 MB / 0.718 GB, free: 51.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/1.349, allocations: 77.7 kB / 0.7181 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002534/1.351, allocations: 4.331 MB / 0.7223 GB, free: 46.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002229/1.354, allocations: 1.28 MB / 0.7235 GB, free: 45.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003482/1.357, allocations: 1.717 MB / 0.7252 GB, free: 43.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/1.357, allocations: 305.1 kB / 0.7255 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/1.362, allocations: 3.923 MB / 0.7293 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006759/1.369, allocations: 8.424 MB / 0.7376 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/1.383, allocations: 13.23 MB / 0.7505 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001811/1.384, allocations: 53.53 kB / 0.7505 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.03003/1.414, allocations: 14.27 MB / 0.7645 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002509/1.414, allocations: 72 kB / 0.7645 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004095/1.414, allocations: 156 kB / 0.7647 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006424/1.421, allocations: 2.254 MB / 0.7669 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00861/1.43, allocations: 1.988 MB / 0.7688 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02046/1.45, allocations: 14.42 MB / 0.7829 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009398/1.459, allocations: 0.5032 MB / 0.7834 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002509/1.462, allocations: 487.9 kB / 0.7839 GB, free: 11.06 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1032): * Single equations (assignments): 1027 * 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 {(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.0104/1.472, allocations: 3.094 MB / 0.7869 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002238/1.475, allocations: 0.4936 MB / 0.7874 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01904/1.494, allocations: 8.39 MB / 0.7956 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.567e-05/1.494, allocations: 39.94 kB / 0.7956 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.171e-05/1.494, allocations: 8 kB / 0.7956 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.843e-05/1.494, allocations: 19.94 kB / 0.7956 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04553/1.539, allocations: 16.93 MB / 0.8122 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/1.54, allocations: 7.922 kB / 0.8122 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003736/1.543, allocations: 0.6163 MB / 0.8128 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006173/1.55, allocations: 2.034 MB / 0.8148 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001152/1.551, allocations: 67.98 kB / 0.8148 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/1.573, allocations: 13.75 MB / 0.8282 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.573, allocations: 7.938 kB / 0.8283 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02714/1.6, allocations: 13.16 MB / 0.8411 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00447/1.604, allocations: 1.135 MB / 0.8422 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001882/1.606, allocations: 60 kB / 0.8423 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004201/1.61, allocations: 267.5 kB / 0.8425 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/1.612, allocations: 198.3 kB / 0.8427 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005758/1.612, allocations: 87.98 kB / 0.8428 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008891/1.621, allocations: 3.366 MB / 0.8461 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/1.621, allocations: 0 / 0.8461 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01245/1.633, allocations: 1.682 MB / 0.8477 GB, free: 9.172 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (294): * Single equations (assignments): 289 * 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.001576/1.635, allocations: 217.2 kB / 0.8479 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01967/1.655, allocations: 9.552 MB / 0.8573 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/1.655, allocations: 4.062 kB / 0.8573 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008163/1.663, allocations: 4.109 MB / 0.8613 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006886/1.67, allocations: 0.6702 MB / 0.8619 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3391/2.009, allocations: 15.69 MB / 0.8773 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007875/2.017, allocations: 4.797 MB / 0.8819 GB, free: 212.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007268/2.024, allocations: 2.646 MB / 0.8845 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/2.026, allocations: 376.6 kB / 0.8849 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of SimCode: time 9.02e-07/2.026, allocations: 0 / 0.8849 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.1096/2.136, allocations: 66.25 MB / 0.9496 GB, free: 170.6 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)