Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009655/0.0009651, allocations: 105.4 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3211/0.3211, allocations: 43.5 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009803/0.0009804, allocations: 55.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1141, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2359/0.3501, allocations: 38.49 MB / 0.5132 GB, free: 36.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01766/0.3678, allocations: 7.644 MB / 0.5207 GB, free: 34.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009729/0.3775, allocations: 156.9 kB / 0.5208 GB, free: 34.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.3818, allocations: 2.014 MB / 0.5228 GB, free: 34.02 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.3854, allocations: 1.118 MB / 0.5239 GB, free: 33.68 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3865, allocations: 259.3 kB / 0.5241 GB, free: 33.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00508/0.3916, allocations: 3.6 MB / 0.5276 GB, free: 32.71 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003184/0.3948, allocations: 2.351 MB / 0.5299 GB, free: 31.92 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.3966, allocations: 0.8441 MB / 0.5307 GB, free: 31.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.3986, allocations: 1.336 MB / 0.532 GB, free: 31.22 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006653/0.3992, allocations: 156.2 kB / 0.5322 GB, free: 31.22 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.4008, allocations: 0.6908 MB / 0.5329 GB, free: 31.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.402, allocations: 1.167 MB / 0.534 GB, free: 30.69 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.4036, allocations: 1.387 MB / 0.5354 GB, free: 29.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.4071, allocations: 4.485 MB / 0.5397 GB, free: 28.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4071, allocations: 4 kB / 0.5398 GB, free: 28.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4071, allocations: 0 / 0.5398 GB, free: 28.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.474e-05/0.4072, allocations: 3.156 kB / 0.5398 GB, free: 28.22 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.004421/0.4116, allocations: 3.075 MB / 0.5428 GB, free: 26.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4117, allocations: 9.25 kB / 0.5428 GB, free: 26.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005215/0.4169, allocations: 1.607 MB / 0.5443 GB, free: 26.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/0.42, allocations: 1.384 MB / 0.5457 GB, free: 25.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.99e-05/0.4201, allocations: 152.9 kB / 0.5458 GB, free: 25.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/0.4204, allocations: 208.8 kB / 0.546 GB, free: 25.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.4309, allocations: 6.777 MB / 0.5527 GB, free: 22.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.431, allocations: 14.38 kB / 0.5527 GB, free: 22.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/0.4313, allocations: 100.4 kB / 0.5528 GB, free: 22.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002458/0.4338, allocations: 1.477 MB / 0.5542 GB, free: 22.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.4466, allocations: 5.812 MB / 0.5599 GB, free: 20.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0291/0.4757, allocations: 21.59 MB / 0.581 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.4795, allocations: 2.255 MB / 0.5832 GB, free: 436 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009859/0.4805, allocations: 0.7874 MB / 0.5839 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006695/0.4872, allocations: 3.748 MB / 0.5876 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4873, allocations: 43.12 kB / 0.5876 GB, free: 11.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=93): time 3.646e-06/0.4873, allocations: 0 / 0.5876 GB, free: 11.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.005268/0.4925, allocations: 2.185 MB / 0.5898 GB, free: 9.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.4926, allocations: 67.91 kB / 0.5898 GB, free: 9.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.4953, allocations: 2.028 MB / 0.5918 GB, free: 7.426 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.4954, allocations: 37.7 kB / 0.5919 GB, free: 7.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.4966, allocations: 1.953 MB / 0.5938 GB, free: 5.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.4969, allocations: 367 kB / 0.5941 GB, free: 5.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007805/0.4977, allocations: 0.657 MB / 0.5948 GB, free: 4.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4979, allocations: 361.9 kB / 0.5951 GB, free: 4.047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.4993, allocations: 0.9627 MB / 0.596 GB, free: 3.082 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.5017, allocations: 2.926 MB / 0.5989 GB, free: 15.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004411/0.5061, allocations: 4.245 MB / 0.603 GB, free: 9.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.693e-05/0.5062, allocations: 20 kB / 0.6031 GB, free: 9.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006238/0.5124, allocations: 3.78 MB / 0.6067 GB, free: 6.168 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.5125, allocations: 32 kB / 0.6068 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-05/0.5126, allocations: 68 kB / 0.6068 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.197e-05/0.5127, allocations: 95.94 kB / 0.6069 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.5147, allocations: 0.7103 MB / 0.6076 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-05/0.5148, allocations: 139.5 kB / 0.6078 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.5171, allocations: 449.8 kB / 0.6082 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.5174, allocations: 196 kB / 0.6084 GB, free: 4.496 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.002322/0.5197, allocations: 1.434 MB / 0.6098 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.52, allocations: 169.8 kB / 0.6099 GB, free: 2.887 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.5219, allocations: 1.189 MB / 0.6111 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.5219, allocations: 15.94 kB / 0.6111 GB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.522, allocations: 0 / 0.6111 GB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.522, allocations: 3.984 kB / 0.6111 GB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009002/0.531, allocations: 4.978 MB / 0.616 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.531, allocations: 12.06 kB / 0.616 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.5316, allocations: 135.7 kB / 0.6161 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.5316, allocations: 12 kB / 0.6161 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.5317, allocations: 35.91 kB / 0.6162 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/0.5317, allocations: 15.94 kB / 0.6162 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.5317, allocations: 19.94 kB / 0.6162 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/0.5349, allocations: 2.93 MB / 0.6191 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.5354, allocations: 258.6 kB / 0.6193 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.5355, allocations: 30.8 kB / 0.6193 GB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.5361, allocations: 35.97 kB / 0.6194 GB, free: 8.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.5363, allocations: 71.69 kB / 0.6194 GB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/0.5363, allocations: 36 kB / 0.6195 GB, free: 8.727 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001843/0.5382, allocations: 1.328 MB / 0.6208 GB, free: 7.375 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5382, allocations: 0 / 0.6208 GB, free: 7.375 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002806/0.541, allocations: 0.7576 MB / 0.6215 GB, free: 6.617 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0003524/0.5414, allocations: 147.2 kB / 0.6217 GB, free: 6.465 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003693/0.5451, allocations: 2.236 MB / 0.6238 GB, free: 4.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5451, allocations: 0 / 0.6238 GB, free: 4.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.5458, allocations: 0.5396 MB / 0.6244 GB, free: 3.715 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.5474, allocations: 238.5 kB / 0.6246 GB, free: 3.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.5575, allocations: 7.61 MB / 0.632 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/0.5601, allocations: 2.433 MB / 0.6344 GB, free: 9.254 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002556/0.5627, allocations: 1.016 MB / 0.6354 GB, free: 8.234 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.563, allocations: 135.4 kB / 0.6355 GB, free: 8.102 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/0.563, allocations: 0 / 0.6355 GB, free: 8.102 MB / 458.7 MB Notification: Performance of Templates: time 0.03249/0.5955, allocations: 15.54 MB / 0.6507 GB, free: 8.645 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches