Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008886/0.0008887, allocations: 87.86 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1925/0.1925, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.858e-05, allocations: 6.656 kB / 460.4 MB, free: 70.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 63.25 MB / 0.5114 GB, free: 6.824 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.5108, allocations: 107.8 MB / 0.6167 GB, free: 2.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5111, allocations: 74.41 kB / 0.6167 GB, free: 2.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7075/1.219, allocations: 161.5 MB / 0.7744 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.634e-06/1.219, allocations: 1.156 kB / 0.7744 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007796/1.219, allocations: 157.8 kB / 0.7746 GB, free: 104.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02556/1.245, allocations: 7.707 MB / 0.7821 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/1.245, allocations: 11.72 kB / 0.7821 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04245/1.288, allocations: 11.94 MB / 0.7938 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02096/1.309, allocations: 9.082 MB / 0.8026 GB, free: 99.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007362/1.309, allocations: 0.571 MB / 0.8032 GB, free: 99.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003495/1.313, allocations: 0.7663 MB / 0.8039 GB, free: 99.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03752/1.35, allocations: 17.98 MB / 0.8215 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002965/1.351, allocations: 109 kB / 0.8216 GB, free: 95.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/1.352, allocations: 363.2 kB / 0.8219 GB, free: 95.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/1.353, allocations: 1.574 MB / 0.8235 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02651/1.38, allocations: 14.38 MB / 0.8375 GB, free: 92.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06593/1.446, allocations: 75.48 MB / 0.9112 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01645/1.462, allocations: 7.272 MB / 0.9183 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003602/1.466, allocations: 3.442 MB / 0.9217 GB, free: 18.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/1.467, allocations: 0.6541 MB / 0.9223 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/1.467, allocations: 64.06 kB / 0.9224 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=231): time 5.13e-06/1.467, allocations: 0 / 0.9224 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=255): time 0.06281/1.529, allocations: 22.73 MB / 0.9446 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/1.53, allocations: 290.8 kB / 0.9449 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/1.541, allocations: 6.452 MB / 0.9512 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006073/1.541, allocations: 77.14 kB / 0.9512 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3313/1.873, allocations: 5.351 MB / 0.9565 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00172/1.874, allocations: 0.9942 MB / 0.9574 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009923/1.875, allocations: 170.6 kB / 0.9576 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006036/1.876, allocations: 0.6645 MB / 0.9582 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004862/1.881, allocations: 2.8 MB / 0.961 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007156/1.888, allocations: 8.041 MB / 0.9688 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008285/1.896, allocations: 4.695 MB / 0.9734 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002891/1.897, allocations: 52.78 kB / 0.9735 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.02531/1.922, allocations: 11.42 MB / 0.9846 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004244/1.923, allocations: 87.31 kB / 0.9847 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005696/1.923, allocations: 182.6 kB / 0.9849 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/1.926, allocations: 1.035 MB / 0.9859 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006322/1.932, allocations: 1.944 MB / 0.9878 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/1.943, allocations: 11.23 MB / 0.9988 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007894/1.951, allocations: 469 kB / 0.9992 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/1.953, allocations: 0.5141 MB / 0.9997 GB, free: 96.99 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1030): * Single equations (assignments): 1023 * 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.002682/1.956, allocations: 0.785 MB / 1 GB, free: 96.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/1.957, allocations: 0.6224 MB / 1.001 GB, free: 96.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008071/1.965, allocations: 4.477 MB / 1.005 GB, free: 96.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-05/1.965, allocations: 26.28 kB / 1.005 GB, free: 96.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.171e-05/1.965, allocations: 14.53 kB / 1.005 GB, free: 96.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.66e-05/1.965, allocations: 12.14 kB / 1.005 GB, free: 96.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02555/1.991, allocations: 12.26 MB / 1.017 GB, free: 94.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.436e-05/1.991, allocations: 3.938 kB / 1.017 GB, free: 94.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/1.993, allocations: 401.6 kB / 1.018 GB, free: 94.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/1.995, allocations: 0.7004 MB / 1.019 GB, free: 94.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/1.995, allocations: 43.09 kB / 1.019 GB, free: 94.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009195/2.004, allocations: 10.12 MB / 1.028 GB, free: 86.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/2.004, allocations: 0 / 1.028 GB, free: 86.69 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/2.015, allocations: 7.752 MB / 1.036 GB, free: 83.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/2.017, allocations: 0.6793 MB / 1.037 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001634/2.019, allocations: 47.27 kB / 1.037 GB, free: 82.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003173/2.022, allocations: 143.8 kB / 1.037 GB, free: 82.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/2.023, allocations: 151.4 kB / 1.037 GB, free: 82.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/2.023, allocations: 66.88 kB / 1.037 GB, free: 82.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01017/2.033, allocations: 4.594 MB / 1.042 GB, free: 81.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.2e-07/2.033, allocations: 0 / 1.042 GB, free: 81.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01033/2.043, allocations: 1.645 MB / 1.043 GB, free: 81.02 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 188 * 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.0007529/2.044, allocations: 188.3 kB / 1.043 GB, free: 80.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01209/2.056, allocations: 7.33 MB / 1.051 GB, free: 78.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/2.056, allocations: 2.25 kB / 1.051 GB, free: 78.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003496/2.06, allocations: 2.523 MB / 1.053 GB, free: 76.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005523/2.065, allocations: 0.9194 MB / 1.054 GB, free: 76.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02614/2.091, allocations: 13.09 MB / 1.067 GB, free: 70.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008771/2.1, allocations: 5.57 MB / 1.072 GB, free: 66.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007392/2.108, allocations: 2.728 MB / 1.075 GB, free: 64.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/2.109, allocations: 394.5 kB / 1.075 GB, free: 64.03 MB / 0.5417 GB Notification: Performance of SimCode: time 1.192e-06/2.109, allocations: 0 / 1.075 GB, free: 64.03 MB / 0.5417 GB Notification: Performance of Templates: time 0.1058/2.215, allocations: 61.72 MB / 1.135 GB, free: 15.65 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches