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.001661/0.001661, allocations: 117.1 kB / 19.13 MB, free: 3.934 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.001823/0.001823, allocations: 214.6 kB / 22.08 MB, free: 0.9805 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.499/1.499, allocations: 227.4 MB / 252.3 MB, free: 72 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.2311/0.2311, allocations: 46.17 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.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.002304/0.002304, allocations: 77.83 kB / 490.9 MB, free: 28.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.124, allocations: 62.45 MB / 0.5403 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01119/0.1352, allocations: 9.534 MB / 0.5496 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006249/0.1415, allocations: 2.916 MB / 0.5525 GB, free: 7.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.1428, allocations: 47.94 kB / 0.5525 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003856/0.1467, allocations: 2.001 MB / 0.5545 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.1496, allocations: 1.101 MB / 0.5556 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000813/0.1504, allocations: 287.4 kB / 0.5558 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003274/0.1537, allocations: 2.34 MB / 0.5581 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0027/0.1564, allocations: 2.305 MB / 0.5604 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.1576, allocations: 0.8761 MB / 0.5612 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.1591, allocations: 1.153 MB / 0.5624 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003686/0.1594, allocations: 192 kB / 0.5625 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.1607, allocations: 0.6982 MB / 0.5632 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.1618, allocations: 1.11 MB / 0.5643 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.1631, allocations: 1.305 MB / 0.5656 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004702/0.1678, allocations: 4.334 MB / 0.5698 GB, free: 6.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.1678, allocations: 3.984 kB / 0.5698 GB, free: 6.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1678, allocations: 0 / 0.5698 GB, free: 6.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.166e-05/0.1679, allocations: 0 / 0.5698 GB, free: 6.055 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.004935/0.1729, allocations: 2.938 MB / 0.5727 GB, free: 3.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1729, allocations: 8.031 kB / 0.5727 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005138/0.1781, allocations: 1.578 MB / 0.5742 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.1805, allocations: 1.336 MB / 0.5755 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.1807, allocations: 148.1 kB / 0.5757 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.1811, allocations: 187.8 kB / 0.5759 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.1911, allocations: 6.254 MB / 0.582 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.674e-05/0.1912, allocations: 15.88 kB / 0.582 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/0.1915, allocations: 83.91 kB / 0.5821 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002146/0.1936, allocations: 1.34 MB / 0.5834 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.2044, allocations: 5.334 MB / 0.5886 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2993/0.5037, allocations: 20.02 MB / 0.6081 GB, free: 53.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/0.5082, allocations: 2.075 MB / 0.6102 GB, free: 52.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.5094, allocations: 0.6965 MB / 0.6108 GB, free: 52.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006303/0.5157, allocations: 3.493 MB / 0.6143 GB, free: 51.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.5157, allocations: 44.12 kB / 0.6143 GB, free: 51.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.587e-06/0.5158, allocations: 1 kB / 0.6143 GB, free: 51.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.00558/0.5213, allocations: 1.981 MB / 0.6162 GB, free: 51.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.5214, allocations: 57.95 kB / 0.6163 GB, free: 51.24 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.5243, allocations: 1.944 MB / 0.6182 GB, free: 50.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/0.5243, allocations: 31.36 kB / 0.6182 GB, free: 50.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.5254, allocations: 1.913 MB / 0.6201 GB, free: 49.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.5257, allocations: 321.7 kB / 0.6204 GB, free: 49.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007442/0.5264, allocations: 0.6254 MB / 0.621 GB, free: 48.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.5265, allocations: 361.3 kB / 0.6213 GB, free: 48.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.5279, allocations: 0.8849 MB / 0.6222 GB, free: 48.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/0.5302, allocations: 2.754 MB / 0.6249 GB, free: 45.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004143/0.5343, allocations: 3.975 MB / 0.6288 GB, free: 42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.883e-05/0.5344, allocations: 25 kB / 0.6288 GB, free: 42 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005483/0.5399, allocations: 3.522 MB / 0.6322 GB, free: 40.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.54, allocations: 33.97 kB / 0.6323 GB, free: 40.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-05/0.5401, allocations: 66 kB / 0.6323 GB, free: 40.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.5402, allocations: 90.62 kB / 0.6324 GB, free: 40.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.5419, allocations: 0.6587 MB / 0.6331 GB, free: 40.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-05/0.542, allocations: 128.1 kB / 0.6332 GB, free: 40.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.5439, allocations: 431.9 kB / 0.6336 GB, free: 40.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.5441, allocations: 184.7 kB / 0.6338 GB, free: 40.25 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.001509/0.5456, allocations: 1.352 MB / 0.6351 GB, free: 39.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.5458, allocations: 165.9 kB / 0.6353 GB, free: 39.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.5461, allocations: 198 kB / 0.6354 GB, free: 39.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.5461, allocations: 7.25 kB / 0.6355 GB, free: 39.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.5462, allocations: 0 / 0.6355 GB, free: 39.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.5462, allocations: 7.547 kB / 0.6355 GB, free: 39.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/0.5512, allocations: 4.075 MB / 0.6394 GB, free: 37.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/0.5512, allocations: 5.656 kB / 0.6394 GB, free: 37.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.5516, allocations: 103.1 kB / 0.6395 GB, free: 37.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.5516, allocations: 14.41 kB / 0.6396 GB, free: 37.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.5517, allocations: 18.53 kB / 0.6396 GB, free: 37.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.5517, allocations: 6.625 kB / 0.6396 GB, free: 37.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5517, allocations: 10.5 kB / 0.6396 GB, free: 37.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.5527, allocations: 1.243 MB / 0.6408 GB, free: 37.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.553, allocations: 250.1 kB / 0.641 GB, free: 36.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.5531, allocations: 22.5 kB / 0.6411 GB, free: 36.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.5536, allocations: 34.36 kB / 0.6411 GB, free: 36.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.5536, allocations: 49.27 kB / 0.6411 GB, free: 36.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.5537, allocations: 33.75 kB / 0.6412 GB, free: 36.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001309/0.555, allocations: 1.267 MB / 0.6424 GB, free: 36.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.555, allocations: 4 kB / 0.6424 GB, free: 36.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002306/0.5573, allocations: 0.6887 MB / 0.6431 GB, free: 36.11 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.0002624/0.5576, allocations: 144.3 kB / 0.6432 GB, free: 36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.56, allocations: 2.04 MB / 0.6452 GB, free: 34.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.56, allocations: 4 kB / 0.6452 GB, free: 34.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.5604, allocations: 453.8 kB / 0.6457 GB, free: 34.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.5615, allocations: 243.8 kB / 0.6459 GB, free: 33.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/0.5682, allocations: 5.405 MB / 0.6512 GB, free: 28.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.5699, allocations: 2.269 MB / 0.6534 GB, free: 26.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.5703, allocations: 143.4 kB / 0.6535 GB, free: 25.97 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5703, allocations: 0 / 0.6535 GB, free: 25.97 MB / 462.1 MB Notification: Performance of Templates: time 0.04076/0.6111, allocations: 30.15 MB / 0.683 GB, free: 11.9 MB / 478.1 MB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.455322850029916]