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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009849, allocations: 97.48 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 189.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.215/0.215, allocations: 44.24 MB / 337.3 MB, free: 2.535 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 8 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 61.93 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03318/0.1677, allocations: 34.11 MB / 0.4938 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02356/0.1913, allocations: 7.207 MB / 0.5009 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009263/0.2006, allocations: 151.7 kB / 0.501 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005336/0.206, allocations: 1.501 MB / 0.5025 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3121/0.5181, allocations: 4.387 MB / 0.5068 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.52, allocations: 250.6 kB / 0.507 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005692/0.5257, allocations: 2.622 MB / 0.5096 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00597/0.5317, allocations: 2.967 MB / 0.5125 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.5335, allocations: 0.6848 MB / 0.5131 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.5356, allocations: 1.029 MB / 0.5141 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.536, allocations: 91.25 kB / 0.5142 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.5374, allocations: 0.5294 MB / 0.5148 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.5389, allocations: 0.9879 MB / 0.5157 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007451/0.5396, allocations: 0.5272 MB / 0.5162 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00543/0.5451, allocations: 3.416 MB / 0.5196 GB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.5451, allocations: 3.422 kB / 0.5196 GB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.5451, allocations: 0 / 0.5196 GB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002098/0.5453, allocations: 1.094 kB / 0.5196 GB, free: 10.63 MB / 382.1 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.006899/0.5522, allocations: 2.454 MB / 0.522 GB, free: 9.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5523, allocations: 10.06 kB / 0.522 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005001/0.5573, allocations: 1.631 MB / 0.5236 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/0.5606, allocations: 1.317 MB / 0.5249 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.5608, allocations: 148.5 kB / 0.525 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.5612, allocations: 194.6 kB / 0.5252 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.5713, allocations: 6.423 MB / 0.5315 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/0.5714, allocations: 11.69 kB / 0.5315 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.5717, allocations: 89.41 kB / 0.5316 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001897/0.5736, allocations: 1.409 MB / 0.5329 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.5837, allocations: 5.461 MB / 0.5383 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02898/0.6127, allocations: 20.56 MB / 0.5583 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004644/0.6174, allocations: 2.074 MB / 0.5604 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.6186, allocations: 0.6926 MB / 0.561 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006975/0.6256, allocations: 3.501 MB / 0.5645 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.6257, allocations: 36.78 kB / 0.5645 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 6.311e-06/0.6257, allocations: 3.984 kB / 0.5645 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005262/0.6309, allocations: 1.971 MB / 0.5664 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.631, allocations: 59.84 kB / 0.5665 GB, free: 13.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.6341, allocations: 1.95 MB / 0.5684 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-05/0.6342, allocations: 44.16 kB / 0.5684 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.6356, allocations: 1.88 MB / 0.5703 GB, free: 9.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.6359, allocations: 316.4 kB / 0.5706 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.6361, allocations: 56 kB / 0.5706 GB, free: 8.883 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000304/0.6364, allocations: 0.4904 MB / 0.5711 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.6377, allocations: 0.8764 MB / 0.572 GB, free: 7.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/0.6403, allocations: 2.763 MB / 0.5747 GB, free: 3.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.6425, allocations: 1.555 MB / 0.5762 GB, free: 2.336 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.844e-05/0.6426, allocations: 20 kB / 0.5762 GB, free: 2.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005637/0.6482, allocations: 3.523 MB / 0.5796 GB, free: 15.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.6483, allocations: 38.28 kB / 0.5797 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.976e-05/0.6484, allocations: 72.81 kB / 0.5797 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.6485, allocations: 96 kB / 0.5798 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.6503, allocations: 0.6628 MB / 0.5805 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001102/0.6504, allocations: 135.4 kB / 0.5806 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.6527, allocations: 423.3 kB / 0.581 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.653, allocations: 188 kB / 0.5812 GB, free: 13.5 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002824/0.6558, allocations: 1.38 MB / 0.5825 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.6561, allocations: 157.9 kB / 0.5827 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.6565, allocations: 195 kB / 0.5829 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.6566, allocations: 8 kB / 0.5829 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.6566, allocations: 0 / 0.5829 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.6566, allocations: 3.984 kB / 0.5829 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006952/0.6635, allocations: 4.145 MB / 0.5869 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6636, allocations: 4 kB / 0.5869 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.664, allocations: 99.81 kB / 0.587 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.664, allocations: 8 kB / 0.587 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.6641, allocations: 20 kB / 0.5871 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.6641, allocations: 15.92 kB / 0.5871 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6641, allocations: 4 kB / 0.5871 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.6656, allocations: 1.242 MB / 0.5883 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005154/0.6661, allocations: 258.6 kB / 0.5885 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.6663, allocations: 20 kB / 0.5886 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.6668, allocations: 23.97 kB / 0.5886 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.6669, allocations: 55.84 kB / 0.5886 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.6669, allocations: 33.56 kB / 0.5887 GB, free: 5.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002084/0.669, allocations: 1.268 MB / 0.5899 GB, free: 4.348 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.669, allocations: 4 kB / 0.5899 GB, free: 4.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003117/0.6721, allocations: 0.7132 MB / 0.5906 GB, free: 3.629 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003517/0.6725, allocations: 149.2 kB / 0.5907 GB, free: 3.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003435/0.676, allocations: 2.018 MB / 0.5927 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.676, allocations: 0 / 0.5927 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.6766, allocations: 465 kB / 0.5932 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.6781, allocations: 241.2 kB / 0.5934 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.6911, allocations: 6.248 MB / 0.5995 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003088/0.6943, allocations: 2.316 MB / 0.6018 GB, free: 8.082 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002958/0.6972, allocations: 0.9638 MB / 0.6027 GB, free: 7.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.6976, allocations: 121.2 kB / 0.6028 GB, free: 6.996 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6976, allocations: 0 / 0.6028 GB, free: 6.996 MB / 446.1 MB Notification: Performance of Templates: time 0.03279/0.7304, allocations: 13.64 MB / 0.6161 GB, free: 9.449 MB / 462.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches