Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 182.8 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.519/1.519, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008536/0.0008535, allocations: 90.59 kB / 267.1 MB, free: 9.27 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.3858/0.3858, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.573e-05, allocations: 4 kB / 425.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5507, allocations: 109 MB / 0.5793 GB, free: 13.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.551, allocations: 77.38 kB / 0.5793 GB, free: 12.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6083/1.159, allocations: 139.1 MB / 0.7151 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.494e-06/1.159, allocations: 0 / 0.7151 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003161/1.16, allocations: 140.9 kB / 0.7153 GB, free: 80.96 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02079/1.18, allocations: 6.799 MB / 0.7219 GB, free: 78.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.181, allocations: 9.594 kB / 0.7219 GB, free: 78.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02704/1.208, allocations: 7.186 MB / 0.7289 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02002/1.228, allocations: 7.548 MB / 0.7363 GB, free: 76.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000473/1.228, allocations: 0.5159 MB / 0.7368 GB, free: 76.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003179/1.231, allocations: 0.689 MB / 0.7375 GB, free: 76.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04264/1.274, allocations: 17.12 MB / 0.7542 GB, free: 73.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005441/1.275, allocations: 87.83 kB / 0.7543 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003492/1.278, allocations: 333.6 kB / 0.7546 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002235/1.28, allocations: 1.628 MB / 0.7562 GB, free: 73.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02824/1.309, allocations: 14.15 MB / 0.77 GB, free: 71.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07838/1.387, allocations: 72.38 MB / 0.8407 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01556/1.403, allocations: 7.109 MB / 0.8477 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004465/1.407, allocations: 3.937 MB / 0.8515 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0156/1.423, allocations: 9.468 MB / 0.8607 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/1.423, allocations: 68.83 kB / 0.8608 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=297): time 6.081e-06/1.423, allocations: 3.938 kB / 0.8608 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.06905/1.492, allocations: 27.72 MB / 0.8879 GB, free: 104 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2714/1.763, allocations: 241.8 kB / 0.8881 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/1.776, allocations: 5.91 MB / 0.8939 GB, free: 92.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.777, allocations: 74.67 kB / 0.894 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002988/1.78, allocations: 4.828 MB / 0.8987 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/1.781, allocations: 1.262 MB / 0.8999 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004801/1.782, allocations: 180.4 kB / 0.9001 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003598/1.782, allocations: 0.678 MB / 0.9007 GB, free: 90.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004701/1.787, allocations: 3.652 MB / 0.9043 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006101/1.793, allocations: 8.703 MB / 0.9128 GB, free: 84.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006542/1.799, allocations: 5.584 MB / 0.9183 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.942e-05/1.8, allocations: 49.72 kB / 0.9183 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.02384/1.823, allocations: 13.69 MB / 0.9317 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.824, allocations: 84.12 kB / 0.9317 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/1.824, allocations: 179.7 kB / 0.9319 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003788/1.827, allocations: 1.7 MB / 0.9336 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007969/1.835, allocations: 2.12 MB / 0.9357 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/1.849, allocations: 11.38 MB / 0.9468 GB, free: 79.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008624/1.858, allocations: 0.5263 MB / 0.9473 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001723/1.859, allocations: 0.5207 MB / 0.9478 GB, free: 78.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1092): * Single equations (assignments): 1087 * 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.002715/1.862, allocations: 0.7854 MB / 0.9486 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.863, allocations: 0.5878 MB / 0.9491 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.875, allocations: 7.432 MB / 0.9564 GB, free: 75.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/1.876, allocations: 38.22 kB / 0.9564 GB, free: 75.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/1.876, allocations: 9.188 kB / 0.9564 GB, free: 75.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.986e-05/1.876, allocations: 19.17 kB / 0.9564 GB, free: 75.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02639/1.902, allocations: 16 MB / 0.9721 GB, free: 69.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/1.902, allocations: 3.969 kB / 0.9721 GB, free: 69.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002817/1.905, allocations: 0.6342 MB / 0.9727 GB, free: 69.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002998/1.908, allocations: 1.419 MB / 0.9741 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/1.908, allocations: 63.11 kB / 0.9741 GB, free: 69.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/1.919, allocations: 10.59 MB / 0.9845 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.919, allocations: 10.03 kB / 0.9845 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/1.937, allocations: 12.59 MB / 0.9968 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003602/1.94, allocations: 1.209 MB / 0.998 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/1.942, allocations: 59.88 kB / 0.998 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.945, allocations: 228.3 kB / 0.9982 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005264/1.945, allocations: 203.8 kB / 0.9984 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/1.945, allocations: 86.84 kB / 0.9985 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006192/1.952, allocations: 4.237 MB / 1.003 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.12e-07/1.952, allocations: 0 / 1.003 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007967/1.96, allocations: 1.702 MB / 1.004 GB, free: 55.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.0006091/1.96, allocations: 220.8 kB / 1.005 GB, free: 55.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.972, allocations: 9.052 MB / 1.013 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/1.972, allocations: 0 / 1.013 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005023/1.977, allocations: 3.65 MB / 1.017 GB, free: 46.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/1.981, allocations: 0.7172 MB / 1.018 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/2.006, allocations: 13.74 MB / 1.031 GB, free: 33.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006136/2.012, allocations: 5.187 MB / 1.036 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007256/2.019, allocations: 2.976 MB / 1.039 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/2.021, allocations: 417.5 kB / 1.039 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of SimCode: time 4.7e-07/2.021, allocations: 0 / 1.039 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.6479/2.669, allocations: 64.93 MB / 1.103 GB, free: 79.81 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches