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.0009176/0.0009177, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000853/0.000853, allocations: 94.11 kB / 281.6 MB, free: 5.328 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.1983/0.1983, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.652e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1332, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.6087, allocations: 102.1 MB / 0.5944 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.609, allocations: 75.97 kB / 0.5945 GB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1252/0.7342, allocations: 52.54 MB / 0.6458 GB, free: 5.375 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.7342, allocations: 0 / 0.6458 GB, free: 5.375 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.7343, allocations: 56 kB / 0.6458 GB, free: 5.32 MB / 458.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.00612/0.7404, allocations: 2.523 MB / 0.6483 GB, free: 2.742 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.7405, allocations: 15.98 kB / 0.6483 GB, free: 2.727 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007659/0.7482, allocations: 1.79 MB / 0.6501 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004679/0.7529, allocations: 1.668 MB / 0.6517 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.7531, allocations: 91.98 kB / 0.6518 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.7541, allocations: 156 kB / 0.6519 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007858/0.762, allocations: 4.141 MB / 0.656 GB, free: 10.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.7743, allocations: 5.772 MB / 0.6616 GB, free: 4.711 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.5e-05/0.7744, allocations: 19.81 kB / 0.6616 GB, free: 4.691 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.7747, allocations: 12 kB / 0.6616 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000843/0.7755, allocations: 0.6378 MB / 0.6623 GB, free: 4.039 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.8034, allocations: 21.59 MB / 0.6833 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.8051, allocations: 1.437 MB / 0.6847 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.8058, allocations: 0.4988 MB / 0.6852 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.8058, allocations: 16.55 kB / 0.6852 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.8059, allocations: 39.12 kB / 0.6853 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 2.876e-06/0.8059, allocations: 4 kB / 0.6853 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.003245/0.8092, allocations: 1.41 MB / 0.6867 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.8092, allocations: 59.97 kB / 0.6867 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.8117, allocations: 1.552 MB / 0.6882 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.8118, allocations: 25.7 kB / 0.6883 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.8133, allocations: 1.906 MB / 0.6901 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003843/0.8137, allocations: 355.4 kB / 0.6905 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.8138, allocations: 4 kB / 0.6905 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003195/0.8141, allocations: 497.5 kB / 0.6909 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.8153, allocations: 0.8378 MB / 0.6918 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.8176, allocations: 2.798 MB / 0.6945 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.8195, allocations: 1.567 MB / 0.696 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.8195, allocations: 24 kB / 0.696 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.004692/0.8242, allocations: 3.214 MB / 0.6992 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.8243, allocations: 36 kB / 0.6992 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-05/0.8243, allocations: 68 kB / 0.6993 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/0.8244, allocations: 104 kB / 0.6994 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.8263, allocations: 0.7135 MB / 0.7001 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.973e-05/0.8264, allocations: 135.5 kB / 0.7002 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.8281, allocations: 367.8 kB / 0.7006 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.8284, allocations: 192 kB / 0.7007 GB, free: 10.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 323 * Number of states: 0 () * Number of discrete variables: 26 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (390): * Single equations (assignments): 387 * 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 prepare postOptimizeDAE: time 0.0003425/0.8287, allocations: 294.2 kB / 0.701 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.8289, allocations: 161.9 kB / 0.7012 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.8307, allocations: 1.166 MB / 0.7023 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.8307, allocations: 12 kB / 0.7023 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.8308, allocations: 0 / 0.7023 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.8308, allocations: 3.984 kB / 0.7023 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006833/0.8376, allocations: 3.916 MB / 0.7061 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/0.8377, allocations: 8 kB / 0.7062 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.8382, allocations: 131.8 kB / 0.7063 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.226e-05/0.8382, allocations: 15.95 kB / 0.7063 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.8383, allocations: 16 kB / 0.7063 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/0.8383, allocations: 19.92 kB / 0.7063 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.8383, allocations: 8 kB / 0.7063 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.8403, allocations: 1.895 MB / 0.7082 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.8407, allocations: 238.7 kB / 0.7084 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.8409, allocations: 11.98 kB / 0.7084 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.8414, allocations: 19.98 kB / 0.7084 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.8415, allocations: 71.72 kB / 0.7085 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.8415, allocations: 35.98 kB / 0.7086 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001538/0.8431, allocations: 1.034 MB / 0.7096 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8431, allocations: 0 / 0.7096 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002887/0.846, allocations: 0.6568 MB / 0.7102 GB, free: 0.5156 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 65 * 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.0003312/0.8463, allocations: 146.9 kB / 0.7103 GB, free: 372 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.245/1.091, allocations: 1.983 MB / 0.7123 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.091, allocations: 1.875 kB / 0.7123 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007782/1.092, allocations: 0.5198 MB / 0.7128 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/1.093, allocations: 175.7 kB / 0.713 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009205/1.103, allocations: 4.337 MB / 0.7172 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002728/1.105, allocations: 2.382 MB / 0.7195 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002984/1.108, allocations: 1.082 MB / 0.7206 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/1.109, allocations: 120.5 kB / 0.7207 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/1.109, allocations: 0 / 0.7207 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.02761/1.136, allocations: 11.63 MB / 0.732 GB, free: 146.1 MB / 0.5105 GB 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches