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.001603/0.001603, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001574/0.001574, allocations: 214.8 kB / 24.48 MB, free: 3.957 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.609/1.609, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2606/0.2606, allocations: 46.97 MB / 361.6 MB, free: 4.016 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.002023/0.002023, allocations: 67.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4884, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01231/0.5007, allocations: 8.408 MB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007629/0.5083, allocations: 2.788 MB / 0.5727 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.5097, allocations: 59.81 kB / 0.5728 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.514, allocations: 1.935 MB / 0.5747 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.5171, allocations: 1.133 MB / 0.5758 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007963/0.5179, allocations: 295.4 kB / 0.5761 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.5215, allocations: 2.325 MB / 0.5783 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.5239, allocations: 1.734 MB / 0.58 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.5253, allocations: 0.8879 MB / 0.5809 GB, free: 496 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.5271, allocations: 1.262 MB / 0.5821 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.5274, allocations: 192 kB / 0.5823 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.5287, allocations: 0.6124 MB / 0.5829 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.5299, allocations: 1.137 MB / 0.584 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.531, allocations: 0.9432 MB / 0.585 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.5361, allocations: 4.349 MB / 0.5892 GB, free: 7.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.5361, allocations: 0 / 0.5892 GB, free: 7.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5361, allocations: 0 / 0.5892 GB, free: 7.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.383e-05/0.5362, allocations: 0 / 0.5892 GB, free: 7.965 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.005646/0.5418, allocations: 2.87 MB / 0.592 GB, free: 5.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5419, allocations: 8.031 kB / 0.592 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/0.547, allocations: 1.574 MB / 0.5936 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/0.5505, allocations: 1.286 MB / 0.5948 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.5506, allocations: 144 kB / 0.5949 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003872/0.551, allocations: 187.8 kB / 0.5951 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.5619, allocations: 6.246 MB / 0.6012 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/0.562, allocations: 19.81 kB / 0.6012 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002651/0.5622, allocations: 91.91 kB / 0.6013 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0022/0.5644, allocations: 1.352 MB / 0.6026 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.5751, allocations: 5.318 MB / 0.6078 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03029/0.6054, allocations: 18.25 MB / 0.6257 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/0.6098, allocations: 1.549 MB / 0.6272 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.611, allocations: 0.6398 MB / 0.6278 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007892/0.6189, allocations: 2.884 MB / 0.6306 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.6189, allocations: 39 kB / 0.6307 GB, free: 12.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 5.52e-06/0.6189, allocations: 0 / 0.6307 GB, free: 12.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005647/0.6246, allocations: 1.978 MB / 0.6326 GB, free: 10.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.6246, allocations: 55.84 kB / 0.6326 GB, free: 10.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.6276, allocations: 1.927 MB / 0.6345 GB, free: 8.527 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.6277, allocations: 33.7 kB / 0.6346 GB, free: 8.488 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.6294, allocations: 1.93 MB / 0.6364 GB, free: 6.535 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.6297, allocations: 325.6 kB / 0.6368 GB, free: 6.215 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008615/0.6306, allocations: 0.6234 MB / 0.6374 GB, free: 5.582 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.6308, allocations: 349.9 kB / 0.6377 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.6322, allocations: 0.8842 MB / 0.6386 GB, free: 4.348 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/0.6355, allocations: 2.747 MB / 0.6412 GB, free: 0.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005485/0.641, allocations: 3.966 MB / 0.6451 GB, free: 11.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-05/0.641, allocations: 20 kB / 0.6451 GB, free: 11.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006447/0.6475, allocations: 3.526 MB / 0.6486 GB, free: 8.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.6475, allocations: 39.94 kB / 0.6486 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.892e-05/0.6476, allocations: 68 kB / 0.6487 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/0.6477, allocations: 88.81 kB / 0.6488 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.6498, allocations: 0.6628 MB / 0.6494 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001227/0.6499, allocations: 127.5 kB / 0.6495 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.652, allocations: 420.9 kB / 0.6499 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/0.6523, allocations: 188 kB / 0.6501 GB, free: 6.648 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.002368/0.6547, allocations: 1.346 MB / 0.6514 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.655, allocations: 158.9 kB / 0.6516 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.6553, allocations: 184 kB / 0.6518 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.6554, allocations: 8 kB / 0.6518 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.6554, allocations: 0 / 0.6518 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.6554, allocations: 7.984 kB / 0.6518 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006328/0.6617, allocations: 3.11 MB / 0.6548 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.6617, allocations: 4.75 kB / 0.6548 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.6621, allocations: 99.81 kB / 0.6549 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.6622, allocations: 12 kB / 0.6549 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.6622, allocations: 16 kB / 0.6549 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.837e-05/0.6622, allocations: 15.92 kB / 0.655 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.6622, allocations: 11.94 kB / 0.655 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.6639, allocations: 1.221 MB / 0.6562 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.6643, allocations: 158.7 kB / 0.6563 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.6645, allocations: 16 kB / 0.6563 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.6649, allocations: 31.95 kB / 0.6564 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.6651, allocations: 59.75 kB / 0.6564 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.6651, allocations: 31.98 kB / 0.6564 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001745/0.6669, allocations: 1.106 MB / 0.6575 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6669, allocations: 4 kB / 0.6575 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002928/0.6698, allocations: 0.6967 MB / 0.6582 GB, free: 14.14 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.000401/0.6702, allocations: 150.9 kB / 0.6583 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003848/0.674, allocations: 1.956 MB / 0.6603 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.6741, allocations: 0 / 0.6603 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006561/0.6747, allocations: 433.5 kB / 0.6607 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.6759, allocations: 185.5 kB / 0.6608 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.6869, allocations: 5.379 MB / 0.6661 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/0.6894, allocations: 1.708 MB / 0.6678 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.6899, allocations: 131.4 kB / 0.6679 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of SimCode: time 1.563e-06/0.6899, allocations: 0 / 0.6679 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.05569/0.7456, allocations: 30.04 MB / 0.6972 GB, free: 6.078 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/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: 10.559678207006073]