Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 173.9 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008743/0.0008746, allocations: 93.98 kB / 295.1 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3644/0.3644, allocations: 44.31 MB / 390.5 MB, free: 38.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3677, allocations: 61.9 MB / 0.5127 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.03638/0.4041, allocations: 47.13 MB / 0.5588 GB, free: 4.488 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02849/0.4327, allocations: 13.66 MB / 0.5721 GB, free: 9.777 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01177/0.4445, allocations: 216.1 kB / 0.5723 GB, free: 9.746 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.4463, allocations: 395.6 kB / 0.5727 GB, free: 9.598 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005097/0.4514, allocations: 1.602 MB / 0.5743 GB, free: 8.914 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.4534, allocations: 0.6421 MB / 0.5749 GB, free: 8.664 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.4635, allocations: 5.844 MB / 0.5806 GB, free: 6.941 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01049/0.4741, allocations: 5.79 MB / 0.5862 GB, free: 1.555 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.4778, allocations: 1.14 MB / 0.5874 GB, free: 420 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0041/0.4819, allocations: 1.787 MB / 0.5891 GB, free: 14.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.4833, allocations: 135.9 kB / 0.5892 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.4866, allocations: 1.065 MB / 0.5903 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00335/0.49, allocations: 1.605 MB / 0.5918 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004277/0.4944, allocations: 1.88 MB / 0.5937 GB, free: 9.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009061/0.5034, allocations: 6.532 MB / 0.6 GB, free: 3.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5035, allocations: 0 / 0.6 GB, free: 3.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5035, allocations: 4 kB / 0.6001 GB, free: 3.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002513/0.5038, allocations: 0 / 0.6001 GB, free: 3.352 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.008349/0.5121, allocations: 3.703 MB / 0.6037 GB, free: 15.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5122, allocations: 12.03 kB / 0.6037 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.5274, allocations: 2.527 MB / 0.6061 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006601/0.534, allocations: 2.495 MB / 0.6086 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.5343, allocations: 230.2 kB / 0.6088 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.5355, allocations: 303.8 kB / 0.6091 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/0.5548, allocations: 9.297 MB / 0.6182 GB, free: 28 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/0.555, allocations: 39.7 kB / 0.6182 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004992/0.5555, allocations: 143.9 kB / 0.6183 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003066/0.5586, allocations: 1.841 MB / 0.6201 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.5737, allocations: 7.674 MB / 0.6276 GB, free: 6.297 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04689/0.6206, allocations: 34.91 MB / 0.6617 GB, free: 2.316 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005023/0.6257, allocations: 2.448 MB / 0.6641 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.6276, allocations: 1.294 MB / 0.6654 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000402/0.6281, allocations: 331.6 kB / 0.6657 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.6281, allocations: 51.12 kB / 0.6657 GB, free: 13.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 4.418e-06/0.6281, allocations: 0 / 0.6657 GB, free: 13.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=140): time 0.02894/0.6571, allocations: 11.91 MB / 0.6774 GB, free: 1.918 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.6572, allocations: 196.6 kB / 0.6776 GB, free: 1.684 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2805/0.9378, allocations: 3.598 MB / 0.6811 GB, free: 131.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000285/0.9381, allocations: 47.64 kB / 0.6811 GB, free: 131.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.9396, allocations: 2.94 MB / 0.684 GB, free: 129.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005189/0.9402, allocations: 0.5519 MB / 0.6845 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.9404, allocations: 106.3 kB / 0.6846 GB, free: 129.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.9406, allocations: 0.534 MB / 0.6852 GB, free: 128.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.9434, allocations: 1.824 MB / 0.6869 GB, free: 128.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003489/0.9469, allocations: 5.263 MB / 0.6921 GB, free: 123.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00667/0.9535, allocations: 7.636 MB / 0.6995 GB, free: 116.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-05/0.9537, allocations: 36.28 kB / 0.6996 GB, free: 116.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01097/0.9646, allocations: 7.307 MB / 0.7067 GB, free: 114 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/0.9647, allocations: 60.47 kB / 0.7068 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.9649, allocations: 120.6 kB / 0.7069 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.9663, allocations: 0.679 MB / 0.7075 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003665/0.97, allocations: 1.266 MB / 0.7088 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/0.9746, allocations: 4.057 MB / 0.7127 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/0.979, allocations: 315.3 kB / 0.713 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008799/0.9799, allocations: 344.4 kB / 0.7134 GB, free: 111.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (672): * Single equations (assignments): 668 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003666/0.9836, allocations: 2.043 MB / 0.7154 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007028/0.9843, allocations: 302.7 kB / 0.7157 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/0.9888, allocations: 2.292 MB / 0.7179 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/0.9889, allocations: 16.44 kB / 0.7179 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.014e-05/0.9889, allocations: 3.562 kB / 0.7179 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/0.989, allocations: 7.609 kB / 0.7179 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/1.003, allocations: 6.349 MB / 0.7241 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.003, allocations: 1.094 kB / 0.7241 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/1.004, allocations: 240.2 kB / 0.7243 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/1.005, allocations: 0.5018 MB / 0.7248 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/1.005, allocations: 24.3 kB / 0.7249 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003961/1.009, allocations: 3.629 MB / 0.7284 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.009, allocations: 3.938 kB / 0.7284 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006149/1.016, allocations: 4.461 MB / 0.7328 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009222/1.017, allocations: 370.9 kB / 0.7331 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/1.017, allocations: 21.11 kB / 0.7331 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.018, allocations: 97.48 kB / 0.7332 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/1.018, allocations: 99.52 kB / 0.7333 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/1.018, allocations: 40.38 kB / 0.7334 GB, free: 102.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003017/1.021, allocations: 2.228 MB / 0.7355 GB, free: 102 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.021, allocations: 0 / 0.7355 GB, free: 102 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004539/1.026, allocations: 0.8815 MB / 0.7364 GB, free: 101.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (107): * Single equations (assignments): 103 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003514/1.026, allocations: 161 kB / 0.7366 GB, free: 101.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006481/1.033, allocations: 4.343 MB / 0.7408 GB, free: 97.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.033, allocations: 0 / 0.7408 GB, free: 97.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001636/1.035, allocations: 1.257 MB / 0.742 GB, free: 96.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1.037, allocations: 394.3 kB / 0.7424 GB, free: 95.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.051, allocations: 10.31 MB / 0.7525 GB, free: 86.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/1.054, allocations: 3.159 MB / 0.7556 GB, free: 83.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003792/1.058, allocations: 1.725 MB / 0.7572 GB, free: 81.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/1.058, allocations: 211.4 kB / 0.7574 GB, free: 81.43 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/1.058, allocations: 0 / 0.7574 GB, free: 81.43 MB / 490.7 MB Notification: Performance of Templates: time 0.04555/1.104, allocations: 28.96 MB / 0.7857 GB, free: 52.64 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches