Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001487/0.001487, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001626/0.001626, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2402/0.2402, allocations: 46.93 MB / 360.9 MB, free: 4.242 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.CutForce3,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.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,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.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 67.84 kB / 0.4966 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 66.03 MB / 0.5611 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01217/0.3748, allocations: 9.587 MB / 0.5705 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006189/0.381, allocations: 2.967 MB / 0.5734 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009492/0.382, allocations: 55.81 kB / 0.5734 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003895/0.3858, allocations: 2.025 MB / 0.5754 GB, free: 5.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002606/0.3885, allocations: 1.144 MB / 0.5765 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007515/0.3892, allocations: 283.4 kB / 0.5768 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003264/0.3925, allocations: 2.333 MB / 0.5791 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.395, allocations: 1.738 MB / 0.5808 GB, free: 140 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.3963, allocations: 0.8917 MB / 0.5817 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.3981, allocations: 1.242 MB / 0.5829 GB, free: 14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003968/0.3985, allocations: 195.9 kB / 0.5831 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.3998, allocations: 0.7332 MB / 0.5838 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.4011, allocations: 1.145 MB / 0.5849 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.4025, allocations: 1.305 MB / 0.5862 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005202/0.4077, allocations: 4.329 MB / 0.5904 GB, free: 6.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4077, allocations: 4 kB / 0.5904 GB, free: 6.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4077, allocations: 0 / 0.5904 GB, free: 6.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.408e-05/0.4078, allocations: 3.938 kB / 0.5904 GB, free: 6.258 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.005389/0.4132, allocations: 2.866 MB / 0.5932 GB, free: 3.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.4132, allocations: 12.02 kB / 0.5932 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005257/0.4185, allocations: 1.574 MB / 0.5947 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/0.4219, allocations: 1.275 MB / 0.596 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.4221, allocations: 144 kB / 0.5961 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004645/0.4225, allocations: 191.8 kB / 0.5963 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.4336, allocations: 6.254 MB / 0.6024 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.836e-05/0.4337, allocations: 11.88 kB / 0.6024 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/0.4339, allocations: 87.91 kB / 0.6025 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002335/0.4363, allocations: 1.34 MB / 0.6038 GB, free: 8.156 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/0.4469, allocations: 5.33 MB / 0.609 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02866/0.4756, allocations: 19.95 MB / 0.6285 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/0.4797, allocations: 1.555 MB / 0.63 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009752/0.4807, allocations: 0.651 MB / 0.6307 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006414/0.4871, allocations: 3.031 MB / 0.6336 GB, free: 8.992 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.4872, allocations: 42.94 kB / 0.6337 GB, free: 8.941 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.4872, allocations: 0 / 0.6337 GB, free: 8.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005486/0.4927, allocations: 1.975 MB / 0.6356 GB, free: 6.957 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.4927, allocations: 63.84 kB / 0.6356 GB, free: 6.883 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.4956, allocations: 1.934 MB / 0.6375 GB, free: 4.945 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.4956, allocations: 45.67 kB / 0.6376 GB, free: 4.895 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.4971, allocations: 1.911 MB / 0.6394 GB, free: 2.961 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.4974, allocations: 329.5 kB / 0.6398 GB, free: 2.637 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008108/0.4982, allocations: 0.6195 MB / 0.6404 GB, free: 2.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4984, allocations: 353.9 kB / 0.6407 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.4998, allocations: 0.8881 MB / 0.6416 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/0.5028, allocations: 2.755 MB / 0.6443 GB, free: 13.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005121/0.5079, allocations: 3.968 MB / 0.6481 GB, free: 8.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.204e-05/0.5079, allocations: 20 kB / 0.6482 GB, free: 8.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006216/0.5142, allocations: 3.527 MB / 0.6516 GB, free: 4.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/0.5142, allocations: 36 kB / 0.6516 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.861e-05/0.5143, allocations: 71.98 kB / 0.6517 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.5144, allocations: 88 kB / 0.6518 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.5163, allocations: 0.655 MB / 0.6524 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001175/0.5164, allocations: 131.5 kB / 0.6526 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.5186, allocations: 433.2 kB / 0.653 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/0.5189, allocations: 184 kB / 0.6531 GB, free: 3.051 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.002311/0.5212, allocations: 1.346 MB / 0.6545 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.5214, allocations: 162.9 kB / 0.6546 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.5219, allocations: 196.9 kB / 0.6548 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.5219, allocations: 19.98 kB / 0.6548 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.5219, allocations: 0 / 0.6548 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.5219, allocations: 3.984 kB / 0.6548 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007038/0.5289, allocations: 4.037 MB / 0.6588 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.529, allocations: 8.75 kB / 0.6588 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.5293, allocations: 99.81 kB / 0.6589 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.5294, allocations: 12 kB / 0.6589 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.5294, allocations: 23.94 kB / 0.6589 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/0.5294, allocations: 11.94 kB / 0.6589 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.5294, allocations: 15.92 kB / 0.6589 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.5311, allocations: 1.235 MB / 0.6601 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.5315, allocations: 178.6 kB / 0.6603 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.5317, allocations: 23.91 kB / 0.6603 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.5321, allocations: 27.98 kB / 0.6604 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5323, allocations: 51.8 kB / 0.6604 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/0.5323, allocations: 28 kB / 0.6604 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002078/0.5344, allocations: 1.271 MB / 0.6617 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5344, allocations: 3.938 kB / 0.6617 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002635/0.537, allocations: 0.689 MB / 0.6623 GB, free: 9.383 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.0003565/0.5374, allocations: 147.5 kB / 0.6625 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00322/0.5406, allocations: 1.951 MB / 0.6644 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5406, allocations: 0 / 0.6644 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.5412, allocations: 438.3 kB / 0.6648 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.5424, allocations: 232.8 kB / 0.665 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008662/0.551, allocations: 5.092 MB / 0.67 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/0.5536, allocations: 2.267 MB / 0.6722 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002139/0.5557, allocations: 0.9518 MB / 0.6731 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.556, allocations: 123.4 kB / 0.6733 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.556, allocations: 0 / 0.6733 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of Templates: time 0.03624/0.5923, allocations: 17.15 MB / 0.69 GB, free: 12.94 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.072460307041183]