Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.1 MB / 344.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 76.2 kB / 417.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.136, allocations: 62.42 MB / 479.9 MB, free: 9.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3309/0.467, allocations: 88.29 MB / 0.5549 GB, free: 35.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03717/0.5042, allocations: 16.96 MB / 0.5715 GB, free: 34.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02061/0.5249, allocations: 387.3 kB / 0.5718 GB, free: 34.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008452/0.5334, allocations: 5.009 MB / 0.5767 GB, free: 34.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007472/0.541, allocations: 2.359 MB / 0.579 GB, free: 33.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.5442, allocations: 1.156 MB / 0.5802 GB, free: 33.31 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01662/0.5608, allocations: 11.4 MB / 0.5913 GB, free: 30.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00859/0.5695, allocations: 5.891 MB / 0.597 GB, free: 28.78 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005023/0.5745, allocations: 2.232 MB / 0.5992 GB, free: 27.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006073/0.5807, allocations: 3.69 MB / 0.6028 GB, free: 26.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001801/0.5825, allocations: 385.6 kB / 0.6032 GB, free: 26.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.5862, allocations: 1.47 MB / 0.6046 GB, free: 26.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00352/0.5898, allocations: 3.013 MB / 0.6076 GB, free: 25.25 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004839/0.5946, allocations: 3.317 MB / 0.6108 GB, free: 22.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008597/0.6032, allocations: 8.57 MB / 0.6192 GB, free: 17.21 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.6033, allocations: 0 / 0.6192 GB, free: 17.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6033, allocations: 0 / 0.6192 GB, free: 17.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003865/0.6037, allocations: 4 kB / 0.6192 GB, free: 17.21 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: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.01801/0.6217, allocations: 7.532 MB / 0.6265 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6218, allocations: 12.88 kB / 0.6266 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/0.635, allocations: 3.06 MB / 0.6295 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009716/0.6448, allocations: 4.748 MB / 0.6342 GB, free: 2.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.6451, allocations: 363.8 kB / 0.6345 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/0.6468, allocations: 495.8 kB / 0.635 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02687/0.6737, allocations: 14.28 MB / 0.649 GB, free: 2.773 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002116/0.6739, allocations: 79.3 kB / 0.649 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006893/0.6746, allocations: 228.8 kB / 0.6492 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004215/0.6789, allocations: 2.537 MB / 0.6517 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02448/0.7034, allocations: 11.83 MB / 0.6633 GB, free: 4.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07431/0.7777, allocations: 56.13 MB / 0.7181 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.7899, allocations: 4.654 MB / 0.7226 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004264/0.7941, allocations: 2.903 MB / 0.7255 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/0.7944, allocations: 38.98 kB / 0.7255 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.7945, allocations: 51.5 kB / 0.7256 GB, free: 3.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 6.101e-06/0.7945, allocations: 4 kB / 0.7256 GB, free: 3.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=204): time 0.07018/0.8647, allocations: 23.1 MB / 0.7481 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.8649, allocations: 256.7 kB / 0.7484 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/0.8765, allocations: 6.674 MB / 0.7549 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005873/0.8771, allocations: 60.75 kB / 0.7549 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003709/0.8809, allocations: 4.488 MB / 0.7593 GB, free: 216 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.2494/1.13, allocations: 0.811 MB / 0.7601 GB, free: 204.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003298/1.134, allocations: 1.667 MB / 0.7617 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.898e-05/1.134, allocations: 305.8 kB / 0.762 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004482/1.138, allocations: 2.889 MB / 0.7649 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007147/1.145, allocations: 7.795 MB / 0.7725 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/1.156, allocations: 11.43 MB / 0.7836 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000186/1.157, allocations: 54.12 kB / 0.7837 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.02278/1.18, allocations: 11.9 MB / 0.7953 GB, free: 187.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000183/1.18, allocations: 81.91 kB / 0.7954 GB, free: 187.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000304/1.18, allocations: 178.7 kB / 0.7956 GB, free: 187.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005047/1.185, allocations: 1.771 MB / 0.7973 GB, free: 187 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006553/1.192, allocations: 1.84 MB / 0.7991 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.206, allocations: 11.75 MB / 0.8106 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007366/1.214, allocations: 452.8 kB / 0.811 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001949/1.216, allocations: 491.8 kB / 0.8115 GB, free: 179.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (987): * Single equations (assignments): 981 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.006869/1.223, allocations: 2.971 MB / 0.8144 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.224, allocations: 0.5352 MB / 0.8149 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009638/1.234, allocations: 4.866 MB / 0.8196 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.071e-05/1.234, allocations: 23.31 kB / 0.8197 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.883e-05/1.234, allocations: 12.31 kB / 0.8197 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-05/1.234, allocations: 8.672 kB / 0.8197 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/1.255, allocations: 11.11 MB / 0.8305 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.255, allocations: 1.312 kB / 0.8305 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.256, allocations: 325.4 kB / 0.8308 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003696/1.26, allocations: 1.494 MB / 0.8323 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/1.26, allocations: 37.73 kB / 0.8323 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/1.271, allocations: 10.85 MB / 0.8429 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.271, allocations: 0 / 0.8429 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.282, allocations: 7.951 MB / 0.8507 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/1.283, allocations: 0.6072 MB / 0.8513 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.285, allocations: 43.7 kB / 0.8513 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/1.287, allocations: 135.8 kB / 0.8515 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004936/1.288, allocations: 133.1 kB / 0.8516 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.288, allocations: 54.31 kB / 0.8516 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006427/1.294, allocations: 4.253 MB / 0.8558 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.51e-07/1.294, allocations: 0 / 0.8558 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007983/1.302, allocations: 1.453 MB / 0.8572 GB, free: 147.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.000527/1.303, allocations: 174.4 kB / 0.8574 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009288/1.312, allocations: 7.08 MB / 0.8643 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.312, allocations: 0 / 0.8643 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002621/1.315, allocations: 2.284 MB / 0.8665 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004564/1.319, allocations: 0.7094 MB / 0.8672 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/1.342, allocations: 16.97 MB / 0.8838 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004986/1.347, allocations: 4.5 MB / 0.8882 GB, free: 116 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/1.348, allocations: 407.4 kB / 0.8886 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/1.348, allocations: 0 / 0.8886 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.4082/1.756, allocations: 164.9 MB / 1.05 GB, free: 164.3 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches