Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 182 kB / 17.41 MB, free: 4.281 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.267/1.267, allocations: 225.7 MB / 243.9 MB, free: 8.492 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.0008561/0.0008559, allocations: 85.23 kB / 295 MB, free: 9.492 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.365/0.365, allocations: 44.31 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.00043, allocations: 8 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3338, allocations: 61.9 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.0256/0.3594, allocations: 34.23 MB / 0.5462 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.3747, allocations: 9.43 MB / 0.5554 GB, free: 6.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007505/0.3822, allocations: 152.2 kB / 0.5555 GB, free: 6.301 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009978/0.3833, allocations: 292.8 kB / 0.5558 GB, free: 6.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.3862, allocations: 1.073 MB / 0.5568 GB, free: 5.758 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007085/0.3869, allocations: 267.7 kB / 0.5571 GB, free: 5.648 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00369/0.3906, allocations: 3.397 MB / 0.5604 GB, free: 4.676 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004314/0.3949, allocations: 4.019 MB / 0.5643 GB, free: 2.387 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.3962, allocations: 0.7072 MB / 0.565 GB, free: 2.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.3977, allocations: 1.043 MB / 0.5661 GB, free: 1.789 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.398, allocations: 87.16 kB / 0.5661 GB, free: 1.789 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.3992, allocations: 0.6246 MB / 0.5667 GB, free: 1.629 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.4004, allocations: 1.001 MB / 0.5677 GB, free: 1.316 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.4014, allocations: 1.221 MB / 0.5689 GB, free: 432 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006137/0.4076, allocations: 4.131 MB / 0.573 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4076, allocations: 0 / 0.573 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4076, allocations: 4 kB / 0.573 GB, free: 14.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001446/0.4078, allocations: 0.875 kB / 0.573 GB, free: 14.86 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005035/0.4128, allocations: 2.417 MB / 0.5753 GB, free: 12.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4129, allocations: 12.03 kB / 0.5753 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/0.4177, allocations: 1.627 MB / 0.5769 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.42, allocations: 1.336 MB / 0.5782 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.4202, allocations: 159.8 kB / 0.5784 GB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/0.4205, allocations: 183.9 kB / 0.5786 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009459/0.4299, allocations: 6.421 MB / 0.5848 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.43, allocations: 11.88 kB / 0.5848 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.4303, allocations: 91.89 kB / 0.5849 GB, free: 2.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002146/0.4324, allocations: 1.403 MB / 0.5863 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009843/0.4423, allocations: 5.46 MB / 0.5916 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02987/0.4722, allocations: 20.57 MB / 0.6117 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004014/0.4763, allocations: 2.081 MB / 0.6137 GB, free: 4.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008843/0.4772, allocations: 0.6992 MB / 0.6144 GB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005832/0.483, allocations: 3.509 MB / 0.6178 GB, free: 232 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4831, allocations: 38.98 kB / 0.6179 GB, free: 184 kB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 4.187e-06/0.4831, allocations: 0 / 0.6179 GB, free: 184 kB / 426.7 MB Notification: Performance of matching and sorting (n=78): time 0.004975/0.4881, allocations: 1.973 MB / 0.6198 GB, free: 14.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.4881, allocations: 59.84 kB / 0.6199 GB, free: 14.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.4909, allocations: 1.946 MB / 0.6218 GB, free: 12.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.4909, allocations: 37.7 kB / 0.6218 GB, free: 12.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.4921, allocations: 1.883 MB / 0.6236 GB, free: 10.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.4924, allocations: 312.1 kB / 0.6239 GB, free: 9.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.4925, allocations: 59.94 kB / 0.624 GB, free: 9.852 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002988/0.4928, allocations: 497.3 kB / 0.6245 GB, free: 9.355 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.494, allocations: 0.8764 MB / 0.6253 GB, free: 8.477 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/0.4965, allocations: 2.77 MB / 0.628 GB, free: 4.766 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003988/0.5005, allocations: 3.973 MB / 0.6319 GB, free: 15.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.73e-05/0.5006, allocations: 20 kB / 0.6319 GB, free: 15.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005026/0.5056, allocations: 3.531 MB / 0.6354 GB, free: 12.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.5057, allocations: 32 kB / 0.6354 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.47e-05/0.5057, allocations: 76.09 kB / 0.6355 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.898e-05/0.5058, allocations: 88 kB / 0.6356 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.5076, allocations: 0.6589 MB / 0.6362 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.746e-05/0.5077, allocations: 131.5 kB / 0.6363 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.5095, allocations: 419.5 kB / 0.6367 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/0.5097, allocations: 188 kB / 0.6369 GB, free: 10.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002127/0.5119, allocations: 1.377 MB / 0.6383 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.5121, allocations: 153.9 kB / 0.6384 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.5124, allocations: 201.2 kB / 0.6386 GB, free: 8.977 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.5124, allocations: 8 kB / 0.6386 GB, free: 8.969 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5124, allocations: 4 kB / 0.6386 GB, free: 8.965 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5124, allocations: 3.984 kB / 0.6386 GB, free: 8.961 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006196/0.5186, allocations: 4.137 MB / 0.6427 GB, free: 4.688 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.5187, allocations: 11.94 kB / 0.6427 GB, free: 4.676 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.5191, allocations: 99.81 kB / 0.6428 GB, free: 4.578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.5191, allocations: 8 kB / 0.6428 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.5191, allocations: 20 kB / 0.6428 GB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/0.5191, allocations: 16.48 kB / 0.6428 GB, free: 4.535 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5192, allocations: 4 kB / 0.6428 GB, free: 4.531 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.5205, allocations: 1.244 MB / 0.644 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.521, allocations: 258.6 kB / 0.6443 GB, free: 2.926 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.5211, allocations: 20 kB / 0.6443 GB, free: 2.906 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.5216, allocations: 27.95 kB / 0.6443 GB, free: 2.879 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5217, allocations: 51.83 kB / 0.6444 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.5218, allocations: 28 kB / 0.6444 GB, free: 2.801 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001783/0.5236, allocations: 1.268 MB / 0.6456 GB, free: 1.543 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5236, allocations: 0 / 0.6456 GB, free: 1.543 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002545/0.5261, allocations: 0.7153 MB / 0.6463 GB, free: 0.8242 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * 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 (54): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003221/0.5265, allocations: 153.2 kB / 0.6465 GB, free: 0.668 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003173/0.5296, allocations: 2.02 MB / 0.6484 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.5297, allocations: 4.125 kB / 0.6485 GB, free: 14.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.5302, allocations: 462.8 kB / 0.6489 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.5327, allocations: 231.8 kB / 0.6491 GB, free: 13.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.5431, allocations: 6.529 MB / 0.6555 GB, free: 7.348 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00235/0.5455, allocations: 2.324 MB / 0.6578 GB, free: 4.996 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00239/0.5479, allocations: 0.9599 MB / 0.6587 GB, free: 4.031 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.5482, allocations: 123.4 kB / 0.6588 GB, free: 3.91 MB / 474.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5482, allocations: 0 / 0.6588 GB, free: 3.91 MB / 474.7 MB Notification: Performance of Templates: time 0.02948/0.5777, allocations: 13.87 MB / 0.6724 GB, free: 6.121 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches