Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002406/0.002411, allocations: 186.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001176/0.001176, allocations: 98.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3025/0.3025, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004675, allocations: 12 kB / 431.3 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 58.87 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.05024/0.166, allocations: 32.98 MB / 0.5109 GB, free: 8.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02095/0.187, allocations: 7.593 MB / 0.5183 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006216/0.1933, allocations: 155.6 kB / 0.5185 GB, free: 0.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3328/0.5262, allocations: 1.66 MB / 0.5201 GB, free: 10.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01804/0.5443, allocations: 4.779 MB / 0.5248 GB, free: 10.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.5466, allocations: 223.9 kB / 0.525 GB, free: 10.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004014/0.5507, allocations: 1.34 MB / 0.5263 GB, free: 10.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006327/0.5571, allocations: 2.996 MB / 0.5292 GB, free: 9.914 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.5587, allocations: 0.5874 MB / 0.5298 GB, free: 9.914 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.5604, allocations: 0.7644 MB / 0.5306 GB, free: 9.914 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005295/0.561, allocations: 95.81 kB / 0.5306 GB, free: 9.914 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.5628, allocations: 0.5182 MB / 0.5312 GB, free: 9.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.5646, allocations: 0.9682 MB / 0.5321 GB, free: 9.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008657/0.5655, allocations: 0.5508 MB / 0.5326 GB, free: 9.879 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005978/0.5715, allocations: 3.613 MB / 0.5362 GB, free: 8.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5715, allocations: 0 / 0.5362 GB, free: 8.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.506e-06/0.5715, allocations: 0 / 0.5362 GB, free: 8.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001862/0.5717, allocations: 0 / 0.5362 GB, free: 8.305 MB / 362.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.008373/0.5801, allocations: 2.609 MB / 0.5387 GB, free: 6.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5802, allocations: 8.531 kB / 0.5387 GB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.5917, allocations: 1.942 MB / 0.5406 GB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/0.5962, allocations: 1.364 MB / 0.5419 GB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.5965, allocations: 164.5 kB / 0.5421 GB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.5975, allocations: 205.3 kB / 0.5423 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.6152, allocations: 6.792 MB / 0.5489 GB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.045e-05/0.6153, allocations: 18.75 kB / 0.549 GB, free: 3.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006051/0.616, allocations: 98.28 kB / 0.549 GB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003844/0.6198, allocations: 1.477 MB / 0.5505 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.6372, allocations: 5.828 MB / 0.5562 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04822/0.6855, allocations: 21.64 MB / 0.5773 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008202/0.6937, allocations: 2.242 MB / 0.5795 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/0.7064, allocations: 3.78 MB / 0.5832 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.7065, allocations: 37.75 kB / 0.5832 GB, free: 8.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 5.249e-06/0.7066, allocations: 0 / 0.5832 GB, free: 8.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.01081/0.7174, allocations: 2.449 MB / 0.5856 GB, free: 6.301 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.7175, allocations: 62.59 kB / 0.5857 GB, free: 6.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004544/0.722, allocations: 2.012 MB / 0.5876 GB, free: 4.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002044/0.7223, allocations: 42.88 kB / 0.5877 GB, free: 4.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00217/0.7245, allocations: 1.969 MB / 0.5896 GB, free: 2.215 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/0.7252, allocations: 366.6 kB / 0.59 GB, free: 1.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.7255, allocations: 69.12 kB / 0.59 GB, free: 1.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003443/0.7259, allocations: 453.8 kB / 0.5905 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002903/0.7288, allocations: 0.9549 MB / 0.5914 GB, free: 396 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/0.7339, allocations: 2.898 MB / 0.5942 GB, free: 12.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004373/0.7383, allocations: 1.667 MB / 0.5958 GB, free: 10.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-05/0.7384, allocations: 20 kB / 0.5959 GB, free: 10.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.01073/0.7491, allocations: 3.708 MB / 0.5995 GB, free: 7.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/0.7493, allocations: 42.59 kB / 0.5995 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/0.7494, allocations: 68 kB / 0.5996 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.7496, allocations: 108 kB / 0.5997 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00451/0.7541, allocations: 0.7132 MB / 0.6004 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001774/0.7543, allocations: 131.5 kB / 0.6005 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/0.7578, allocations: 449 kB / 0.6009 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007622/0.7586, allocations: 203.5 kB / 0.6011 GB, free: 5.988 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004325/0.763, allocations: 1.435 MB / 0.6025 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/0.7635, allocations: 165.8 kB / 0.6027 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/0.767, allocations: 1.185 MB / 0.6039 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/0.7671, allocations: 16 kB / 0.6039 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.7671, allocations: 3.953 kB / 0.6039 GB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.7671, allocations: 3.984 kB / 0.6039 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.7827, allocations: 4.972 MB / 0.6087 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.7827, allocations: 8 kB / 0.6087 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.7839, allocations: 131.8 kB / 0.6089 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.004e-05/0.7839, allocations: 12 kB / 0.6089 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.7841, allocations: 27.98 kB / 0.6089 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.326e-05/0.7841, allocations: 15.94 kB / 0.6089 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.73e-05/0.7841, allocations: 17.69 kB / 0.6089 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/0.7881, allocations: 2.191 MB / 0.6111 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/0.7889, allocations: 278.4 kB / 0.6113 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/0.7893, allocations: 27.98 kB / 0.6114 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.7906, allocations: 31.97 kB / 0.6114 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.791, allocations: 71.78 kB / 0.6115 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.7911, allocations: 43.94 kB / 0.6115 GB, free: 10.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003655/0.7948, allocations: 1.308 MB / 0.6128 GB, free: 9.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.7948, allocations: 0 / 0.6128 GB, free: 9.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004508/0.7993, allocations: 0.7614 MB / 0.6135 GB, free: 8.613 MB / 426.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 (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.0005667/0.7999, allocations: 147 kB / 0.6137 GB, free: 8.457 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005958/0.8059, allocations: 2.216 MB / 0.6158 GB, free: 6.262 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.806, allocations: 4.125 kB / 0.6158 GB, free: 6.258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.8075, allocations: 0.5327 MB / 0.6164 GB, free: 5.727 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.8094, allocations: 242.9 kB / 0.6166 GB, free: 5.488 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.8274, allocations: 7.043 MB / 0.6235 GB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00558/0.833, allocations: 2.465 MB / 0.6259 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008801/0.8339, allocations: 159.4 kB / 0.626 GB, free: 11.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/0.834, allocations: 0 / 0.626 GB, free: 11.64 MB / 442.7 MB Notification: Performance of Templates: time 0.07608/0.91, allocations: 31.51 MB / 0.6568 GB, free: 12.15 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches