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.001564/0.001564, allocations: 116.9 kB / 19.13 MB, free: 3.922 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.001728/0.001729, allocations: 210.6 kB / 22.08 MB, free: 0.9727 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.477/1.477, allocations: 227.4 MB / 252.3 MB, free: 92 kB / 190.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.2308/0.2308, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.002276/0.002277, allocations: 82.25 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1302, allocations: 62.45 MB / 0.5403 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01251/0.1427, allocations: 9.519 MB / 0.5496 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006759/0.1495, allocations: 2.924 MB / 0.5525 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.1511, allocations: 47.94 kB / 0.5525 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003961/0.1551, allocations: 1.998 MB / 0.5545 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.1583, allocations: 1.105 MB / 0.5556 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008569/0.1592, allocations: 287.4 kB / 0.5558 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.1629, allocations: 2.336 MB / 0.5581 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003087/0.1661, allocations: 2.301 MB / 0.5604 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.1675, allocations: 0.88 MB / 0.5612 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.1692, allocations: 1.153 MB / 0.5624 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004148/0.1696, allocations: 192 kB / 0.5625 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.171, allocations: 0.6943 MB / 0.5632 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.1722, allocations: 1.106 MB / 0.5643 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.1737, allocations: 1.305 MB / 0.5656 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005702/0.1794, allocations: 4.334 MB / 0.5698 GB, free: 5.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1795, allocations: 0 / 0.5698 GB, free: 5.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1795, allocations: 3.938 kB / 0.5698 GB, free: 5.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001099/0.1796, allocations: 4 kB / 0.5698 GB, free: 5.91 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.006133/0.1858, allocations: 2.937 MB / 0.5727 GB, free: 2.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.1858, allocations: 8.031 kB / 0.5727 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005451/0.1913, allocations: 1.578 MB / 0.5742 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/0.1945, allocations: 1.34 MB / 0.5755 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.1947, allocations: 148 kB / 0.5757 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000474/0.1952, allocations: 191.8 kB / 0.5759 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.2063, allocations: 6.25 MB / 0.582 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/0.2064, allocations: 15.88 kB / 0.582 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.2067, allocations: 83.91 kB / 0.5821 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002205/0.2089, allocations: 1.34 MB / 0.5834 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.2199, allocations: 5.336 MB / 0.5886 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.31/0.5299, allocations: 20.02 MB / 0.6081 GB, free: 47.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/0.5343, allocations: 2.075 MB / 0.6102 GB, free: 46.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.5353, allocations: 0.6936 MB / 0.6108 GB, free: 46.87 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006098/0.5414, allocations: 3.494 MB / 0.6143 GB, free: 45.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.5415, allocations: 48.75 kB / 0.6143 GB, free: 45.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.298e-06/0.5415, allocations: 0 / 0.6143 GB, free: 45.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005621/0.5472, allocations: 1.978 MB / 0.6162 GB, free: 45.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.5472, allocations: 57.53 kB / 0.6163 GB, free: 45.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.55, allocations: 1.944 MB / 0.6182 GB, free: 44.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/0.5501, allocations: 32.17 kB / 0.6182 GB, free: 44.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.5512, allocations: 1.916 MB / 0.6201 GB, free: 43.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.5515, allocations: 325.1 kB / 0.6204 GB, free: 43.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007762/0.5523, allocations: 0.6217 MB / 0.621 GB, free: 42.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5524, allocations: 355.5 kB / 0.6213 GB, free: 42.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.5541, allocations: 0.891 MB / 0.6222 GB, free: 42.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.5565, allocations: 2.751 MB / 0.6249 GB, free: 39.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/0.56, allocations: 3.975 MB / 0.6288 GB, free: 36.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.65e-05/0.5601, allocations: 19.5 kB / 0.6288 GB, free: 36.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005548/0.5657, allocations: 3.53 MB / 0.6322 GB, free: 34.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.5658, allocations: 38.16 kB / 0.6323 GB, free: 34.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.987e-05/0.5659, allocations: 65.56 kB / 0.6323 GB, free: 34.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.566, allocations: 86.84 kB / 0.6324 GB, free: 34.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.5679, allocations: 0.6561 MB / 0.6331 GB, free: 34.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-05/0.568, allocations: 131.6 kB / 0.6332 GB, free: 34.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.57, allocations: 430.9 kB / 0.6336 GB, free: 34.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/0.5703, allocations: 190.2 kB / 0.6338 GB, free: 34.32 MB / 462.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.00181/0.5721, allocations: 1.339 MB / 0.6351 GB, free: 33.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.5723, allocations: 170.1 kB / 0.6353 GB, free: 33.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.5727, allocations: 194.6 kB / 0.6354 GB, free: 33.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.5727, allocations: 15.88 kB / 0.6355 GB, free: 33.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.5727, allocations: 4.594 kB / 0.6355 GB, free: 33.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5727, allocations: 3.938 kB / 0.6355 GB, free: 33.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005935/0.5787, allocations: 4.075 MB / 0.6394 GB, free: 31.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.5787, allocations: 4.5 kB / 0.6394 GB, free: 31.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.5791, allocations: 103.6 kB / 0.6395 GB, free: 31.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.5791, allocations: 11.12 kB / 0.6396 GB, free: 31.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.5792, allocations: 22.09 kB / 0.6396 GB, free: 31.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.5792, allocations: 7.125 kB / 0.6396 GB, free: 31.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5792, allocations: 11.06 kB / 0.6396 GB, free: 31.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.5803, allocations: 1.253 MB / 0.6408 GB, free: 31.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.5807, allocations: 251.1 kB / 0.6411 GB, free: 30.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.581, allocations: 22.06 kB / 0.6411 GB, free: 30.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.5815, allocations: 23.88 kB / 0.6411 GB, free: 30.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.5816, allocations: 55.95 kB / 0.6412 GB, free: 30.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.5817, allocations: 29.53 kB / 0.6412 GB, free: 30.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.5833, allocations: 1.27 MB / 0.6424 GB, free: 30.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5833, allocations: 0 / 0.6424 GB, free: 30.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002452/0.5858, allocations: 0.6944 MB / 0.6431 GB, free: 30.18 MB / 462.1 MB 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.0003412/0.5861, allocations: 143.3 kB / 0.6432 GB, free: 30.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002655/0.5888, allocations: 2.037 MB / 0.6452 GB, free: 28.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.5888, allocations: 0 / 0.6452 GB, free: 28.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.5893, allocations: 465.8 kB / 0.6457 GB, free: 28.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.5907, allocations: 220.5 kB / 0.6459 GB, free: 27.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.5983, allocations: 5.407 MB / 0.6512 GB, free: 22.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/0.6004, allocations: 2.271 MB / 0.6534 GB, free: 20.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/0.6008, allocations: 147.4 kB / 0.6535 GB, free: 19.99 MB / 462.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6008, allocations: 0 / 0.6535 GB, free: 19.99 MB / 462.1 MB Notification: Performance of Templates: time 0.04187/0.6427, allocations: 30.14 MB / 0.683 GB, free: 5.922 MB / 478.1 MB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.571644613984972]