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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 204.7 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4275/0.4275, allocations: 43.5 MB / 313.5 MB, free: 8.273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 66.56 kB / 382 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1472, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.3443/0.4916, allocations: 38.49 MB / 478.3 MB, free: 27.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02248/0.5142, allocations: 7.654 MB / 486 MB, free: 22.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01286/0.5271, allocations: 155.3 kB / 486.1 MB, free: 22.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004062/0.5312, allocations: 2.006 MB / 488.1 MB, free: 22.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.5348, allocations: 1.121 MB / 489.2 MB, free: 21.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008899/0.5358, allocations: 260.3 kB / 489.5 MB, free: 21.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004633/0.5404, allocations: 3.584 MB / 493.1 MB, free: 20.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003201/0.5436, allocations: 2.348 MB / 495.4 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.5457, allocations: 0.8311 MB / 496.3 MB, free: 19.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.5482, allocations: 1.34 MB / 497.6 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005262/0.5488, allocations: 157.2 kB / 497.8 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.5506, allocations: 0.6988 MB / 498.4 MB, free: 18.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.5523, allocations: 1.168 MB / 499.6 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.5543, allocations: 1.382 MB / 0.4893 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009198/0.5636, allocations: 4.486 MB / 0.4936 GB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.5636, allocations: 0 / 0.4936 GB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.5636, allocations: 0 / 0.4936 GB, free: 15.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002514/0.5639, allocations: 0 / 0.4936 GB, free: 15.62 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.01233/0.5762, allocations: 3.081 MB / 0.4966 GB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.5763, allocations: 9.656 kB / 0.4967 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006628/0.5829, allocations: 1.609 MB / 0.4982 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.5873, allocations: 1.39 MB / 0.4996 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.5875, allocations: 157 kB / 0.4997 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008878/0.5884, allocations: 200.9 kB / 0.4999 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.6019, allocations: 6.776 MB / 0.5065 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.375e-05/0.602, allocations: 17.31 kB / 0.5066 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.6023, allocations: 92.58 kB / 0.5066 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002268/0.6046, allocations: 1.477 MB / 0.5081 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.6155, allocations: 5.808 MB / 0.5138 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02893/0.6445, allocations: 21.6 MB / 0.5349 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004585/0.6491, allocations: 2.26 MB / 0.5371 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.6503, allocations: 0.7796 MB / 0.5378 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007085/0.6574, allocations: 3.749 MB / 0.5415 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.6575, allocations: 43.06 kB / 0.5415 GB, free: 7.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 4.358e-06/0.6575, allocations: 0 / 0.5415 GB, free: 7.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005856/0.6633, allocations: 2.189 MB / 0.5437 GB, free: 5.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.6634, allocations: 59.97 kB / 0.5437 GB, free: 5.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/0.6669, allocations: 2.031 MB / 0.5457 GB, free: 3.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.667, allocations: 33.7 kB / 0.5457 GB, free: 3.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.6685, allocations: 1.961 MB / 0.5477 GB, free: 1.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/0.6689, allocations: 359.3 kB / 0.548 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000899/0.6698, allocations: 0.6626 MB / 0.5486 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.67, allocations: 357.9 kB / 0.549 GB, free: 168 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.6714, allocations: 0.9744 MB / 0.5499 GB, free: 15.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.6745, allocations: 2.922 MB / 0.5528 GB, free: 11.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.6789, allocations: 4.239 MB / 0.5569 GB, free: 6.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/0.679, allocations: 20 kB / 0.5569 GB, free: 6.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006463/0.6854, allocations: 3.782 MB / 0.5606 GB, free: 2.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.6855, allocations: 39.98 kB / 0.5607 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.4e-05/0.6856, allocations: 71.94 kB / 0.5607 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.6858, allocations: 95.94 kB / 0.5608 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.6877, allocations: 0.7096 MB / 0.5615 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.967e-05/0.6878, allocations: 137.5 kB / 0.5617 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.6899, allocations: 443.6 kB / 0.5621 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.6902, allocations: 200 kB / 0.5623 GB, free: 0.6016 MB / 430.1 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.002794/0.693, allocations: 1.432 MB / 0.5637 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003167/0.6934, allocations: 173.7 kB / 0.5638 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.6954, allocations: 1.193 MB / 0.565 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.6955, allocations: 15.94 kB / 0.565 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6955, allocations: 0 / 0.565 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.6955, allocations: 3.984 kB / 0.565 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009244/0.7047, allocations: 4.978 MB / 0.5699 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.7048, allocations: 8 kB / 0.5699 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.7053, allocations: 132.7 kB / 0.57 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.7054, allocations: 12 kB / 0.57 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.7054, allocations: 31.94 kB / 0.5701 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.558e-05/0.7055, allocations: 19.92 kB / 0.5701 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.7055, allocations: 11.94 kB / 0.5701 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.7075, allocations: 1.505 MB / 0.5716 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006561/0.7082, allocations: 270.5 kB / 0.5718 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.7085, allocations: 27.94 kB / 0.5718 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/0.7091, allocations: 31.97 kB / 0.5719 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.7093, allocations: 71.75 kB / 0.5719 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002257/0.7095, allocations: 51.86 kB / 0.572 GB, free: 6.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002572/0.7121, allocations: 1.32 MB / 0.5733 GB, free: 4.922 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7121, allocations: 0 / 0.5733 GB, free: 4.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003587/0.7157, allocations: 0.7582 MB / 0.574 GB, free: 4.16 MB / 446.1 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.0004/0.7161, allocations: 143.3 kB / 0.5742 GB, free: 4.012 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004056/0.7202, allocations: 2.24 MB / 0.5763 GB, free: 1.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.7202, allocations: 3.938 kB / 0.5764 GB, free: 1.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008019/0.721, allocations: 0.5339 MB / 0.5769 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.7226, allocations: 248.9 kB / 0.5771 GB, free: 1.012 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.7352, allocations: 7.016 MB / 0.584 GB, free: 9.852 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/0.738, allocations: 2.401 MB / 0.5863 GB, free: 7.422 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00284/0.7409, allocations: 1.019 MB / 0.5873 GB, free: 6.402 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.7412, allocations: 131.4 kB / 0.5874 GB, free: 6.273 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/0.7412, allocations: 0 / 0.5874 GB, free: 6.273 MB / 462.1 MB Notification: Performance of Templates: time 0.03415/0.7754, allocations: 15.07 MB / 0.6021 GB, free: 7.23 MB / 478.1 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/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