Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,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.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,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.CutForce2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 177.2 kB / 17.41 MB, free: 4.285 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.362/1.362, allocations: 225.7 MB / 243.9 MB, free: 8.484 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.0008279/0.0008278, allocations: 92.47 kB / 295.1 MB, free: 9.527 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.3223/0.3223, allocations: 44.31 MB / 390.5 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.000333, allocations: 8 kB / 463.1 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3295, allocations: 61.9 MB / 0.5127 GB, free: 38.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02448/0.354, allocations: 34.23 MB / 0.5462 GB, free: 13.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.3695, allocations: 9.432 MB / 0.5554 GB, free: 6.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00795/0.3775, allocations: 152.7 kB / 0.5555 GB, free: 6.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.3787, allocations: 293.8 kB / 0.5558 GB, free: 6.375 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.3821, allocations: 1.072 MB / 0.5569 GB, free: 5.941 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.383, allocations: 263.6 kB / 0.5571 GB, free: 5.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004809/0.3878, allocations: 3.393 MB / 0.5604 GB, free: 4.867 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005443/0.3933, allocations: 4.018 MB / 0.5643 GB, free: 2.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.3952, allocations: 0.7087 MB / 0.565 GB, free: 2.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.3976, allocations: 1.044 MB / 0.5661 GB, free: 1.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006957/0.3984, allocations: 90 kB / 0.5661 GB, free: 1.977 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.4002, allocations: 0.6188 MB / 0.5667 GB, free: 1.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001576/0.4018, allocations: 1.007 MB / 0.5677 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001495/0.4033, allocations: 1.22 MB / 0.5689 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007593/0.4109, allocations: 4.131 MB / 0.573 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.411, allocations: 4 kB / 0.573 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.411, allocations: 0 / 0.573 GB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001943/0.4112, allocations: 1.062 kB / 0.573 GB, free: 14.93 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.006864/0.4181, allocations: 2.417 MB / 0.5753 GB, free: 13.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4181, allocations: 12.03 kB / 0.5753 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005552/0.4237, allocations: 1.623 MB / 0.5769 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003739/0.4275, allocations: 1.34 MB / 0.5782 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.4276, allocations: 155.8 kB / 0.5784 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004154/0.428, allocations: 183.9 kB / 0.5785 GB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.4393, allocations: 6.421 MB / 0.5848 GB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.274e-05/0.4394, allocations: 11.88 kB / 0.5848 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/0.4396, allocations: 95.89 kB / 0.5849 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002101/0.4417, allocations: 1.403 MB / 0.5863 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.4565, allocations: 5.464 MB / 0.5916 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05258/0.5092, allocations: 20.57 MB / 0.6117 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008078/0.5173, allocations: 2.081 MB / 0.6137 GB, free: 4.617 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.5193, allocations: 0.6913 MB / 0.6144 GB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.5297, allocations: 3.516 MB / 0.6179 GB, free: 272 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.5299, allocations: 35 kB / 0.6179 GB, free: 228 kB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 5.43e-06/0.5299, allocations: 0 / 0.6179 GB, free: 228 kB / 426.7 MB Notification: Performance of matching and sorting (n=78): time 0.007969/0.5379, allocations: 1.977 MB / 0.6198 GB, free: 14.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.538, allocations: 63.84 kB / 0.6199 GB, free: 14.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007306/0.5453, allocations: 1.942 MB / 0.6218 GB, free: 12.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.5455, allocations: 37.69 kB / 0.6218 GB, free: 12.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.5479, allocations: 1.883 MB / 0.6237 GB, free: 10.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006664/0.5486, allocations: 308.1 kB / 0.6239 GB, free: 9.953 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/0.549, allocations: 63.94 kB / 0.624 GB, free: 9.891 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006572/0.5497, allocations: 493.3 kB / 0.6245 GB, free: 9.398 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.5524, allocations: 0.8764 MB / 0.6253 GB, free: 8.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004603/0.557, allocations: 2.77 MB / 0.628 GB, free: 4.809 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007757/0.5648, allocations: 3.976 MB / 0.6319 GB, free: 15.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.467e-05/0.565, allocations: 16 kB / 0.6319 GB, free: 15.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.01171/0.5767, allocations: 3.528 MB / 0.6354 GB, free: 12.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.5769, allocations: 36.03 kB / 0.6354 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001624/0.5771, allocations: 71.94 kB / 0.6355 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.5773, allocations: 88 kB / 0.6356 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004325/0.5816, allocations: 0.655 MB / 0.6362 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002028/0.5819, allocations: 135.4 kB / 0.6363 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/0.586, allocations: 423.5 kB / 0.6367 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006588/0.5867, allocations: 188 kB / 0.6369 GB, free: 10.76 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.004629/0.5913, allocations: 1.373 MB / 0.6383 GB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005086/0.5918, allocations: 157.9 kB / 0.6384 GB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007075/0.5926, allocations: 201.2 kB / 0.6386 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.595e-05/0.5926, allocations: 8 kB / 0.6386 GB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.5927, allocations: 4 kB / 0.6386 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.5927, allocations: 3.984 kB / 0.6386 GB, free: 9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.6061, allocations: 4.137 MB / 0.6427 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/0.6062, allocations: 11.94 kB / 0.6427 GB, free: 4.715 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/0.607, allocations: 99.81 kB / 0.6428 GB, free: 4.617 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.097e-05/0.607, allocations: 8 kB / 0.6428 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/0.6071, allocations: 16.69 kB / 0.6428 GB, free: 4.594 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.408e-05/0.6072, allocations: 15.92 kB / 0.6428 GB, free: 4.578 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.6072, allocations: 8 kB / 0.6428 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.6099, allocations: 1.248 MB / 0.644 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009395/0.6108, allocations: 258.6 kB / 0.6443 GB, free: 2.961 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000536/0.6114, allocations: 16 kB / 0.6443 GB, free: 2.945 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.6126, allocations: 27.97 kB / 0.6443 GB, free: 2.918 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.6128, allocations: 51.81 kB / 0.6444 GB, free: 2.867 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.6129, allocations: 36 kB / 0.6444 GB, free: 2.832 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004351/0.6173, allocations: 1.268 MB / 0.6456 GB, free: 1.574 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6173, allocations: 0 / 0.6456 GB, free: 1.574 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005853/0.6231, allocations: 0.7153 MB / 0.6463 GB, free: 0.8555 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.0006865/0.6239, allocations: 153.2 kB / 0.6465 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005727/0.6296, allocations: 2.024 MB / 0.6485 GB, free: 14.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.6296, allocations: 0 / 0.6485 GB, free: 14.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.6307, allocations: 455.8 kB / 0.6489 GB, free: 14.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/0.6352, allocations: 234.2 kB / 0.6491 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.6519, allocations: 6.525 MB / 0.6555 GB, free: 7.391 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003795/0.6557, allocations: 2.32 MB / 0.6578 GB, free: 5.043 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002997/0.6588, allocations: 0.9638 MB / 0.6587 GB, free: 4.074 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.6592, allocations: 123.4 kB / 0.6588 GB, free: 3.953 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6592, allocations: 0 / 0.6588 GB, free: 3.953 MB / 474.7 MB Notification: Performance of Templates: time 0.03462/0.6938, allocations: 13.88 MB / 0.6724 GB, free: 6.16 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches