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.000777/0.000777, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.00189, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001105/0.001105, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002537, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9594/0.9594, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09829/1.058, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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.2711/0.2711, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02727/0.2983, allocations: 13.24 MB / 292.8 MB, free: 6.371 MB / 282.7 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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.312e-05, allocations: 2.312 kB / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007138/0.007161, allocations: 9.125 MB / 303.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005172/0.01233, allocations: 2.98 MB / 306.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009793/0.01331, allocations: 59.81 kB / 306.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.01605, allocations: 2.036 MB / 308.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.0183, allocations: 1.155 MB / 309.4 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.01884, allocations: 295.3 kB / 309.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002445/0.02128, allocations: 2.215 MB / 312 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.02309, allocations: 1.77 MB / 313.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.02476, allocations: 1.356 MB / 315.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.0266, allocations: 1.103 MB / 316.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004291/0.02703, allocations: 195.9 kB / 316.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.02804, allocations: 0.6475 MB / 317 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007538/0.0288, allocations: 1.071 MB / 318.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007691/0.02957, allocations: 0.5958 MB / 318.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.03195, allocations: 2.553 MB / 321.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.03197, allocations: 0 / 321.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.03197, allocations: 0 / 321.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.762e-05/0.03202, allocations: 4 kB / 321.2 MB, free: 9.777 MB / 314.7 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.003504/0.03552, allocations: 3.249 MB / 324.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.03556, allocations: 20.91 kB / 324.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.0374, allocations: 0.7382 MB / 325.3 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.03861, allocations: 1.057 MB / 326.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/0.03868, allocations: 140 kB / 326.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.03888, allocations: 188.3 kB / 326.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/0.04222, allocations: 2.836 MB / 329.5 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.04226, allocations: 11.88 kB / 329.5 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.0424, allocations: 87.91 kB / 329.6 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009933/0.0434, allocations: 1.153 MB / 330.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.04561, allocations: 1.507 MB / 332.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.05899, allocations: 15.29 MB / 347.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.06086, allocations: 0.8949 MB / 348.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.06106, allocations: 153.7 kB / 348.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003057/0.06412, allocations: 2.084 MB / 350.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.06415, allocations: 39.06 kB / 350.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.306e-06/0.06415, allocations: 0 / 350.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002382/0.06653, allocations: 1.074 MB / 351.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.06657, allocations: 55.91 kB / 351.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.06759, allocations: 1.428 MB / 353.2 MB, free: 8.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.06763, allocations: 37.7 kB / 353.3 MB, free: 8.688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008402/0.06847, allocations: 1.842 MB / 355.1 MB, free: 6.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.06866, allocations: 317.6 kB / 355.4 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004586/0.06912, allocations: 0.5802 MB / 356 MB, free: 5.922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.06922, allocations: 349.8 kB / 356.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.06949, allocations: 217.9 kB / 356.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.0706, allocations: 2.155 MB / 358.7 MB, free: 2.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/0.07295, allocations: 3.028 MB / 361.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.216e-05/0.07299, allocations: 16 kB / 361.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002277/0.07527, allocations: 1.996 MB / 363.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.07531, allocations: 33.25 kB / 363.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.18e-05/0.07539, allocations: 76 kB / 363.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.897e-05/0.07547, allocations: 92.77 kB / 363.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.0767, allocations: 0.7448 MB / 364.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.559e-05/0.07678, allocations: 131.5 kB / 364.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.07796, allocations: 401 kB / 365.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.07812, allocations: 164 kB / 365.4 MB, free: 10.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 311 * 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 (372): * Single equations (assignments): 369 * 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 prepare postOptimizeDAE: time 0.0006988/0.07882, allocations: 373.6 kB / 365.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.07894, allocations: 95.84 kB / 365.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.0791, allocations: 164 kB / 366 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.07911, allocations: 4 kB / 366 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.07912, allocations: 0 / 366 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.07912, allocations: 3.984 kB / 366 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.08148, allocations: 1.868 MB / 367.9 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.08149, allocations: 16.75 kB / 367.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.0817, allocations: 99.84 kB / 368 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.08186, allocations: 154.8 kB / 368.1 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-06/0.08187, allocations: 8 kB / 368.1 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.08189, allocations: 16 kB / 368.2 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.0819, allocations: 11.98 kB / 368.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/0.08191, allocations: 11.94 kB / 368.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.08238, allocations: 0.6134 MB / 368.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.842e-05/0.08247, allocations: 27.97 kB / 368.8 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.08267, allocations: 16 kB / 368.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.08273, allocations: 47.8 kB / 368.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.08276, allocations: 24 kB / 368.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004267/0.08319, allocations: 0.541 MB / 369.4 MB, free: 6.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.08319, allocations: 4 kB / 369.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001563/0.08475, allocations: 0.72 MB / 370.2 MB, free: 5.602 MB / 362.7 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.0002356/0.08499, allocations: 124.2 kB / 370.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.08616, allocations: 1.176 MB / 371.5 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.487e-05/0.08625, allocations: 59.86 kB / 371.5 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.08646, allocations: 198.9 kB / 371.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009286/0.08739, allocations: 1.064 MB / 372.8 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/0.09358, allocations: 4.579 MB / 377.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/0.09434, allocations: 0.7424 MB / 378.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005605/0.0949, allocations: 244.6 kB / 378.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.09515, allocations: 255.3 kB / 378.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.854e-06/0.09516, allocations: 0 / 378.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of Templates: time 0.02057/0.1157, allocations: 9.884 MB / 388.5 MB, free: 3.031 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0538360066711903]