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.001815/0.001815, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002142/0.002142, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.945 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.2298/0.2298, allocations: 46.93 MB / 361.6 MB, free: 4.227 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 0.002036/0.002036, allocations: 63.91 kB / 0.4974 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3329, allocations: 66.03 MB / 0.5619 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01189/0.3448, allocations: 9.597 MB / 0.5712 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006388/0.3512, allocations: 2.966 MB / 0.5741 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.3526, allocations: 55.81 kB / 0.5742 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004215/0.3568, allocations: 2.029 MB / 0.5762 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.36, allocations: 1.144 MB / 0.5773 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.3609, allocations: 283.5 kB / 0.5776 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00377/0.3647, allocations: 2.329 MB / 0.5798 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.3674, allocations: 1.734 MB / 0.5815 GB, free: 100 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.369, allocations: 0.8957 MB / 0.5824 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.3711, allocations: 1.246 MB / 0.5836 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006006/0.3717, allocations: 196 kB / 0.5838 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.3734, allocations: 0.7292 MB / 0.5845 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.3748, allocations: 1.141 MB / 0.5856 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.3769, allocations: 1.301 MB / 0.5869 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005765/0.3827, allocations: 4.338 MB / 0.5911 GB, free: 6.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3827, allocations: 0 / 0.5911 GB, free: 6.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3827, allocations: 0 / 0.5911 GB, free: 6.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001541/0.3828, allocations: 0 / 0.5911 GB, free: 6.219 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.006214/0.389, allocations: 2.874 MB / 0.5939 GB, free: 3.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3891, allocations: 11.97 kB / 0.594 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.3942, allocations: 1.574 MB / 0.5955 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.3968, allocations: 1.279 MB / 0.5967 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.3969, allocations: 144 kB / 0.5969 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/0.3972, allocations: 191.8 kB / 0.5971 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.4074, allocations: 6.238 MB / 0.6032 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.252e-05/0.4074, allocations: 15.88 kB / 0.6032 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.4077, allocations: 87.91 kB / 0.6033 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002062/0.4098, allocations: 1.344 MB / 0.6046 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.4199, allocations: 5.338 MB / 0.6098 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02966/0.4496, allocations: 19.96 MB / 0.6293 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004015/0.4536, allocations: 1.555 MB / 0.6308 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009512/0.4545, allocations: 0.6368 MB / 0.6314 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006027/0.4606, allocations: 3.031 MB / 0.6344 GB, free: 8.945 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.4606, allocations: 39 kB / 0.6344 GB, free: 8.898 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.466e-06/0.4606, allocations: 0 / 0.6344 GB, free: 8.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005217/0.4658, allocations: 1.978 MB / 0.6363 GB, free: 6.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.4659, allocations: 59.84 kB / 0.6364 GB, free: 6.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.4686, allocations: 1.946 MB / 0.6383 GB, free: 4.891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/0.4687, allocations: 33.7 kB / 0.6383 GB, free: 4.852 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.4702, allocations: 1.915 MB / 0.6402 GB, free: 2.914 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.4705, allocations: 325.6 kB / 0.6405 GB, free: 2.594 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007548/0.4712, allocations: 0.6234 MB / 0.6411 GB, free: 1.961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.4714, allocations: 357.9 kB / 0.6415 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.4727, allocations: 0.8842 MB / 0.6423 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.4756, allocations: 2.751 MB / 0.645 GB, free: 13.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004729/0.4803, allocations: 3.966 MB / 0.6489 GB, free: 8.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.819e-05/0.4804, allocations: 20 kB / 0.6489 GB, free: 8.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005665/0.486, allocations: 3.531 MB / 0.6523 GB, free: 4.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.4861, allocations: 36 kB / 0.6524 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.207e-05/0.4862, allocations: 64 kB / 0.6524 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.29e-05/0.4863, allocations: 91.98 kB / 0.6525 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.4881, allocations: 0.6511 MB / 0.6532 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001089/0.4882, allocations: 135.4 kB / 0.6533 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.4899, allocations: 437.1 kB / 0.6537 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002304/0.4901, allocations: 184 kB / 0.6539 GB, free: 3.004 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.001886/0.492, allocations: 1.342 MB / 0.6552 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.4923, allocations: 170.9 kB / 0.6554 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.4926, allocations: 192.9 kB / 0.6555 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.4926, allocations: 11.94 kB / 0.6556 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4926, allocations: 4 kB / 0.6556 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4926, allocations: 7.922 kB / 0.6556 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006572/0.4992, allocations: 4.041 MB / 0.6595 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.4992, allocations: 8.75 kB / 0.6595 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.4996, allocations: 95.81 kB / 0.6596 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.4996, allocations: 12 kB / 0.6596 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.4997, allocations: 23.94 kB / 0.6596 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.4997, allocations: 11.98 kB / 0.6597 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.4997, allocations: 11.94 kB / 0.6597 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.5012, allocations: 1.239 MB / 0.6609 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.5016, allocations: 182.6 kB / 0.6611 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.5018, allocations: 15.94 kB / 0.6611 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.5022, allocations: 31.97 kB / 0.6611 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.5023, allocations: 51.81 kB / 0.6611 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.5023, allocations: 27.91 kB / 0.6612 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001729/0.5041, allocations: 1.275 MB / 0.6624 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5041, allocations: 0 / 0.6624 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002355/0.5064, allocations: 0.689 MB / 0.6631 GB, free: 9.336 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.0002712/0.5067, allocations: 143.5 kB / 0.6632 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002904/0.5096, allocations: 1.954 MB / 0.6651 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5096, allocations: 0 / 0.6651 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005561/0.5102, allocations: 433.5 kB / 0.6655 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.5113, allocations: 237 kB / 0.6658 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008749/0.5201, allocations: 5.402 MB / 0.6711 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002417/0.5225, allocations: 2.279 MB / 0.6733 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.5229, allocations: 147.4 kB / 0.6734 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of SimCode: time 1.543e-06/0.5229, allocations: 0 / 0.6734 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.05089/0.5738, allocations: 30.26 MB / 0.703 GB, free: 436 kB / 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: 9.98591655306518]