Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.262/0.262, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 79.86 kB / 0.4972 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3814, allocations: 66.03 MB / 0.5616 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01594/0.3973, allocations: 9.602 MB / 0.571 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006968/0.4043, allocations: 2.963 MB / 0.5739 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.4059, allocations: 55.81 kB / 0.574 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004209/0.4101, allocations: 2.025 MB / 0.5759 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.4131, allocations: 1.148 MB / 0.5771 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008441/0.4139, allocations: 283.4 kB / 0.5773 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003608/0.4176, allocations: 2.33 MB / 0.5796 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.4201, allocations: 1.621 MB / 0.5812 GB, free: 420 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.4216, allocations: 0.8879 MB / 0.5821 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.4236, allocations: 1.25 MB / 0.5833 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005525/0.4242, allocations: 196 kB / 0.5835 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.4257, allocations: 0.7333 MB / 0.5842 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001391/0.4271, allocations: 1.137 MB / 0.5853 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.4291, allocations: 1.301 MB / 0.5866 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005572/0.4346, allocations: 4.334 MB / 0.5908 GB, free: 6.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4346, allocations: 0 / 0.5908 GB, free: 6.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4346, allocations: 0 / 0.5908 GB, free: 6.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001731/0.4348, allocations: 4 kB / 0.5908 GB, free: 6.535 MB / 430.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.008509/0.4433, allocations: 2.87 MB / 0.5936 GB, free: 3.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.4434, allocations: 12.03 kB / 0.5936 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005391/0.4488, allocations: 1.582 MB / 0.5952 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.4518, allocations: 1.271 MB / 0.5964 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.452, allocations: 152 kB / 0.5965 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/0.4524, allocations: 191.8 kB / 0.5967 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.4633, allocations: 6.246 MB / 0.6028 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.018e-05/0.4634, allocations: 11.88 kB / 0.6028 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004293/0.4638, allocations: 87.91 kB / 0.6029 GB, free: 9.766 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002233/0.4661, allocations: 1.34 MB / 0.6042 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.4775, allocations: 5.326 MB / 0.6094 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03284/0.5104, allocations: 19.96 MB / 0.6289 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004514/0.5149, allocations: 1.552 MB / 0.6304 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.5161, allocations: 0.6407 MB / 0.6311 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007/0.5231, allocations: 3.027 MB / 0.634 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.5231, allocations: 39 kB / 0.6341 GB, free: 9.219 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 5.631e-06/0.5231, allocations: 0 / 0.6341 GB, free: 9.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005651/0.5288, allocations: 1.986 MB / 0.636 GB, free: 7.223 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.5288, allocations: 55.84 kB / 0.6361 GB, free: 7.156 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/0.5325, allocations: 1.946 MB / 0.638 GB, free: 5.207 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.5326, allocations: 37.7 kB / 0.638 GB, free: 5.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.5343, allocations: 1.907 MB / 0.6399 GB, free: 3.234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.5347, allocations: 329.5 kB / 0.6402 GB, free: 2.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009325/0.5356, allocations: 0.6234 MB / 0.6408 GB, free: 2.277 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.5358, allocations: 361.9 kB / 0.6411 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.5372, allocations: 0.8881 MB / 0.642 GB, free: 1.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.5405, allocations: 2.747 MB / 0.6447 GB, free: 13.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004999/0.5455, allocations: 3.962 MB / 0.6485 GB, free: 8.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-05/0.5455, allocations: 24 kB / 0.6486 GB, free: 8.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006242/0.5518, allocations: 3.535 MB / 0.652 GB, free: 4.895 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/0.5518, allocations: 32 kB / 0.652 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/0.552, allocations: 68 kB / 0.6521 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.5521, allocations: 88 kB / 0.6522 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.5541, allocations: 0.6556 MB / 0.6528 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000124/0.5542, allocations: 131.5 kB / 0.653 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.5562, allocations: 428.9 kB / 0.6534 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/0.5566, allocations: 188 kB / 0.6536 GB, free: 3.32 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.002471/0.559, allocations: 1.342 MB / 0.6549 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.5593, allocations: 174.9 kB / 0.655 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.5597, allocations: 188.9 kB / 0.6552 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.5597, allocations: 12 kB / 0.6552 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.5597, allocations: 0 / 0.6552 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.5597, allocations: 3.984 kB / 0.6552 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007281/0.567, allocations: 4.041 MB / 0.6592 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.567, allocations: 12.16 kB / 0.6592 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.5674, allocations: 99.75 kB / 0.6593 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.5674, allocations: 8 kB / 0.6593 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/0.5675, allocations: 23.94 kB / 0.6593 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.5675, allocations: 15.92 kB / 0.6593 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.5675, allocations: 4 kB / 0.6593 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.5693, allocations: 1.243 MB / 0.6605 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.5696, allocations: 182.6 kB / 0.6607 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.5698, allocations: 15.94 kB / 0.6607 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.5703, allocations: 23.98 kB / 0.6608 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5704, allocations: 63.78 kB / 0.6608 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.5705, allocations: 28 kB / 0.6608 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001891/0.5724, allocations: 1.267 MB / 0.6621 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5724, allocations: 0 / 0.6621 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002563/0.575, allocations: 0.6968 MB / 0.6628 GB, free: 9.656 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.0003651/0.5753, allocations: 139 kB / 0.6629 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00349/0.5788, allocations: 1.958 MB / 0.6648 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5788, allocations: 0 / 0.6648 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006207/0.5794, allocations: 443 kB / 0.6652 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5806, allocations: 234.7 kB / 0.6654 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009256/0.5899, allocations: 5.084 MB / 0.6704 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/0.593, allocations: 2.271 MB / 0.6726 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002409/0.5954, allocations: 0.9557 MB / 0.6736 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.5958, allocations: 123.4 kB / 0.6737 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.5959, allocations: 0 / 0.6737 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.03757/0.6334, allocations: 17.15 MB / 0.6904 GB, free: 13.19 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.9884369391947985]