Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001133, allocations: 172.8 kB / 16.08 MB, free: 5.727 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.441/1.441, allocations: 205.6 MB / 222.4 MB, free: 8.938 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.0008093/0.0008094, allocations: 83.27 kB / 270.8 MB, free: 8.125 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3709/0.3709, allocations: 43.68 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 8 kB / 432.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 58.85 MB / 491.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2243/0.3416, allocations: 48.41 MB / 0.5269 GB, free: 15.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02309/0.3648, allocations: 13.88 MB / 0.5405 GB, free: 5.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01022/0.375, allocations: 216.7 kB / 0.5407 GB, free: 5.062 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.3765, allocations: 430.9 kB / 0.5411 GB, free: 4.898 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004417/0.381, allocations: 1.772 MB / 0.5428 GB, free: 4.117 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3826, allocations: 0.6528 MB / 0.5435 GB, free: 3.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005819/0.3884, allocations: 6.133 MB / 0.5494 GB, free: 2.043 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007536/0.396, allocations: 5.947 MB / 0.5553 GB, free: 14.9 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.3989, allocations: 1.273 MB / 0.5565 GB, free: 14.45 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004006/0.4029, allocations: 2.051 MB / 0.5585 GB, free: 13.81 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.4041, allocations: 157.2 kB / 0.5587 GB, free: 13.81 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.4071, allocations: 1.078 MB / 0.5597 GB, free: 13.55 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00304/0.4102, allocations: 1.8 MB / 0.5615 GB, free: 13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004636/0.4149, allocations: 2.123 MB / 0.5635 GB, free: 11.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0094/0.4243, allocations: 7.309 MB / 0.5707 GB, free: 6.922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4243, allocations: 1.156 kB / 0.5707 GB, free: 6.922 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.779e-06/0.4243, allocations: 0 / 0.5707 GB, free: 6.922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002612/0.4246, allocations: 3.938 kB / 0.5707 GB, free: 6.918 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.008804/0.4334, allocations: 4.06 MB / 0.5746 GB, free: 3.031 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4335, allocations: 12.03 kB / 0.5747 GB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/0.4487, allocations: 2.596 MB / 0.5772 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006338/0.4551, allocations: 2.699 MB / 0.5798 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.4553, allocations: 254.3 kB / 0.5801 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.4567, allocations: 335.7 kB / 0.5804 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.4761, allocations: 10.44 MB / 0.5906 GB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002024/0.4763, allocations: 43.59 kB / 0.5906 GB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/0.4775, allocations: 159.8 kB / 0.5908 GB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003379/0.4808, allocations: 2.092 MB / 0.5928 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.4986, allocations: 8.724 MB / 0.6013 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04801/0.5466, allocations: 38.68 MB / 0.6391 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006152/0.5528, allocations: 3.056 MB / 0.6421 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002669/0.5555, allocations: 1.749 MB / 0.6438 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/0.5559, allocations: 332.2 kB / 0.6441 GB, free: 9.797 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.556, allocations: 51.89 kB / 0.6442 GB, free: 9.738 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 6.943e-06/0.556, allocations: 0 / 0.6442 GB, free: 9.738 MB / 474.7 MB Notification: Performance of matching and sorting (n=194): time 0.03437/0.5904, allocations: 15.02 MB / 0.6588 GB, free: 10.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.5905, allocations: 205.2 kB / 0.659 GB, free: 10.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005895/0.5964, allocations: 3.804 MB / 0.6628 GB, free: 6.535 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.5967, allocations: 53.7 kB / 0.6628 GB, free: 6.477 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002335/0.599, allocations: 3.194 MB / 0.6659 GB, free: 3.234 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000827/0.5998, allocations: 0.7365 MB / 0.6666 GB, free: 2.488 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003499/0.6002, allocations: 124 kB / 0.6668 GB, free: 2.367 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004268/0.6006, allocations: 0.5624 MB / 0.6673 GB, free: 1.797 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.205/0.8057, allocations: 2.258 MB / 0.6695 GB, free: 136.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006293/0.812, allocations: 5.946 MB / 0.6753 GB, free: 131.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/0.8223, allocations: 8.852 MB / 0.684 GB, free: 125.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001637/0.8225, allocations: 41.31 kB / 0.684 GB, free: 125.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01481/0.8373, allocations: 8.475 MB / 0.6923 GB, free: 122.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-05/0.8374, allocations: 62.55 kB / 0.6923 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/0.8376, allocations: 130.1 kB / 0.6925 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.8392, allocations: 0.6943 MB / 0.6931 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004743/0.8439, allocations: 1.462 MB / 0.6946 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00421/0.8481, allocations: 4.077 MB / 0.6986 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005763/0.8539, allocations: 371.8 kB / 0.6989 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/0.8554, allocations: 374.4 kB / 0.6993 GB, free: 119.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (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 (764): * Single equations (assignments): 760 * 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.004191/0.8596, allocations: 2.233 MB / 0.7014 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006504/0.8603, allocations: 343.5 kB / 0.7018 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005402/0.8657, allocations: 3.286 MB / 0.705 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/0.8658, allocations: 26.06 kB / 0.705 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.8658, allocations: 6.484 kB / 0.705 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/0.8658, allocations: 12.77 kB / 0.705 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.8806, allocations: 8.189 MB / 0.713 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.8806, allocations: 8.828 kB / 0.713 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.8823, allocations: 353.4 kB / 0.7134 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.8837, allocations: 0.5052 MB / 0.7139 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.8839, allocations: 37.53 kB / 0.7139 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/0.8878, allocations: 3.632 MB / 0.7174 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8879, allocations: 2.031 kB / 0.7174 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009/0.8969, allocations: 5.995 MB / 0.7233 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.8983, allocations: 0.6449 MB / 0.7239 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/0.8987, allocations: 33.06 kB / 0.724 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.9001, allocations: 134.3 kB / 0.7241 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000395/0.9005, allocations: 133 kB / 0.7242 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.9006, allocations: 53.69 kB / 0.7243 GB, free: 109.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003254/0.9039, allocations: 2.362 MB / 0.7266 GB, free: 108.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9039, allocations: 0 / 0.7266 GB, free: 108.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004944/0.9088, allocations: 1.027 MB / 0.7276 GB, free: 108.8 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 (164): * Single equations (assignments): 160 * 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.0004626/0.9093, allocations: 181.2 kB / 0.7278 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008246/0.9176, allocations: 5.374 MB / 0.733 GB, free: 106.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.9176, allocations: 0 / 0.733 GB, free: 106.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.92, allocations: 1.732 MB / 0.7347 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.9226, allocations: 399.2 kB / 0.7351 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/0.9385, allocations: 11.91 MB / 0.7467 GB, free: 94.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002876/0.9414, allocations: 3.462 MB / 0.7501 GB, free: 91.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004463/0.9459, allocations: 1.946 MB / 0.752 GB, free: 90.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007977/0.9467, allocations: 250.9 kB / 0.7522 GB, free: 90.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/0.9468, allocations: 0 / 0.7522 GB, free: 90.5 MB / 490.7 MB Notification: Performance of Templates: time 0.0572/1.004, allocations: 34.78 MB / 0.7862 GB, free: 56 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches