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.001921/0.001921, allocations: 81.88 kB / 20.68 MB, free: 1.035 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.002301/0.002301, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.555/1.555, allocations: 177.2 MB / 204.3 MB, free: 9.188 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.2128/0.2128, allocations: 34.27 MB / 295 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 1.683e-06/1.683e-06, allocations: 0 / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.886e-05, allocations: 6.281 kB / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2465/0.2465, allocations: 8.41 MB / 451.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005683/0.2522, allocations: 2.794 MB / 453.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.2535, allocations: 56.19 kB / 453.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003994/0.2575, allocations: 2.037 MB / 456 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.2606, allocations: 1.173 MB / 457.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008752/0.2615, allocations: 317.3 kB / 457.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003623/0.2651, allocations: 2.359 MB / 459.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002962/0.2681, allocations: 1.753 MB / 461.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.2714, allocations: 1.281 MB / 462.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.2739, allocations: 1.137 MB / 464 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007967/0.2747, allocations: 196.3 kB / 464.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.2767, allocations: 0.6489 MB / 464.8 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.2785, allocations: 1.176 MB / 466 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.2808, allocations: 0.7167 MB / 466.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005935/0.2868, allocations: 4.284 MB / 471 MB, free: 5.938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.2868, allocations: 1.594 kB / 471 MB, free: 5.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2868, allocations: 0 / 471 MB, free: 5.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.2869, allocations: 0 / 471 MB, free: 5.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.006449/0.2933, allocations: 2.832 MB / 473.8 MB, free: 3.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2934, allocations: 9.625 kB / 473.8 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/0.2986, allocations: 1.589 MB / 475.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.3022, allocations: 1.276 MB / 476.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.3023, allocations: 147.9 kB / 476.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/0.3027, allocations: 189.5 kB / 477 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.3131, allocations: 6.259 MB / 483.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/0.3131, allocations: 19.81 kB / 483.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002645/0.3134, allocations: 87.91 kB / 483.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00231/0.3157, allocations: 1.341 MB / 484.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.3261, allocations: 5.333 MB / 490.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02856/0.3546, allocations: 18.31 MB / 0.4965 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004472/0.3591, allocations: 1.642 MB / 0.4981 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3602, allocations: 0.6392 MB / 0.4987 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006615/0.3668, allocations: 2.97 MB / 0.5016 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.3668, allocations: 39.06 kB / 0.5016 GB, free: 14.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.256e-06/0.3668, allocations: 0 / 0.5016 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.006075/0.3729, allocations: 2.104 MB / 0.5037 GB, free: 12.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.373, allocations: 63.91 kB / 0.5037 GB, free: 11.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00326/0.3762, allocations: 1.935 MB / 0.5056 GB, free: 10 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.865e-05/0.3763, allocations: 41.69 kB / 0.5057 GB, free: 9.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001867/0.3782, allocations: 1.895 MB / 0.5075 GB, free: 8.035 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.3786, allocations: 329.5 kB / 0.5078 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009828/0.3795, allocations: 0.6117 MB / 0.5084 GB, free: 7.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.3798, allocations: 345.9 kB / 0.5088 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.3813, allocations: 0.8842 MB / 0.5096 GB, free: 5.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/0.3846, allocations: 2.748 MB / 0.5123 GB, free: 2.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005435/0.39, allocations: 3.974 MB / 0.5162 GB, free: 13.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.86e-05/0.39, allocations: 23.94 kB / 0.5162 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006193/0.3962, allocations: 3.528 MB / 0.5197 GB, free: 9.719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/0.3963, allocations: 36.22 kB / 0.5197 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.121e-05/0.3964, allocations: 68 kB / 0.5198 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-05/0.3965, allocations: 88 kB / 0.5198 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.3984, allocations: 0.6511 MB / 0.5205 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001089/0.3985, allocations: 134.4 kB / 0.5206 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.4004, allocations: 413.8 kB / 0.521 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.4007, allocations: 192 kB / 0.5212 GB, free: 8.156 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.002484/0.4032, allocations: 1.335 MB / 0.5225 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.4034, allocations: 158.9 kB / 0.5226 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.4038, allocations: 188 kB / 0.5228 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.4038, allocations: 15.92 kB / 0.5228 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.4038, allocations: 4 kB / 0.5228 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.4039, allocations: 3.984 kB / 0.5228 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00597/0.4098, allocations: 3.132 MB / 0.5259 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.4098, allocations: 7.938 kB / 0.5259 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.4102, allocations: 99.83 kB / 0.526 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.4103, allocations: 8 kB / 0.526 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.4103, allocations: 15.98 kB / 0.526 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.758e-05/0.4103, allocations: 15.25 kB / 0.526 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.4103, allocations: 8 kB / 0.5261 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.412, allocations: 1.226 MB / 0.5272 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.4123, allocations: 154.8 kB / 0.5274 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.4124, allocations: 23.97 kB / 0.5274 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.4129, allocations: 27.98 kB / 0.5274 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.413, allocations: 51.8 kB / 0.5275 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.413, allocations: 28 kB / 0.5275 GB, free: 1.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001613/0.4147, allocations: 1.118 MB / 0.5286 GB, free: 340 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4147, allocations: 0 / 0.5286 GB, free: 340 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002758/0.4174, allocations: 0.7045 MB / 0.5293 GB, free: 15.62 MB / 446.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.0003932/0.4178, allocations: 150.9 kB / 0.5294 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00333/0.4211, allocations: 1.948 MB / 0.5313 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4211, allocations: 4 kB / 0.5314 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.4218, allocations: 439 kB / 0.5318 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4228, allocations: 193 kB / 0.532 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009308/0.4321, allocations: 5.031 MB / 0.5369 GB, free: 7.773 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002445/0.4346, allocations: 1.708 MB / 0.5385 GB, free: 6.031 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002167/0.4367, allocations: 0.9311 MB / 0.5394 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.437, allocations: 116.5 kB / 0.5396 GB, free: 4.977 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.437, allocations: 0 / 0.5396 GB, free: 4.977 MB / 446.1 MB Notification: Performance of Templates: time 0.03006/0.4671, allocations: 11.6 MB / 0.5509 GB, free: 9.562 MB / 462.1 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/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.534563142806292]