Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00303/0.00303, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.794/1.794, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.4456/0.4456, allocations: 39.94 MB / 309.7 MB, free: 9.312 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.001557/0.001557, allocations: 72.45 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1585, allocations: 56.88 MB / 434.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.3042/0.4627, allocations: 20.83 MB / 455.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01567/0.4784, allocations: 6.067 MB / 461.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006023/0.4845, allocations: 142.2 kB / 461.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01161/0.4962, allocations: 6.412 MB / 467.9 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01385/0.5101, allocations: 3.321 MB / 471.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004929/0.5151, allocations: 1.596 MB / 472.9 MB, free: 32.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01445/0.5296, allocations: 9.813 MB / 482.7 MB, free: 29.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01123/0.5409, allocations: 8.364 MB / 491 MB, free: 26.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/0.5519, allocations: 3.43 MB / 494.5 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.5632, allocations: 4.767 MB / 499.2 MB, free: 23.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005098/0.5683, allocations: 0.7742 MB / 0.4883 GB, free: 23.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008366/0.5767, allocations: 1.771 MB / 0.49 GB, free: 23.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00929/0.586, allocations: 4.325 MB / 0.4942 GB, free: 21.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01489/0.6009, allocations: 4.819 MB / 0.4989 GB, free: 18.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02699/0.628, allocations: 14.56 MB / 0.5132 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.628, allocations: 3.938 kB / 0.5132 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.628, allocations: 0 / 0.5132 GB, free: 6.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006441/0.6287, allocations: 0 / 0.5132 GB, free: 6.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.0336/0.6623, allocations: 10.08 MB / 0.523 GB, free: 12.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/0.6624, allocations: 11.89 kB / 0.523 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02226/0.6847, allocations: 3.732 MB / 0.5267 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/0.7028, allocations: 6.569 MB / 0.5331 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005523/0.7033, allocations: 494.9 kB / 0.5336 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003821/0.7072, allocations: 0.6645 MB / 0.5342 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04993/0.7571, allocations: 19.92 MB / 0.5537 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004268/0.7576, allocations: 87.2 kB / 0.5537 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00179/0.7594, allocations: 311 kB / 0.554 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006559/0.766, allocations: 3.605 MB / 0.5576 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03858/0.8046, allocations: 16.75 MB / 0.5739 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.626/1.431, allocations: 73.14 MB / 0.6453 GB, free: 88.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01997/1.451, allocations: 8.501 MB / 0.6536 GB, free: 88.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005883/1.457, allocations: 4.543 MB / 0.6581 GB, free: 87.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/1.457, allocations: 0.6707 MB / 0.6587 GB, free: 87.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.457, allocations: 64.88 kB / 0.6588 GB, free: 86.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=311): time 6.362e-06/1.457, allocations: 3.125 kB / 0.6588 GB, free: 86.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=335): time 0.09463/1.552, allocations: 35.74 MB / 0.6937 GB, free: 74.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/1.552, allocations: 292.9 kB / 0.694 GB, free: 74.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/1.563, allocations: 7.824 MB / 0.7016 GB, free: 71.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009688/1.564, allocations: 79.95 kB / 0.7017 GB, free: 71.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003575/1.567, allocations: 5.74 MB / 0.7073 GB, free: 66.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001844/1.569, allocations: 1.269 MB / 0.7085 GB, free: 65.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00278/1.572, allocations: 2.082 MB / 0.7106 GB, free: 64.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.452e-05/1.572, allocations: 304.7 kB / 0.7109 GB, free: 64.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005015/1.577, allocations: 4.116 MB / 0.7149 GB, free: 63.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007142/1.584, allocations: 9.845 MB / 0.7245 GB, free: 54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/1.599, allocations: 14.91 MB / 0.7391 GB, free: 36.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002342/1.599, allocations: 63.94 kB / 0.7391 GB, free: 36.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0295/1.629, allocations: 15.81 MB / 0.7546 GB, free: 21.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002967/1.629, allocations: 92.22 kB / 0.7546 GB, free: 20.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003578/1.629, allocations: 200 kB / 0.7548 GB, free: 20.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005807/1.635, allocations: 2.337 MB / 0.7571 GB, free: 18.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008079/1.643, allocations: 2.355 MB / 0.7594 GB, free: 16.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/1.659, allocations: 16.76 MB / 0.7758 GB, free: 14.77 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/1.67, allocations: 0.5774 MB / 0.7763 GB, free: 14.19 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003121/1.673, allocations: 0.5781 MB / 0.7769 GB, free: 13.61 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1250): * Single equations (assignments): 1243 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009609/1.683, allocations: 3.885 MB / 0.7807 GB, free: 9.715 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002112/1.685, allocations: 0.6634 MB / 0.7814 GB, free: 9.043 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/1.7, allocations: 7.996 MB / 0.7892 GB, free: 1.012 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.024e-05/1.7, allocations: 36 kB / 0.7892 GB, free: 0.9766 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-05/1.7, allocations: 12 kB / 0.7892 GB, free: 0.9648 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.65e-05/1.7, allocations: 15.94 kB / 0.7892 GB, free: 0.9492 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03849/1.739, allocations: 17.4 MB / 0.8062 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/1.739, allocations: 0 / 0.8062 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/1.742, allocations: 0.5539 MB / 0.8068 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005477/1.747, allocations: 2.01 MB / 0.8087 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004204/1.748, allocations: 56 kB / 0.8088 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01949/1.767, allocations: 15.62 MB / 0.824 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.767, allocations: 7.969 kB / 0.824 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/1.788, allocations: 12.41 MB / 0.8361 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2735/2.062, allocations: 1.271 MB / 0.8374 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002469/2.064, allocations: 56.66 kB / 0.8374 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004482/2.069, allocations: 230.5 kB / 0.8377 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006457/2.07, allocations: 190.3 kB / 0.8378 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/2.07, allocations: 90.14 kB / 0.8379 GB, free: 178.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008392/2.078, allocations: 4.997 MB / 0.8428 GB, free: 178.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/2.078, allocations: 0 / 0.8428 GB, free: 178.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01153/2.09, allocations: 2.018 MB / 0.8448 GB, free: 178.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/2.091, allocations: 206.9 kB / 0.845 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02109/2.112, allocations: 12.38 MB / 0.8571 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/2.112, allocations: 0 / 0.8571 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007323/2.119, allocations: 3.65 MB / 0.8606 GB, free: 173.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01238/2.132, allocations: 0.9664 MB / 0.8616 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06004/2.192, allocations: 19.06 MB / 0.8802 GB, free: 165.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01929/2.211, allocations: 5.953 MB / 0.886 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01593/2.227, allocations: 3.075 MB / 0.889 GB, free: 163.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003615/2.231, allocations: 456 kB / 0.8894 GB, free: 163.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.653e-06/2.231, allocations: 0 / 0.8894 GB, free: 163.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1541/2.385, allocations: 81.61 MB / 0.9691 GB, free: 94.43 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)