Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.001693/0.001693, allocations: 105.1 kB / 21.23 MB, free: 0.5039 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.002102/0.002102, allocations: 209.9 kB / 24.54 MB, free: 3.863 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.545/1.545, allocations: 230.3 MB / 258 MB, free: 8.258 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.2221/0.2221, allocations: 46.88 MB / 361.3 MB, free: 4.461 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 91.83 kB / 0.497 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3354, allocations: 66.02 MB / 0.5615 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.0119/0.3473, allocations: 9.597 MB / 0.5709 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006414/0.3537, allocations: 2.962 MB / 0.5738 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.3551, allocations: 55.81 kB / 0.5738 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004263/0.3593, allocations: 2.029 MB / 0.5758 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002955/0.3623, allocations: 1.144 MB / 0.5769 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.3631, allocations: 279.4 kB / 0.5772 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003577/0.3667, allocations: 2.332 MB / 0.5795 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.3693, allocations: 1.625 MB / 0.5811 GB, free: 488 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.3706, allocations: 0.8917 MB / 0.5819 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.3722, allocations: 1.25 MB / 0.5832 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003959/0.3726, allocations: 192 kB / 0.5833 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.3739, allocations: 0.7333 MB / 0.5841 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.375, allocations: 1.137 MB / 0.5852 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.3763, allocations: 1.305 MB / 0.5864 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005295/0.3816, allocations: 4.33 MB / 0.5907 GB, free: 6.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.3816, allocations: 0 / 0.5907 GB, free: 6.605 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3816, allocations: 0 / 0.5907 GB, free: 6.605 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001193/0.3818, allocations: 4 kB / 0.5907 GB, free: 6.602 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.006717/0.3885, allocations: 2.87 MB / 0.5935 GB, free: 3.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3885, allocations: 12.03 kB / 0.5935 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005266/0.3938, allocations: 1.578 MB / 0.595 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/0.3966, allocations: 1.279 MB / 0.5963 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.3968, allocations: 144 kB / 0.5964 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/0.3971, allocations: 187.8 kB / 0.5966 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009842/0.407, allocations: 6.246 MB / 0.6027 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.407, allocations: 11.88 kB / 0.6027 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/0.4073, allocations: 87.91 kB / 0.6028 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/0.4095, allocations: 1.34 MB / 0.6041 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009875/0.4193, allocations: 5.33 MB / 0.6093 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0284/0.4477, allocations: 19.96 MB / 0.6288 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004225/0.452, allocations: 1.564 MB / 0.6303 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009867/0.453, allocations: 0.6368 MB / 0.6309 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006133/0.4591, allocations: 3.031 MB / 0.6339 GB, free: 9.332 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.4591, allocations: 39 kB / 0.6339 GB, free: 9.285 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.376e-06/0.4591, allocations: 0 / 0.6339 GB, free: 9.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005656/0.4648, allocations: 1.978 MB / 0.6359 GB, free: 7.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.4648, allocations: 59.78 kB / 0.6359 GB, free: 7.227 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.4678, allocations: 1.946 MB / 0.6378 GB, free: 5.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.4678, allocations: 41.69 kB / 0.6379 GB, free: 5.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.4693, allocations: 1.903 MB / 0.6397 GB, free: 3.305 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.4696, allocations: 333.5 kB / 0.64 GB, free: 2.977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007842/0.4703, allocations: 0.6195 MB / 0.6407 GB, free: 2.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.4705, allocations: 361.9 kB / 0.641 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.4719, allocations: 0.8881 MB / 0.6419 GB, free: 1.098 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.4747, allocations: 2.747 MB / 0.6445 GB, free: 13.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004759/0.4795, allocations: 3.965 MB / 0.6484 GB, free: 8.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.403e-05/0.4795, allocations: 20 kB / 0.6484 GB, free: 8.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006022/0.4856, allocations: 3.527 MB / 0.6519 GB, free: 4.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.4856, allocations: 38.33 kB / 0.6519 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.769e-05/0.4857, allocations: 68 kB / 0.652 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.632e-05/0.4858, allocations: 88.75 kB / 0.6521 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/0.4877, allocations: 0.6589 MB / 0.6527 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001264/0.4879, allocations: 135.5 kB / 0.6528 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.4898, allocations: 424.9 kB / 0.6532 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.4901, allocations: 187.9 kB / 0.6534 GB, free: 3.395 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.002108/0.4922, allocations: 1.346 MB / 0.6547 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.4924, allocations: 166.9 kB / 0.6549 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.4928, allocations: 196.9 kB / 0.6551 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.4929, allocations: 12 kB / 0.6551 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4929, allocations: 0 / 0.6551 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.4929, allocations: 3.984 kB / 0.6551 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007126/0.5, allocations: 4.053 MB / 0.6591 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.5, allocations: 8 kB / 0.6591 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.5004, allocations: 95.81 kB / 0.6592 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.5004, allocations: 8 kB / 0.6592 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.5005, allocations: 23.94 kB / 0.6592 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.5005, allocations: 11.98 kB / 0.6592 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/0.5005, allocations: 7.938 kB / 0.6592 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.5022, allocations: 1.239 MB / 0.6604 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.5026, allocations: 178.6 kB / 0.6606 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.5028, allocations: 27.84 kB / 0.6606 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.5033, allocations: 27.98 kB / 0.6606 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5034, allocations: 55.8 kB / 0.6607 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.5034, allocations: 28 kB / 0.6607 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002161/0.5056, allocations: 1.267 MB / 0.662 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5056, allocations: 0 / 0.662 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002655/0.5082, allocations: 0.6929 MB / 0.6626 GB, free: 9.727 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.0003287/0.5086, allocations: 143.5 kB / 0.6628 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003267/0.5118, allocations: 1.954 MB / 0.6647 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5118, allocations: 2 kB / 0.6647 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.5125, allocations: 437 kB / 0.6651 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.5137, allocations: 222 kB / 0.6653 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009135/0.5228, allocations: 5.092 MB / 0.6703 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/0.5252, allocations: 2.271 MB / 0.6725 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002069/0.5273, allocations: 0.9557 MB / 0.6734 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.5276, allocations: 119.4 kB / 0.6735 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.5276, allocations: 0 / 0.6735 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.03479/0.5624, allocations: 17.14 MB / 0.6903 GB, free: 13.28 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.704933417029679]