Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009942/0.000994, allocations: 183.6 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008725/0.0008726, allocations: 89.02 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3223/0.3223, allocations: 43.46 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.856e-05, allocations: 4 kB / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 58.85 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.49, allocations: 107 MB / 0.5773 GB, free: 14.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.4903, allocations: 75.86 kB / 0.5773 GB, free: 13.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5635/1.054, allocations: 131.6 MB / 0.7059 GB, free: 83.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.054, allocations: 0 / 0.7059 GB, free: 83.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002781/1.054, allocations: 129.4 kB / 0.706 GB, free: 83.54 MB / 490.7 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.01987/1.074, allocations: 6.377 MB / 0.7122 GB, free: 81.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.074, allocations: 17.03 kB / 0.7123 GB, free: 81.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02876/1.103, allocations: 7.1 MB / 0.7192 GB, free: 80.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01991/1.123, allocations: 7.258 MB / 0.7263 GB, free: 79.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004889/1.123, allocations: 0.4962 MB / 0.7268 GB, free: 79.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00364/1.127, allocations: 0.6591 MB / 0.7274 GB, free: 79.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04144/1.169, allocations: 16.45 MB / 0.7435 GB, free: 73.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003603/1.169, allocations: 73.06 kB / 0.7435 GB, free: 73.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002823/1.172, allocations: 309.7 kB / 0.7438 GB, free: 73.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002173/1.174, allocations: 1.576 MB / 0.7454 GB, free: 72.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02782/1.202, allocations: 13.91 MB / 0.759 GB, free: 68.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07236/1.274, allocations: 66.33 MB / 0.8237 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/1.289, allocations: 6.981 MB / 0.8305 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004954/1.294, allocations: 4.175 MB / 0.8346 GB, free: 4.043 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02564/1.32, allocations: 15.04 MB / 0.8493 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/1.32, allocations: 76.45 kB / 0.8494 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=306): time 8.045e-06/1.32, allocations: 0 / 0.8494 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of matching and sorting (n=348): time 0.35/1.67, allocations: 26.05 MB / 0.8748 GB, free: 92.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/1.67, allocations: 215.7 kB / 0.875 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008153/1.678, allocations: 4.686 MB / 0.8796 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009436/1.679, allocations: 82.67 kB / 0.8797 GB, free: 91.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002669/1.682, allocations: 4.408 MB / 0.884 GB, free: 89.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001867/1.684, allocations: 1.283 MB / 0.8852 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007639/1.685, allocations: 165.2 kB / 0.8854 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004413/1.685, allocations: 0.6457 MB / 0.886 GB, free: 88.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005434/1.691, allocations: 3.537 MB / 0.8895 GB, free: 88.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008717/1.699, allocations: 8.012 MB / 0.8973 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009159/1.709, allocations: 5.273 MB / 0.9025 GB, free: 81.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002633/1.709, allocations: 45.91 kB / 0.9025 GB, free: 81.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.0257/1.735, allocations: 12.93 MB / 0.9151 GB, free: 77.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004717/1.735, allocations: 77.25 kB / 0.9152 GB, free: 77.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004743/1.736, allocations: 155.6 kB / 0.9154 GB, free: 77.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/1.74, allocations: 1.661 MB / 0.917 GB, free: 76.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007376/1.747, allocations: 1.934 MB / 0.9189 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/1.76, allocations: 11.33 MB / 0.9299 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00832/1.769, allocations: 0.4913 MB / 0.9304 GB, free: 70.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002367/1.771, allocations: 486.9 kB / 0.9309 GB, free: 70.35 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (999): * Single equations (assignments): 994 * 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.00392/1.775, allocations: 0.7174 MB / 0.9316 GB, free: 69.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001939/1.777, allocations: 0.5049 MB / 0.9321 GB, free: 69.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/1.792, allocations: 7.364 MB / 0.9393 GB, free: 66.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.511e-05/1.792, allocations: 37.78 kB / 0.9393 GB, free: 66.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.959e-05/1.792, allocations: 11.19 kB / 0.9393 GB, free: 66.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.635e-05/1.792, allocations: 18.14 kB / 0.9393 GB, free: 66.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03428/1.826, allocations: 16.01 MB / 0.955 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/1.827, allocations: 3.438 kB / 0.955 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003579/1.83, allocations: 0.6064 MB / 0.9556 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/1.834, allocations: 1.411 MB / 0.9569 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009498/1.835, allocations: 62.3 kB / 0.957 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/1.846, allocations: 10.54 MB / 0.9673 GB, free: 54.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.846, allocations: 0 / 0.9673 GB, free: 54.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/1.863, allocations: 11.89 MB / 0.9789 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003451/1.867, allocations: 1.096 MB / 0.98 GB, free: 43.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001471/1.868, allocations: 62.75 kB / 0.98 GB, free: 43.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003639/1.872, allocations: 254.8 kB / 0.9803 GB, free: 43.06 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007132/1.873, allocations: 203.9 kB / 0.9805 GB, free: 42.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000329/1.873, allocations: 91.39 kB / 0.9806 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006304/1.879, allocations: 3.284 MB / 0.9838 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.22e-07/1.879, allocations: 0 / 0.9838 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009991/1.889, allocations: 1.611 MB / 0.9853 GB, free: 38.36 MB / 0.4948 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 () * 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.001224/1.891, allocations: 218.3 kB / 0.9855 GB, free: 38.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01435/1.905, allocations: 8.832 MB / 0.9942 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.905, allocations: 0 / 0.9942 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006003/1.911, allocations: 3.722 MB / 0.9978 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004378/1.916, allocations: 0.6275 MB / 0.9984 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/1.942, allocations: 12.99 MB / 1.011 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006656/1.949, allocations: 4.936 MB / 1.016 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007814/1.957, allocations: 2.685 MB / 1.019 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/1.959, allocations: 379.2 kB / 1.019 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/1.959, allocations: 0 / 1.019 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.4161/2.375, allocations: 61.71 MB / 1.079 GB, free: 94.16 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches