Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00093/0.0009299, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008615/0.0008616, allocations: 95.8 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.174/0.174, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.882e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.4757, allocations: 106.9 MB / 0.6061 GB, free: 14.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.4759, allocations: 79.95 kB / 0.6062 GB, free: 14.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6079/1.084, allocations: 156.2 MB / 0.7588 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/1.084, allocations: 4 kB / 0.7588 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003453/1.084, allocations: 153.3 kB / 0.7589 GB, free: 108.8 MB / 0.5105 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.01815/1.102, allocations: 7.629 MB / 0.7664 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.102, allocations: 10.41 kB / 0.7664 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04043/1.143, allocations: 11.94 MB / 0.778 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02107/1.164, allocations: 9.965 MB / 0.7878 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/1.164, allocations: 0.5692 MB / 0.7883 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/1.167, allocations: 0.7694 MB / 0.7891 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03244/1.199, allocations: 17.98 MB / 0.8066 GB, free: 94.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003414/1.199, allocations: 104.4 kB / 0.8067 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/1.201, allocations: 363.8 kB / 0.8071 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/1.202, allocations: 1.577 MB / 0.8086 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/1.226, allocations: 14.37 MB / 0.8227 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0669/1.293, allocations: 75.48 MB / 0.8964 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.31, allocations: 7.255 MB / 0.9034 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004026/1.314, allocations: 3.452 MB / 0.9068 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/1.315, allocations: 0.6466 MB / 0.9075 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/1.315, allocations: 64.06 kB / 0.9075 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=231): time 4.458e-06/1.315, allocations: 0 / 0.9075 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of matching and sorting (n=255): time 0.3174/1.632, allocations: 22.73 MB / 0.9297 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/1.632, allocations: 288.5 kB / 0.93 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/1.645, allocations: 6.461 MB / 0.9363 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006127/1.646, allocations: 66.14 kB / 0.9364 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003666/1.649, allocations: 5.366 MB / 0.9416 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001127/1.65, allocations: 1.001 MB / 0.9426 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004046/1.651, allocations: 169.6 kB / 0.9427 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003135/1.651, allocations: 0.6635 MB / 0.9434 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003555/1.655, allocations: 2.792 MB / 0.9461 GB, free: 105 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004803/1.659, allocations: 8.043 MB / 0.954 GB, free: 98.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005212/1.665, allocations: 4.701 MB / 0.9586 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.285e-05/1.665, allocations: 52 kB / 0.9586 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.01585/1.681, allocations: 11.42 MB / 0.9698 GB, free: 95.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/1.681, allocations: 83.12 kB / 0.9698 GB, free: 95.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/1.681, allocations: 186.4 kB / 0.97 GB, free: 95.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/1.683, allocations: 1.03 MB / 0.971 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005216/1.688, allocations: 1.952 MB / 0.9729 GB, free: 95.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00928/1.698, allocations: 11.23 MB / 0.9839 GB, free: 87.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006372/1.704, allocations: 463.8 kB / 0.9843 GB, free: 87.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008338/1.705, allocations: 0.5124 MB / 0.9848 GB, free: 87.1 MB / 0.5261 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.0009525/1.706, allocations: 0.7762 MB / 0.9856 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007972/1.707, allocations: 0.6238 MB / 0.9862 GB, free: 86.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006401/1.713, allocations: 4.48 MB / 0.9906 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/1.713, allocations: 28.12 kB / 0.9906 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.713, allocations: 12.92 kB / 0.9906 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/1.713, allocations: 15.98 kB / 0.9906 GB, free: 84.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.731, allocations: 12.25 MB / 1.003 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.731, allocations: 6.672 kB / 1.003 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.732, allocations: 406.1 kB / 1.003 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/1.734, allocations: 0.695 MB / 1.004 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/1.734, allocations: 46.05 kB / 1.004 GB, free: 79.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008135/1.743, allocations: 10.12 MB / 1.014 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.743, allocations: 0 / 1.014 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00888/1.751, allocations: 7.756 MB / 1.021 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/1.754, allocations: 0.6724 MB / 1.022 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008781/1.755, allocations: 48.25 kB / 1.022 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.757, allocations: 145.1 kB / 1.022 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003904/1.757, allocations: 151.4 kB / 1.022 GB, free: 68.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/1.758, allocations: 68.94 kB / 1.022 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007746/1.765, allocations: 4.598 MB / 1.027 GB, free: 64.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.793e-06/1.765, allocations: 0 / 1.027 GB, free: 64.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008894/1.774, allocations: 1.637 MB / 1.028 GB, free: 63.34 MB / 0.5261 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.0005208/1.775, allocations: 192.6 kB / 1.028 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008968/1.784, allocations: 7.322 MB / 1.036 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.784, allocations: 4 kB / 1.036 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002568/1.786, allocations: 2.526 MB / 1.038 GB, free: 54.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004579/1.791, allocations: 0.9075 MB / 1.039 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02256/1.814, allocations: 13.09 MB / 1.052 GB, free: 41.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007834/1.821, allocations: 5.572 MB / 1.057 GB, free: 37.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00677/1.828, allocations: 2.729 MB / 1.06 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/1.829, allocations: 404.3 kB / 1.06 GB, free: 35.55 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/1.829, allocations: 4 kB / 1.06 GB, free: 35.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.3642/2.194, allocations: 61.7 MB / 1.121 GB, free: 110.1 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches