Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 73.41 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002464/0.002464, allocations: 161.2 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2098/0.2098, allocations: 34.27 MB / 295.5 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 443.1 MB, free: 6.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3275, allocations: 66.01 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007757/0.3352, allocations: 8.402 MB / 0.5054 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005391/0.3406, allocations: 2.794 MB / 0.5082 GB, free: 22.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.3417, allocations: 56.72 kB / 0.5082 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.3447, allocations: 1.937 MB / 0.5101 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.347, allocations: 1.134 MB / 0.5112 GB, free: 21.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007281/0.3477, allocations: 291.2 kB / 0.5115 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004688/0.3524, allocations: 2.32 MB / 0.5138 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.3553, allocations: 1.74 MB / 0.5155 GB, free: 19.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.3571, allocations: 0.8872 MB / 0.5163 GB, free: 19.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.359, allocations: 1.176 MB / 0.5175 GB, free: 18.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005457/0.3596, allocations: 193.5 kB / 0.5177 GB, free: 18.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.3613, allocations: 0.6056 MB / 0.5182 GB, free: 18.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.3629, allocations: 1.137 MB / 0.5194 GB, free: 18.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.3644, allocations: 0.9489 MB / 0.5203 GB, free: 17.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006895/0.3713, allocations: 4.34 MB / 0.5245 GB, free: 16.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3713, allocations: 0 / 0.5245 GB, free: 16.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3713, allocations: 0.7969 kB / 0.5245 GB, free: 16.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001586/0.3715, allocations: 0 / 0.5245 GB, free: 16.01 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.00736/0.3789, allocations: 2.864 MB / 0.5273 GB, free: 14.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.3789, allocations: 13.94 kB / 0.5273 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005796/0.3847, allocations: 1.594 MB / 0.5289 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.3878, allocations: 1.279 MB / 0.5301 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.388, allocations: 147 kB / 0.5303 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.3883, allocations: 193.1 kB / 0.5305 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009619/0.3979, allocations: 6.262 MB / 0.5366 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.398, allocations: 12.84 kB / 0.5366 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/0.3982, allocations: 90.94 kB / 0.5367 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002019/0.4002, allocations: 1.344 MB / 0.538 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009531/0.4098, allocations: 5.333 MB / 0.5432 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02538/0.4352, allocations: 18.36 MB / 0.5611 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00434/0.4395, allocations: 1.633 MB / 0.5627 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.4405, allocations: 0.6379 MB / 0.5633 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006325/0.4468, allocations: 2.98 MB / 0.5662 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.4469, allocations: 35.06 kB / 0.5663 GB, free: 14.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.837e-06/0.4469, allocations: 4 kB / 0.5663 GB, free: 14.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005661/0.4526, allocations: 2.1 MB / 0.5683 GB, free: 11.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.4526, allocations: 59.91 kB / 0.5684 GB, free: 11.83 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/0.4556, allocations: 1.927 MB / 0.5703 GB, free: 9.895 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.4557, allocations: 41.7 kB / 0.5703 GB, free: 9.848 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.4572, allocations: 1.926 MB / 0.5722 GB, free: 7.898 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.4575, allocations: 321.6 kB / 0.5725 GB, free: 7.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000817/0.4583, allocations: 0.6234 MB / 0.5731 GB, free: 6.949 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4585, allocations: 349.9 kB / 0.5734 GB, free: 6.602 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.4598, allocations: 0.8842 MB / 0.5743 GB, free: 5.715 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002925/0.4627, allocations: 2.751 MB / 0.577 GB, free: 2.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004717/0.4674, allocations: 3.97 MB / 0.5809 GB, free: 13.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-05/0.4674, allocations: 20 kB / 0.5809 GB, free: 13.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005738/0.4732, allocations: 3.527 MB / 0.5843 GB, free: 9.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.4732, allocations: 32.94 kB / 0.5844 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.908e-05/0.4733, allocations: 68 kB / 0.5844 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.239e-05/0.4734, allocations: 88 kB / 0.5845 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.4754, allocations: 0.6666 MB / 0.5852 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001091/0.4755, allocations: 127.5 kB / 0.5853 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.4775, allocations: 413 kB / 0.5857 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/0.4778, allocations: 184 kB / 0.5859 GB, free: 8.016 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.002455/0.4802, allocations: 1.357 MB / 0.5872 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/0.4806, allocations: 154.9 kB / 0.5873 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.481, allocations: 188 kB / 0.5875 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.481, allocations: 8 kB / 0.5875 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.481, allocations: 0 / 0.5875 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.481, allocations: 3.984 kB / 0.5875 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006057/0.487, allocations: 3.135 MB / 0.5906 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.4871, allocations: 4 kB / 0.5906 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.4875, allocations: 103.9 kB / 0.5907 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.4875, allocations: 8 kB / 0.5907 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/0.4875, allocations: 20 kB / 0.5907 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/0.4876, allocations: 15.92 kB / 0.5907 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.098e-06/0.4876, allocations: 11.94 kB / 0.5907 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.4892, allocations: 1.222 MB / 0.5919 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.4895, allocations: 158.7 kB / 0.5921 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.4896, allocations: 16 kB / 0.5921 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.4901, allocations: 27.97 kB / 0.5921 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/0.4902, allocations: 55.69 kB / 0.5922 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.239e-05/0.4903, allocations: 35.97 kB / 0.5922 GB, free: 1.289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001659/0.4919, allocations: 1.114 MB / 0.5933 GB, free: 184 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4919, allocations: 3.938 kB / 0.5933 GB, free: 180 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.002735/0.4946, allocations: 0.6968 MB / 0.594 GB, free: 15.47 MB / 0.4981 GB 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 (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.0003205/0.495, allocations: 142.9 kB / 0.5941 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003424/0.4984, allocations: 1.964 MB / 0.596 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4984, allocations: 0 / 0.596 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.499, allocations: 429.5 kB / 0.5964 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.5002, allocations: 180.3 kB / 0.5966 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009944/0.5102, allocations: 5.065 MB / 0.6016 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.5128, allocations: 1.708 MB / 0.6032 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002256/0.5151, allocations: 0.9271 MB / 0.6041 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.5153, allocations: 112.5 kB / 0.6042 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of SimCode: time 1.442e-06/0.5153, allocations: 0 / 0.6042 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of Templates: time 0.02716/0.5425, allocations: 11.65 MB / 0.6156 GB, free: 9.344 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5698673920705914]