Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009383/0.0009383, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.498/1.498, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007518/0.0007518, allocations: 91.91 kB / 271.3 MB, free: 8.238 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.3475/0.3475, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003799, allocations: 12 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1231, allocations: 58.83 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.4655, allocations: 106.1 MB / 0.5836 GB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4659, allocations: 83.95 kB / 0.5837 GB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5623/1.028, allocations: 141.2 MB / 0.7215 GB, free: 83.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.028, allocations: 0.9688 kB / 0.7215 GB, free: 83.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005159/1.029, allocations: 147 kB / 0.7217 GB, free: 83.82 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02492/1.054, allocations: 7.231 MB / 0.7287 GB, free: 80.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.054, allocations: 9.156 kB / 0.7287 GB, free: 80.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02819/1.082, allocations: 7.069 MB / 0.7356 GB, free: 80.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/1.099, allocations: 7.646 MB / 0.7431 GB, free: 78.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004859/1.1, allocations: 0.5256 MB / 0.7436 GB, free: 78.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003487/1.103, allocations: 0.7078 MB / 0.7443 GB, free: 78.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03569/1.139, allocations: 16.59 MB / 0.7605 GB, free: 69.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004734/1.139, allocations: 106.2 kB / 0.7606 GB, free: 69.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002558/1.142, allocations: 344.4 kB / 0.761 GB, free: 69.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/1.144, allocations: 1.534 MB / 0.7625 GB, free: 69.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02564/1.17, allocations: 13.2 MB / 0.7753 GB, free: 65.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07656/1.246, allocations: 72.61 MB / 0.8463 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/1.26, allocations: 5.93 MB / 0.852 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004344/1.264, allocations: 3.136 MB / 0.8551 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/1.264, allocations: 48.97 kB / 0.8552 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.864e-05/1.265, allocations: 60.12 kB / 0.8552 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 5.079e-06/1.265, allocations: 0 / 0.8552 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=267): time 0.2914/1.556, allocations: 22.62 MB / 0.8773 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/1.556, allocations: 264 kB / 0.8776 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/1.567, allocations: 6.979 MB / 0.8844 GB, free: 86.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006702/1.568, allocations: 65.05 kB / 0.8844 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003756/1.572, allocations: 5.07 MB / 0.8894 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/1.573, allocations: 1.028 MB / 0.8904 GB, free: 83.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007503/1.574, allocations: 172.5 kB / 0.8906 GB, free: 83.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005428/1.575, allocations: 0.6661 MB / 0.8912 GB, free: 82.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00472/1.579, allocations: 2.977 MB / 0.8941 GB, free: 82.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01003/1.589, allocations: 8.276 MB / 0.9022 GB, free: 75.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/1.604, allocations: 12.24 MB / 0.9141 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003278/1.604, allocations: 54.06 kB / 0.9142 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.02737/1.632, allocations: 11.58 MB / 0.9255 GB, free: 62.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/1.632, allocations: 82.62 kB / 0.9256 GB, free: 62.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002984/1.632, allocations: 189.3 kB / 0.9258 GB, free: 62.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/1.634, allocations: 0.8201 MB / 0.9266 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006856/1.641, allocations: 1.997 MB / 0.9285 GB, free: 61.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007822/1.649, allocations: 8.51 MB / 0.9368 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00821/1.657, allocations: 475.6 kB / 0.9373 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/1.659, allocations: 0.5185 MB / 0.9378 GB, free: 55.78 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 57 (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 (1059): * Single equations (assignments): 1053 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008628/1.668, allocations: 3.327 MB / 0.941 GB, free: 54.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002041/1.67, allocations: 0.5893 MB / 0.9416 GB, free: 53.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009019/1.679, allocations: 4.557 MB / 0.9461 GB, free: 52.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.685e-05/1.679, allocations: 27.31 kB / 0.9461 GB, free: 52.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.401e-05/1.679, allocations: 11.41 kB / 0.9461 GB, free: 52.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.039e-05/1.679, allocations: 20.55 kB / 0.9461 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02651/1.706, allocations: 11.7 MB / 0.9575 GB, free: 47.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.706, allocations: 0 / 0.9575 GB, free: 47.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/1.708, allocations: 444.2 kB / 0.958 GB, free: 47.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/1.709, allocations: 0.5206 MB / 0.9585 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/1.709, allocations: 53.62 kB / 0.9585 GB, free: 47.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006679/1.716, allocations: 7.596 MB / 0.9659 GB, free: 42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.716, allocations: 3.938 kB / 0.9659 GB, free: 42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.728, allocations: 7.873 MB / 0.9736 GB, free: 38.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004724/1.732, allocations: 1.015 MB / 0.9746 GB, free: 38.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002415/1.735, allocations: 42.72 kB / 0.9747 GB, free: 37.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003764/1.739, allocations: 152.7 kB / 0.9748 GB, free: 37.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005712/1.739, allocations: 162 kB / 0.975 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/1.739, allocations: 69.27 kB / 0.975 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009917/1.749, allocations: 4.442 MB / 0.9794 GB, free: 36.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.72e-07/1.749, allocations: 0 / 0.9794 GB, free: 36.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01124/1.761, allocations: 1.561 MB / 0.9809 GB, free: 36.28 MB / 0.4948 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 (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.000748/1.761, allocations: 204 kB / 0.9811 GB, free: 36.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01154/1.773, allocations: 7.505 MB / 0.9884 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.773, allocations: 0 / 0.9884 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003262/1.776, allocations: 2.538 MB / 0.9909 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00706/1.783, allocations: 0.7938 MB / 0.9917 GB, free: 26.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/1.814, allocations: 17.75 MB / 1.009 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008621/1.822, allocations: 5.072 MB / 1.014 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008465/1.831, allocations: 2.805 MB / 1.017 GB, free: 5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/1.832, allocations: 389.1 kB / 1.017 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/1.832, allocations: 4 kB / 1.017 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of Templates: time 0.5794/2.412, allocations: 56.07 MB / 1.072 GB, free: 96.57 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches