Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001369, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009696, allocations: 95.45 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3219/0.3219, allocations: 44.13 MB / 386.1 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 51.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3588, allocations: 60.81 MB / 0.5064 GB, free: 38.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02539/0.3842, allocations: 37.7 MB / 0.5432 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.3994, allocations: 7.563 MB / 0.5506 GB, free: 6.301 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006566/0.406, allocations: 152.4 kB / 0.5507 GB, free: 6.281 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003808/0.4098, allocations: 1.998 MB / 0.5527 GB, free: 5.355 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.413, allocations: 1.071 MB / 0.5537 GB, free: 4.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/0.4138, allocations: 265.3 kB / 0.554 GB, free: 4.805 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004547/0.4184, allocations: 3.422 MB / 0.5573 GB, free: 3.828 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003202/0.4216, allocations: 2.316 MB / 0.5596 GB, free: 2.953 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.4231, allocations: 0.807 MB / 0.5604 GB, free: 2.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.4248, allocations: 1.235 MB / 0.5616 GB, free: 2.191 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.4251, allocations: 153.7 kB / 0.5617 GB, free: 2.188 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.4267, allocations: 0.696 MB / 0.5624 GB, free: 2.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.4279, allocations: 1.111 MB / 0.5635 GB, free: 1.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.4289, allocations: 1.31 MB / 0.5648 GB, free: 0.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005349/0.4343, allocations: 4.252 MB / 0.5689 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4343, allocations: 0 / 0.5689 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4343, allocations: 5.375 kB / 0.5689 GB, free: 15.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001003/0.4344, allocations: 0 / 0.5689 GB, free: 15.12 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.007185/0.4416, allocations: 2.942 MB / 0.5718 GB, free: 12.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.4417, allocations: 8.031 kB / 0.5718 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005271/0.447, allocations: 1.588 MB / 0.5734 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/0.4498, allocations: 1.34 MB / 0.5747 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.4499, allocations: 144.1 kB / 0.5748 GB, free: 9.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003333/0.4503, allocations: 199.8 kB / 0.575 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008939/0.4592, allocations: 6.432 MB / 0.5813 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.4593, allocations: 15.81 kB / 0.5813 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.4595, allocations: 87.91 kB / 0.5814 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002056/0.4616, allocations: 1.407 MB / 0.5828 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009104/0.4707, allocations: 5.488 MB / 0.5881 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03171/0.5024, allocations: 20.56 MB / 0.6082 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004388/0.5069, allocations: 2.089 MB / 0.6102 GB, free: 4.516 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.5079, allocations: 0.6836 MB / 0.6109 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007308/0.5153, allocations: 3.512 MB / 0.6143 GB, free: 180 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5153, allocations: 39 kB / 0.6144 GB, free: 132 kB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 4.979e-06/0.5153, allocations: 0 / 0.6144 GB, free: 132 kB / 426.7 MB Notification: Performance of matching and sorting (n=78): time 0.005136/0.5205, allocations: 1.981 MB / 0.6163 GB, free: 14.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.5205, allocations: 63.77 kB / 0.6164 GB, free: 14.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/0.5239, allocations: 1.958 MB / 0.6183 GB, free: 12.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.636e-05/0.524, allocations: 37.69 kB / 0.6183 GB, free: 12.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.5254, allocations: 1.875 MB / 0.6201 GB, free: 10.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.5258, allocations: 316 kB / 0.6204 GB, free: 9.836 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009496/0.5267, allocations: 0.623 MB / 0.6211 GB, free: 9.203 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5269, allocations: 357.9 kB / 0.6214 GB, free: 8.848 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.5282, allocations: 0.892 MB / 0.6223 GB, free: 7.953 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002691/0.5309, allocations: 2.77 MB / 0.625 GB, free: 4.242 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004342/0.5353, allocations: 3.998 MB / 0.6289 GB, free: 15.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.214e-05/0.5354, allocations: 19.94 kB / 0.6289 GB, free: 15.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005849/0.5412, allocations: 3.558 MB / 0.6324 GB, free: 11.72 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.5413, allocations: 33.25 kB / 0.6324 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.882e-05/0.5414, allocations: 68 kB / 0.6325 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.5415, allocations: 91.94 kB / 0.6326 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.5435, allocations: 0.6667 MB / 0.6332 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001069/0.5436, allocations: 135.5 kB / 0.6333 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.5456, allocations: 427.8 kB / 0.6337 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.5459, allocations: 188 kB / 0.6339 GB, free: 10.13 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.002307/0.5482, allocations: 1.362 MB / 0.6353 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.5486, allocations: 157.9 kB / 0.6354 GB, free: 8.598 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.549, allocations: 201.2 kB / 0.6356 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.549, allocations: 19.94 kB / 0.6356 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.5491, allocations: 0 / 0.6356 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5491, allocations: 3.984 kB / 0.6356 GB, free: 8.375 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008169/0.5572, allocations: 4.137 MB / 0.6397 GB, free: 4.102 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.5573, allocations: 8.75 kB / 0.6397 GB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.5577, allocations: 99.81 kB / 0.6398 GB, free: 3.996 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/0.5577, allocations: 12 kB / 0.6398 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/0.5578, allocations: 16 kB / 0.6398 GB, free: 3.969 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.5578, allocations: 11.98 kB / 0.6398 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.5578, allocations: 11.94 kB / 0.6398 GB, free: 3.945 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.5607, allocations: 2.551 MB / 0.6423 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/0.5613, allocations: 254.7 kB / 0.6425 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.5617, allocations: 15.94 kB / 0.6426 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007949/0.5625, allocations: 31.88 kB / 0.6426 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.5627, allocations: 59.77 kB / 0.6426 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/0.5628, allocations: 31.94 kB / 0.6427 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002643/0.5654, allocations: 1.279 MB / 0.6439 GB, free: 15.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5654, allocations: 0 / 0.6439 GB, free: 15.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003196/0.5686, allocations: 0.7038 MB / 0.6446 GB, free: 14.88 MB / 474.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.0003715/0.569, allocations: 146.9 kB / 0.6448 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.5724, allocations: 2.029 MB / 0.6467 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.5724, allocations: 5.938 kB / 0.6467 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.5731, allocations: 466.8 kB / 0.6472 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.5749, allocations: 228.6 kB / 0.6474 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.586, allocations: 7.021 MB / 0.6543 GB, free: 4.891 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/0.5893, allocations: 2.351 MB / 0.6566 GB, free: 2.512 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002567/0.5919, allocations: 0.956 MB / 0.6575 GB, free: 1.551 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.5923, allocations: 119.4 kB / 0.6576 GB, free: 1.434 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5924, allocations: 4 kB / 0.6576 GB, free: 1.43 MB / 474.7 MB Notification: Performance of Templates: time 0.03136/0.6237, allocations: 14.39 MB / 0.6717 GB, free: 3.082 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@2/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