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/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.001877/0.001877, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001565/0.001565, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.432/1.432, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2019/0.2019, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] 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 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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.808e-05, allocations: 2.281 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2229/0.2229, allocations: 8.39 MB / 448.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005905/0.2288, allocations: 2.782 MB / 451.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.2302, allocations: 57.34 kB / 451.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003675/0.2339, allocations: 2.046 MB / 453.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.2366, allocations: 1.166 MB / 454.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.2373, allocations: 318 kB / 454.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.2403, allocations: 2.374 MB / 457.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.2423, allocations: 1.749 MB / 459 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.2438, allocations: 1.287 MB / 460.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.2455, allocations: 1.141 MB / 461.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003544/0.2458, allocations: 193.8 kB / 461.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.2471, allocations: 0.6391 MB / 462.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009837/0.2481, allocations: 1.175 MB / 463.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008887/0.249, allocations: 0.7176 MB / 464.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004045/0.253, allocations: 4.285 MB / 468.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.253, allocations: 0 / 468.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.253, allocations: 0 / 468.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.8e-05/0.2531, allocations: 0 / 468.4 MB, free: 8.938 MB / 366.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.004422/0.2575, allocations: 2.833 MB / 471.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2575, allocations: 9.25 kB / 471.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004944/0.2625, allocations: 1.599 MB / 472.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.2648, allocations: 1.28 MB / 474.1 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/0.2649, allocations: 142.7 kB / 474.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002904/0.2652, allocations: 185.3 kB / 474.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007287/0.2725, allocations: 6.253 MB / 480.7 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.2725, allocations: 19.81 kB / 480.7 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/0.2727, allocations: 87.89 kB / 480.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001714/0.2744, allocations: 1.344 MB / 482.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.2853, allocations: 5.343 MB / 487.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02867/0.314, allocations: 18.31 MB / 0.4939 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004477/0.3185, allocations: 1.644 MB / 0.4955 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.3195, allocations: 0.6424 MB / 0.4962 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006334/0.3259, allocations: 2.966 MB / 0.4991 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.3259, allocations: 39.06 kB / 0.4991 GB, free: 2.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/0.3259, allocations: 0 / 0.4991 GB, free: 2.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=78): time 0.005839/0.3317, allocations: 2.112 MB / 0.5012 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3318, allocations: 55.91 kB / 0.5012 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.3345, allocations: 1.935 MB / 0.5031 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.3346, allocations: 29.7 kB / 0.5031 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.336, allocations: 1.907 MB / 0.505 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.3363, allocations: 325.5 kB / 0.5053 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008138/0.3371, allocations: 0.6117 MB / 0.5059 GB, free: 11.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3373, allocations: 349.9 kB / 0.5062 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.3386, allocations: 0.8903 MB / 0.5071 GB, free: 9.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/0.3416, allocations: 2.751 MB / 0.5098 GB, free: 6.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004958/0.3465, allocations: 3.962 MB / 0.5137 GB, free: 1.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.864e-05/0.3466, allocations: 20 kB / 0.5137 GB, free: 1.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00606/0.3526, allocations: 3.529 MB / 0.5171 GB, free: 13.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/0.3527, allocations: 36 kB / 0.5172 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.982e-05/0.3528, allocations: 64 kB / 0.5172 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.3529, allocations: 88 kB / 0.5173 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.3548, allocations: 0.655 MB / 0.518 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001796/0.355, allocations: 131.5 kB / 0.5181 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.357, allocations: 421.2 kB / 0.5185 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003526/0.3574, allocations: 192 kB / 0.5187 GB, free: 12.08 MB / 430.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.002456/0.3598, allocations: 1.339 MB / 0.52 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.3601, allocations: 158.9 kB / 0.5201 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.3605, allocations: 188 kB / 0.5203 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.3605, allocations: 8 kB / 0.5203 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3605, allocations: 0 / 0.5203 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3605, allocations: 7.984 kB / 0.5203 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006296/0.3668, allocations: 3.135 MB / 0.5234 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.3669, allocations: 5.125 kB / 0.5234 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.3673, allocations: 95.81 kB / 0.5235 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.3673, allocations: 12 kB / 0.5235 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.3673, allocations: 16 kB / 0.5235 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/0.3674, allocations: 12.5 kB / 0.5235 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.3674, allocations: 11.98 kB / 0.5235 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.3691, allocations: 1.226 MB / 0.5247 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.3695, allocations: 154.8 kB / 0.5249 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.3696, allocations: 16 kB / 0.5249 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.3701, allocations: 27.59 kB / 0.5249 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.3702, allocations: 55.81 kB / 0.525 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/0.3703, allocations: 31.98 kB / 0.525 GB, free: 5.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001803/0.3721, allocations: 1.122 MB / 0.5261 GB, free: 4.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3721, allocations: 0 / 0.5261 GB, free: 4.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002661/0.3747, allocations: 0.7083 MB / 0.5268 GB, free: 3.547 MB / 430.1 MB 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.0003339/0.3751, allocations: 143 kB / 0.5269 GB, free: 3.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.3783, allocations: 1.956 MB / 0.5288 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.3783, allocations: 4 kB / 0.5288 GB, free: 1.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005935/0.3789, allocations: 437.4 kB / 0.5293 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.38, allocations: 190.6 kB / 0.5294 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/0.3888, allocations: 5.029 MB / 0.5343 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/0.3912, allocations: 1.712 MB / 0.536 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002109/0.3933, allocations: 0.9272 MB / 0.5369 GB, free: 9.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.3936, allocations: 112.5 kB / 0.537 GB, free: 8.914 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3936, allocations: 0 / 0.537 GB, free: 8.914 MB / 446.1 MB Notification: Performance of Templates: time 0.02834/0.4219, allocations: 11.61 MB / 0.5484 GB, free: 13.49 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.250354703515768]