Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 177.9 kB / 17.36 MB, free: 4.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007349/0.0007352, allocations: 95.23 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002284/0.0002285, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2079, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.03489/0.2429, allocations: 52.73 MB / 429.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02389/0.2668, allocations: 14.51 MB / 443.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007668/0.2745, allocations: 243.4 kB / 444.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.2757, allocations: 477.6 kB / 444.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.2795, allocations: 1.95 MB / 446.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.2807, allocations: 0.6592 MB / 447.2 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006062/0.2867, allocations: 6.715 MB / 453.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007035/0.2938, allocations: 7.031 MB / 460.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.2956, allocations: 1.432 MB / 462.3 MB, free: 9.457 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/0.2979, allocations: 2.16 MB / 464.5 MB, free: 7.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003611/0.2983, allocations: 160 kB / 464.7 MB, free: 7.133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.3001, allocations: 1.096 MB / 465.8 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001449/0.3015, allocations: 1.967 MB / 467.7 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.3033, allocations: 2.28 MB / 470 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006331/0.3096, allocations: 7.653 MB / 477.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3097, allocations: 0 / 477.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3097, allocations: 4 kB / 477.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001531/0.3098, allocations: 0 / 477.7 MB, free: 10.08 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.00756/0.3174, allocations: 4.518 MB / 482.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3174, allocations: 8.031 kB / 482.2 MB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00824/0.3257, allocations: 2.295 MB / 484.5 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/0.3309, allocations: 2.956 MB / 487.4 MB, free: 168 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.3311, allocations: 270.8 kB / 487.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007154/0.3318, allocations: 351.7 kB / 488 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01978/0.3516, allocations: 11.63 MB / 499.7 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/0.3518, allocations: 43.59 kB / 499.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005001/0.3523, allocations: 171.8 kB / 499.9 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003848/0.3561, allocations: 2.335 MB / 0.4904 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1927/0.5489, allocations: 9.943 MB / 0.5002 GB, free: 105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03952/0.5885, allocations: 44.51 MB / 0.5436 GB, free: 63.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/0.599, allocations: 5.341 MB / 0.5488 GB, free: 57.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.6017, allocations: 2.806 MB / 0.5516 GB, free: 54.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009488/0.6112, allocations: 8.132 MB / 0.5595 GB, free: 46.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6113, allocations: 63.86 kB / 0.5596 GB, free: 46.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=216): time 4.248e-06/0.6113, allocations: 0 / 0.5596 GB, free: 46.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=237): time 0.04374/0.655, allocations: 20.75 MB / 0.5798 GB, free: 25.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.6551, allocations: 188.2 kB / 0.58 GB, free: 25.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007862/0.663, allocations: 4.722 MB / 0.5846 GB, free: 20.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005303/0.6636, allocations: 61.7 kB / 0.5847 GB, free: 20.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001975/0.6656, allocations: 3.392 MB / 0.588 GB, free: 17.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008602/0.6664, allocations: 0.8903 MB / 0.5889 GB, free: 16.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/0.6669, allocations: 136 kB / 0.589 GB, free: 16.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000374/0.6673, allocations: 0.5953 MB / 0.5896 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003501/0.6708, allocations: 2.68 MB / 0.5922 GB, free: 12.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005599/0.6764, allocations: 6.587 MB / 0.5986 GB, free: 4.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/0.6888, allocations: 10.04 MB / 0.6084 GB, free: 8.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000133/0.689, allocations: 43.94 kB / 0.6085 GB, free: 8.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.02121/0.7102, allocations: 10.12 MB / 0.6184 GB, free: 14.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.7104, allocations: 65 kB / 0.6184 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003333/0.7108, allocations: 136 kB / 0.6186 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003176/0.714, allocations: 1.214 MB / 0.6197 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005798/0.7198, allocations: 1.606 MB / 0.6213 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009473/0.7293, allocations: 6.775 MB / 0.6279 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005457/0.7348, allocations: 387.4 kB / 0.6283 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/0.7359, allocations: 415.7 kB / 0.6287 GB, free: 3.469 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003905/0.7398, allocations: 2.369 MB / 0.631 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009163/0.7407, allocations: 410.7 kB / 0.6314 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008271/0.749, allocations: 4.765 MB / 0.6361 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.951e-05/0.749, allocations: 27.98 kB / 0.6361 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.7491, allocations: 11.94 kB / 0.6361 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.7491, allocations: 11.95 kB / 0.6361 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/0.7679, allocations: 10.9 MB / 0.6467 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.768, allocations: 4 kB / 0.6467 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/0.77, allocations: 431.3 kB / 0.6472 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1783/0.9483, allocations: 1.02 MB / 0.6482 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005002/0.9488, allocations: 47.25 kB / 0.6482 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008163/0.957, allocations: 6.358 MB / 0.6544 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.957, allocations: 9.844 kB / 0.6544 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/0.9692, allocations: 8.136 MB / 0.6624 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/0.9714, allocations: 0.8438 MB / 0.6632 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006566/0.9721, allocations: 39.72 kB / 0.6632 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.9738, allocations: 152.2 kB / 0.6634 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/0.9742, allocations: 150.9 kB / 0.6635 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/0.9744, allocations: 72.55 kB / 0.6636 GB, free: 133.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004189/0.9786, allocations: 3.017 MB / 0.6665 GB, free: 132.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9786, allocations: 0 / 0.6665 GB, free: 132.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005203/0.9838, allocations: 1.185 MB / 0.6677 GB, free: 132.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (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 (198): * Single equations (assignments): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004806/0.9843, allocations: 197.7 kB / 0.6679 GB, free: 132 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009017/0.9934, allocations: 6.495 MB / 0.6742 GB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.9934, allocations: 0 / 0.6742 GB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003352/0.9968, allocations: 2.407 MB / 0.6766 GB, free: 128.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006079/1.003, allocations: 0.4912 MB / 0.677 GB, free: 128.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.018, allocations: 13.65 MB / 0.6904 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/1.021, allocations: 3.667 MB / 0.694 GB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004571/1.026, allocations: 2.223 MB / 0.6961 GB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000848/1.027, allocations: 291.4 kB / 0.6964 GB, free: 108.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.372e-06/1.027, allocations: 3.938 kB / 0.6964 GB, free: 108.9 MB / 426.7 MB Notification: Performance of Templates: time 0.06274/1.089, allocations: 43.84 MB / 0.7392 GB, free: 65.19 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches