Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008042/0.0008041, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008305/0.0008306, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.307/0.307, allocations: 38.04 MB / 308.4 MB, free: 10.36 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.0005408/0.0005408, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 57.52 MB / 434 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.2707/0.3819, allocations: 81.35 MB / 0.5032 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03768/0.4196, allocations: 16.62 MB / 0.5195 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01732/0.4369, allocations: 378 kB / 0.5198 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01382/0.4508, allocations: 4.279 MB / 0.524 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03556/0.4864, allocations: 12.41 MB / 0.5361 GB, free: 384 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005245/0.4916, allocations: 0.9251 MB / 0.537 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04529/0.5369, allocations: 35.91 MB / 0.5721 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/0.5487, allocations: 7.257 MB / 0.5792 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00479/0.5536, allocations: 1.957 MB / 0.5811 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004936/0.5585, allocations: 3.073 MB / 0.5841 GB, free: 2.551 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.5597, allocations: 239.9 kB / 0.5843 GB, free: 2.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.5625, allocations: 1.116 MB / 0.5854 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002832/0.5654, allocations: 2.688 MB / 0.588 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.567, allocations: 1.298 MB / 0.5893 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.578, allocations: 8.803 MB / 0.5979 GB, free: 4.371 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.578, allocations: 0 / 0.5979 GB, free: 4.371 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.578, allocations: 3.938 kB / 0.5979 GB, free: 4.367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004005/0.5784, allocations: 3.938 kB / 0.5979 GB, free: 4.363 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01327/0.5917, allocations: 6.261 MB / 0.604 GB, free: 14.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.5918, allocations: 12.03 kB / 0.604 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.6031, allocations: 2.842 MB / 0.6068 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00913/0.6123, allocations: 4.197 MB / 0.6109 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/0.6127, allocations: 377.8 kB / 0.6113 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.6145, allocations: 0.5035 MB / 0.6118 GB, free: 6.027 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02775/0.6423, allocations: 16.4 MB / 0.6278 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.6425, allocations: 67.36 kB / 0.6278 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005795/0.6431, allocations: 235.8 kB / 0.6281 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004691/0.6478, allocations: 3.154 MB / 0.6311 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2239/0.8717, allocations: 14.22 MB / 0.645 GB, free: 142 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05968/0.9314, allocations: 59.13 MB / 0.7028 GB, free: 103.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/0.9462, allocations: 7.156 MB / 0.7098 GB, free: 100.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/0.9505, allocations: 4.489 MB / 0.7141 GB, free: 98.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01762/0.9681, allocations: 15.44 MB / 0.7292 GB, free: 83.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.9682, allocations: 66.59 kB / 0.7293 GB, free: 83.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 4.959e-06/0.9682, allocations: 0 / 0.7293 GB, free: 83.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.06705/1.035, allocations: 32.75 MB / 0.7613 GB, free: 50.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/1.035, allocations: 222.2 kB / 0.7615 GB, free: 50.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005297/1.041, allocations: 5.324 MB / 0.7667 GB, free: 45.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004807/1.041, allocations: 79.67 kB / 0.7667 GB, free: 45.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001686/1.043, allocations: 4.338 MB / 0.771 GB, free: 40.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008892/1.044, allocations: 1.276 MB / 0.7722 GB, free: 39.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/1.044, allocations: 172 kB / 0.7724 GB, free: 39.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002884/1.044, allocations: 0.6616 MB / 0.773 GB, free: 38.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004396/1.049, allocations: 3.889 MB / 0.7768 GB, free: 34.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005719/1.055, allocations: 8.389 MB / 0.785 GB, free: 24.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006009/1.061, allocations: 5.589 MB / 0.7905 GB, free: 18.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.772e-05/1.061, allocations: 44 kB / 0.7905 GB, free: 18.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.0188/1.079, allocations: 14.2 MB / 0.8044 GB, free: 4.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.966e-05/1.08, allocations: 72 kB / 0.8045 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/1.08, allocations: 156.1 kB / 0.8046 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004626/1.084, allocations: 2.272 MB / 0.8068 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006092/1.091, allocations: 1.989 MB / 0.8088 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/1.107, allocations: 13.49 MB / 0.8219 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005936/1.113, allocations: 0.5019 MB / 0.8224 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000995/1.114, allocations: 487.9 kB / 0.8229 GB, free: 1.008 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2024/1.316, allocations: 3.082 MB / 0.8259 GB, free: 146.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009134/1.317, allocations: 0.4988 MB / 0.8264 GB, free: 146.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.329, allocations: 8.382 MB / 0.8346 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-05/1.329, allocations: 36.09 kB / 0.8346 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/1.329, allocations: 9.906 kB / 0.8346 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/1.33, allocations: 20.06 kB / 0.8346 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/1.355, allocations: 17.13 MB / 0.8514 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/1.355, allocations: 3 kB / 0.8514 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003069/1.358, allocations: 0.6146 MB / 0.852 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005441/1.363, allocations: 2.027 MB / 0.854 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005029/1.364, allocations: 63.72 kB / 0.854 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/1.38, allocations: 12.72 MB / 0.8664 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.38, allocations: 5.875 kB / 0.8664 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/1.398, allocations: 13.11 MB / 0.8792 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002543/1.401, allocations: 1.147 MB / 0.8804 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007624/1.402, allocations: 56.59 kB / 0.8804 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.404, allocations: 270 kB / 0.8807 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004942/1.404, allocations: 200.3 kB / 0.8809 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.405, allocations: 91.89 kB / 0.881 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004577/1.409, allocations: 3.328 MB / 0.8842 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.409, allocations: 3.25 kB / 0.8842 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007122/1.416, allocations: 1.696 MB / 0.8859 GB, free: 126.9 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004988/1.417, allocations: 211.8 kB / 0.8861 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.429, allocations: 9.492 MB / 0.8953 GB, free: 119 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.429, allocations: 2.531 kB / 0.8953 GB, free: 119 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005625/1.434, allocations: 4.093 MB / 0.8993 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003664/1.438, allocations: 0.6499 MB / 0.9 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/1.459, allocations: 18.47 MB / 0.918 GB, free: 95.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00462/1.464, allocations: 4.794 MB / 0.9227 GB, free: 91.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005942/1.47, allocations: 2.648 MB / 0.9253 GB, free: 88.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.471, allocations: 379.3 kB / 0.9256 GB, free: 88.06 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/1.471, allocations: 0 / 0.9256 GB, free: 88.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.08632/1.558, allocations: 64.53 MB / 0.9887 GB, free: 23.61 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) Environment - environmentSimulation: