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.001543/0.001543, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001898/0.001898, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.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.2657/0.2657, allocations: 46.94 MB / 360.9 MB, free: 4.238 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+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.003573/0.003573, allocations: 67.89 kB / 0.4966 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3255, allocations: 66.04 MB / 0.5611 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01211/0.3376, allocations: 9.583 MB / 0.5705 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006499/0.3441, allocations: 2.963 MB / 0.5734 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.3453, allocations: 55.81 kB / 0.5734 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004042/0.3493, allocations: 2.033 MB / 0.5754 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.3522, allocations: 1.136 MB / 0.5765 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.3529, allocations: 283.5 kB / 0.5768 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00351/0.3564, allocations: 2.33 MB / 0.5791 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.3586, allocations: 1.738 MB / 0.5808 GB, free: 156 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.3598, allocations: 0.8957 MB / 0.5816 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.3614, allocations: 1.246 MB / 0.5829 GB, free: 14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.3617, allocations: 196 kB / 0.583 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.363, allocations: 0.7254 MB / 0.5838 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.3641, allocations: 1.145 MB / 0.5849 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.3653, allocations: 1.305 MB / 0.5861 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004748/0.37, allocations: 4.333 MB / 0.5904 GB, free: 6.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.37, allocations: 0 / 0.5904 GB, free: 6.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.37, allocations: 4 kB / 0.5904 GB, free: 6.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.759e-05/0.3701, allocations: 0 / 0.5904 GB, free: 6.273 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.004669/0.3748, allocations: 2.866 MB / 0.5932 GB, free: 3.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3748, allocations: 8.031 kB / 0.5932 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00502/0.3798, allocations: 1.578 MB / 0.5947 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.3828, allocations: 1.275 MB / 0.596 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.3829, allocations: 148 kB / 0.5961 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003479/0.3832, allocations: 191.8 kB / 0.5963 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.3933, allocations: 6.246 MB / 0.6024 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.157e-05/0.3934, allocations: 11.88 kB / 0.6024 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.3936, allocations: 87.91 kB / 0.6025 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002152/0.3958, allocations: 1.344 MB / 0.6038 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.4062, allocations: 5.342 MB / 0.609 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03237/0.4386, allocations: 19.95 MB / 0.6285 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/0.4427, allocations: 1.551 MB / 0.63 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009633/0.4436, allocations: 0.6436 MB / 0.6307 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006225/0.4498, allocations: 3.027 MB / 0.6336 GB, free: 9.008 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.4499, allocations: 39 kB / 0.6336 GB, free: 8.961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.507e-06/0.4499, allocations: 4 kB / 0.6336 GB, free: 8.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005389/0.4553, allocations: 1.982 MB / 0.6356 GB, free: 6.965 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.4554, allocations: 59.84 kB / 0.6356 GB, free: 6.895 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002848/0.4582, allocations: 1.938 MB / 0.6375 GB, free: 4.953 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.4583, allocations: 37.69 kB / 0.6376 GB, free: 4.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.4599, allocations: 1.911 MB / 0.6394 GB, free: 2.977 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.4602, allocations: 337.5 kB / 0.6398 GB, free: 2.645 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007697/0.461, allocations: 0.6156 MB / 0.6404 GB, free: 2.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4611, allocations: 357.9 kB / 0.6407 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.4625, allocations: 0.8842 MB / 0.6416 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002884/0.4654, allocations: 2.748 MB / 0.6442 GB, free: 13.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004761/0.4701, allocations: 3.973 MB / 0.6481 GB, free: 8.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.118e-05/0.4701, allocations: 20 kB / 0.6481 GB, free: 8.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005593/0.4757, allocations: 3.535 MB / 0.6516 GB, free: 4.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.4758, allocations: 32 kB / 0.6516 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.61e-05/0.4759, allocations: 72.14 kB / 0.6517 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.476, allocations: 88 kB / 0.6518 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.4779, allocations: 0.6589 MB / 0.6524 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00011/0.478, allocations: 127.5 kB / 0.6525 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.4798, allocations: 428.8 kB / 0.653 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/0.48, allocations: 188 kB / 0.6531 GB, free: 3.062 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.001986/0.482, allocations: 1.342 MB / 0.6544 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.4822, allocations: 170.8 kB / 0.6546 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.4826, allocations: 196.9 kB / 0.6548 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.4826, allocations: 11.98 kB / 0.6548 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4826, allocations: 3.938 kB / 0.6548 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4826, allocations: 0 / 0.6548 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007133/0.4898, allocations: 4.049 MB / 0.6588 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4898, allocations: 4 kB / 0.6588 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.4901, allocations: 91.83 kB / 0.6589 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.4902, allocations: 12 kB / 0.6589 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.4902, allocations: 27.92 kB / 0.6589 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.4902, allocations: 11.94 kB / 0.6589 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.4902, allocations: 8.469 kB / 0.6589 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.4918, allocations: 1.239 MB / 0.6601 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.4921, allocations: 182.6 kB / 0.6603 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.4923, allocations: 23.92 kB / 0.6603 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.4927, allocations: 31.97 kB / 0.6604 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.4929, allocations: 51.81 kB / 0.6604 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.4929, allocations: 23.98 kB / 0.6604 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001822/0.4947, allocations: 1.275 MB / 0.6617 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4947, allocations: 0 / 0.6617 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002463/0.4972, allocations: 0.689 MB / 0.6623 GB, free: 9.395 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.0003182/0.4975, allocations: 143.5 kB / 0.6625 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003131/0.5006, allocations: 1.952 MB / 0.6644 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5006, allocations: 0 / 0.6644 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006248/0.5013, allocations: 432.1 kB / 0.6648 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.5024, allocations: 249.9 kB / 0.665 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.5106, allocations: 5.084 MB / 0.67 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/0.5131, allocations: 2.275 MB / 0.6722 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002049/0.5151, allocations: 0.948 MB / 0.6731 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.5154, allocations: 115.4 kB / 0.6733 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.5154, allocations: 0 / 0.6733 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.03723/0.5526, allocations: 17.16 MB / 0.69 GB, free: 12.96 MB / 0.5294 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 -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: 6.134295355994254]