Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007288/0.0007288, allocations: 91.84 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.0007553/0.0007554, 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.284/1.284, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.2892/0.2892, allocations: 38.04 MB / 308.4 MB, free: 10.42 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.0005013/0.0005013, allocations: 20 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1028, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.2865/0.3894, allocations: 114.2 MB / 0.5353 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0585/0.4479, allocations: 22.58 MB / 0.5574 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02688/0.4749, allocations: 0.5222 MB / 0.5579 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02189/0.4968, allocations: 6.039 MB / 0.5638 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05371/0.5505, allocations: 17.43 MB / 0.5808 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008527/0.5591, allocations: 1.235 MB / 0.582 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3793/0.9385, allocations: 67.68 MB / 0.6481 GB, free: 51.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01794/0.9565, allocations: 10.06 MB / 0.658 GB, free: 50.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008546/0.9651, allocations: 2.673 MB / 0.6606 GB, free: 50.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01049/0.9756, allocations: 4.319 MB / 0.6648 GB, free: 50.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002999/0.9786, allocations: 311.8 kB / 0.6651 GB, free: 50.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006212/0.9849, allocations: 1.18 MB / 0.6662 GB, free: 50.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008616/0.9935, allocations: 3.736 MB / 0.6699 GB, free: 50.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00515/0.9987, allocations: 1.708 MB / 0.6716 GB, free: 50.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01731/1.016, allocations: 11.62 MB / 0.6829 GB, free: 46.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.016, allocations: 0 / 0.6829 GB, free: 46.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.465e-06/1.016, allocations: 4 kB / 0.6829 GB, free: 46.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007804/1.017, allocations: 0 / 0.6829 GB, free: 46.6 MB / 494.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.02605/1.043, allocations: 8.341 MB / 0.691 GB, free: 40.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.043, allocations: 8.031 kB / 0.6911 GB, free: 40.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01877/1.062, allocations: 3.801 MB / 0.6948 GB, free: 36.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/1.078, allocations: 6.451 MB / 0.7011 GB, free: 32.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/1.079, allocations: 0.4886 MB / 0.7015 GB, free: 31.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003326/1.082, allocations: 0.6634 MB / 0.7022 GB, free: 31.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04374/1.126, allocations: 19.9 MB / 0.7216 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004374/1.126, allocations: 96.53 kB / 0.7217 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002062/1.128, allocations: 311.9 kB / 0.722 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005443/1.134, allocations: 3.6 MB / 0.7255 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03466/1.169, allocations: 16.71 MB / 0.7418 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/1.272, allocations: 73.14 MB / 0.8133 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02033/1.292, allocations: 8.499 MB / 0.8216 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006678/1.299, allocations: 4.54 MB / 0.826 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009584/1.3, allocations: 0.6656 MB / 0.8267 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.943e-05/1.3, allocations: 76.25 kB / 0.8267 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=311): time 6.873e-06/1.3, allocations: 0 / 0.8267 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=335): time 0.3695/1.67, allocations: 35.68 MB / 0.8616 GB, free: 217.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.67, allocations: 296.1 kB / 0.8619 GB, free: 217.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/1.681, allocations: 7.769 MB / 0.8694 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008807/1.682, allocations: 75.2 kB / 0.8695 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003746/1.686, allocations: 5.74 MB / 0.8751 GB, free: 210.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.688, allocations: 1.281 MB / 0.8764 GB, free: 210 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006606/1.688, allocations: 201.3 kB / 0.8766 GB, free: 209.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0004976/1.689, allocations: 0.7392 MB / 0.8773 GB, free: 209.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006008/1.695, allocations: 4.078 MB / 0.8813 GB, free: 208 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009169/1.704, allocations: 9.804 MB / 0.8908 GB, free: 199 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/1.715, allocations: 6.154 MB / 0.8968 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002701/1.715, allocations: 60.42 kB / 0.8969 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.04026/1.755, allocations: 15.73 MB / 0.9123 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003247/1.756, allocations: 99.67 kB / 0.9124 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004788/1.756, allocations: 196.5 kB / 0.9126 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006554/1.763, allocations: 2.349 MB / 0.9148 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009102/1.772, allocations: 2.355 MB / 0.9171 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/1.79, allocations: 15.6 MB / 0.9324 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/1.801, allocations: 0.5726 MB / 0.9329 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002724/1.804, allocations: 0.5865 MB / 0.9335 GB, free: 180.7 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01154/1.815, allocations: 3.889 MB / 0.9373 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002347/1.818, allocations: 0.6659 MB / 0.938 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/1.834, allocations: 7.973 MB / 0.9457 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.858e-05/1.834, allocations: 36 kB / 0.9458 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.824e-05/1.834, allocations: 8 kB / 0.9458 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.858e-05/1.834, allocations: 18.8 kB / 0.9458 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03741/1.871, allocations: 17.35 MB / 0.9628 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/1.871, allocations: 1.125 kB / 0.9628 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/1.874, allocations: 0.5655 MB / 0.9633 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004798/1.879, allocations: 1.994 MB / 0.9653 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006299/1.88, allocations: 56 kB / 0.9653 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/1.894, allocations: 14.45 MB / 0.9794 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.894, allocations: 0 / 0.9794 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/1.91, allocations: 12.36 MB / 0.9915 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003303/1.914, allocations: 1.293 MB / 0.9927 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.915, allocations: 56 kB / 0.9928 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/1.917, allocations: 240.2 kB / 0.993 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004705/1.918, allocations: 202.4 kB / 0.9932 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/1.918, allocations: 85.5 kB / 0.9933 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007221/1.925, allocations: 4.945 MB / 0.9981 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/1.925, allocations: 4 kB / 0.9981 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01068/1.936, allocations: 2.007 MB / 1 GB, free: 120.4 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007157/1.937, allocations: 214.5 kB / 1 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01722/1.954, allocations: 10.04 MB / 1.01 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.954, allocations: 4.125 kB / 1.01 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004551/1.958, allocations: 3.644 MB / 1.014 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005698/1.964, allocations: 0.911 MB / 1.015 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03372/1.998, allocations: 22.2 MB / 1.036 GB, free: 83.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007145/2.005, allocations: 5.952 MB / 1.042 GB, free: 77.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00805/2.013, allocations: 3.076 MB / 1.045 GB, free: 74.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/2.015, allocations: 459.4 kB / 1.045 GB, free: 73.8 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/2.015, allocations: 0 / 1.045 GB, free: 73.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.3915/2.406, allocations: 75.36 MB / 1.119 GB, free: 198 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) Environment - environmentSimulation: