Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0014/0.0014, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001485/0.001485, allocations: 213.8 kB / 23 MB, free: 5.609 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.481/1.481, allocations: 230.2 MB / 256.2 MB, free: 8.562 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.91 MB / 359.4 MB, free: 4.883 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 75.88 kB / 0.4946 GB, free: 8.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3373, allocations: 65.99 MB / 0.5591 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0123/0.3496, allocations: 9.59 MB / 0.5684 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006662/0.3563, allocations: 2.95 MB / 0.5713 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.3574, allocations: 47.94 kB / 0.5714 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003893/0.3613, allocations: 2.033 MB / 0.5733 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.3642, allocations: 1.133 MB / 0.5745 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.3649, allocations: 283.5 kB / 0.5747 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.3681, allocations: 2.336 MB / 0.577 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.3701, allocations: 1.621 MB / 0.5786 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.3712, allocations: 0.8722 MB / 0.5794 GB, free: 248 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.3727, allocations: 1.262 MB / 0.5807 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.373, allocations: 200 kB / 0.5809 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.3742, allocations: 0.7175 MB / 0.5816 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.3752, allocations: 1.141 MB / 0.5827 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.3765, allocations: 1.305 MB / 0.584 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004717/0.3812, allocations: 4.33 MB / 0.5882 GB, free: 7.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3812, allocations: 0 / 0.5882 GB, free: 7.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.077e-06/0.3812, allocations: 4 kB / 0.5882 GB, free: 7.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.446e-05/0.3813, allocations: 0 / 0.5882 GB, free: 7.254 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.005153/0.3865, allocations: 2.942 MB / 0.5911 GB, free: 4.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3865, allocations: 12.03 kB / 0.5911 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/0.3912, allocations: 1.578 MB / 0.5926 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.3938, allocations: 1.34 MB / 0.5939 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.3939, allocations: 144 kB / 0.5941 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.3942, allocations: 187.8 kB / 0.5942 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009691/0.4039, allocations: 6.242 MB / 0.6003 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/0.404, allocations: 15.81 kB / 0.6003 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.4042, allocations: 91.91 kB / 0.6004 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00199/0.4062, allocations: 1.34 MB / 0.6017 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009499/0.4157, allocations: 5.338 MB / 0.607 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02635/0.442, allocations: 20.04 MB / 0.6265 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/0.4461, allocations: 2.008 MB / 0.6285 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009154/0.447, allocations: 0.643 MB / 0.6291 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00584/0.4529, allocations: 3.496 MB / 0.6325 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4529, allocations: 39 kB / 0.6326 GB, free: 8.539 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.437e-06/0.4529, allocations: 0 / 0.6326 GB, free: 8.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005286/0.4582, allocations: 1.982 MB / 0.6345 GB, free: 6.547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.4583, allocations: 55.84 kB / 0.6346 GB, free: 6.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.4608, allocations: 1.946 MB / 0.6365 GB, free: 4.531 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.4609, allocations: 29.7 kB / 0.6365 GB, free: 4.496 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.4622, allocations: 1.911 MB / 0.6384 GB, free: 2.562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/0.4626, allocations: 329.5 kB / 0.6387 GB, free: 2.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008305/0.4634, allocations: 0.6156 MB / 0.6393 GB, free: 1.613 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.4636, allocations: 361.8 kB / 0.6396 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.4649, allocations: 0.8959 MB / 0.6405 GB, free: 364 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002871/0.4678, allocations: 2.744 MB / 0.6432 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/0.4723, allocations: 3.981 MB / 0.6471 GB, free: 7.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-05/0.4723, allocations: 16 kB / 0.6471 GB, free: 7.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005428/0.4777, allocations: 3.527 MB / 0.6505 GB, free: 4.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.4778, allocations: 32 kB / 0.6505 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.594e-05/0.4778, allocations: 64 kB / 0.6506 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.353e-05/0.4779, allocations: 88 kB / 0.6507 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.4798, allocations: 0.6595 MB / 0.6513 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001061/0.4799, allocations: 127.5 kB / 0.6515 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.4816, allocations: 432.8 kB / 0.6519 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/0.4818, allocations: 188 kB / 0.652 GB, free: 2.656 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.002102/0.4839, allocations: 1.35 MB / 0.6534 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.4842, allocations: 162.9 kB / 0.6535 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.4845, allocations: 200.9 kB / 0.6537 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.4845, allocations: 8 kB / 0.6537 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.4845, allocations: 0 / 0.6537 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.4845, allocations: 3.984 kB / 0.6537 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006725/0.4913, allocations: 4.073 MB / 0.6577 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.4913, allocations: 12.12 kB / 0.6577 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.4916, allocations: 99.83 kB / 0.6578 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.4917, allocations: 8 kB / 0.6578 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.4917, allocations: 19.92 kB / 0.6578 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.4917, allocations: 11.94 kB / 0.6578 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.4917, allocations: 11.94 kB / 0.6579 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.4934, allocations: 1.243 MB / 0.6591 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.4937, allocations: 255.7 kB / 0.6593 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.4939, allocations: 19.94 kB / 0.6593 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.4943, allocations: 27.97 kB / 0.6594 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4944, allocations: 55.77 kB / 0.6594 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.4945, allocations: 28 kB / 0.6594 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001773/0.4963, allocations: 1.275 MB / 0.6607 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4963, allocations: 0 / 0.6607 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002411/0.4987, allocations: 0.6852 MB / 0.6614 GB, free: 8.859 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.000301/0.499, allocations: 146.9 kB / 0.6615 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.5019, allocations: 1.959 MB / 0.6634 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.5019, allocations: 0 / 0.6634 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005419/0.5024, allocations: 426.9 kB / 0.6638 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.5035, allocations: 248.4 kB / 0.6641 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007868/0.5114, allocations: 5.087 MB / 0.669 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002445/0.5138, allocations: 2.271 MB / 0.6712 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00203/0.5159, allocations: 0.9441 MB / 0.6722 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.5162, allocations: 123.4 kB / 0.6723 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of SimCode: time 1.031e-06/0.5162, allocations: 0 / 0.6723 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.03347/0.5497, allocations: 15.87 MB / 0.6878 GB, free: 13.7 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.725630925036967]