Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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.0008159/0.0008159, allocations: 92.28 kB / 21.44 MB, free: 3.125 MB / 18.57 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.003478/0.003478, allocations: 153.2 kB / 24.7 MB, free: 8.914 MB / 18.57 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.8785/0.8785, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.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.227/0.227, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.163e-05, allocations: 6.219 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2014/0.2014, allocations: 13.04 MB / 456.5 MB, free: 36.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007705/0.2091, allocations: 4.838 MB / 461.3 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.2107, allocations: 140.9 kB / 461.4 MB, free: 33.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004712/0.2154, allocations: 6.126 MB / 467.6 MB, free: 30.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.2192, allocations: 2.898 MB / 470.5 MB, free: 29.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.2211, allocations: 1.756 MB / 472.2 MB, free: 28.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005637/0.2267, allocations: 9.134 MB / 481.3 MB, free: 25.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005316/0.232, allocations: 6.364 MB / 487.7 MB, free: 23.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005334/0.2374, allocations: 4.484 MB / 492.2 MB, free: 21.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007447/0.2448, allocations: 4.335 MB / 496.5 MB, free: 20.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.2459, allocations: 0.5888 MB / 497.1 MB, free: 20.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.2481, allocations: 1.365 MB / 498.5 MB, free: 20.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002853/0.251, allocations: 3.79 MB / 0.4905 GB, free: 18.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.2531, allocations: 2.276 MB / 0.4927 GB, free: 16.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00991/0.263, allocations: 11.72 MB / 0.5042 GB, free: 7.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.263, allocations: 4 kB / 0.5042 GB, free: 7.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.263, allocations: 0 / 0.5042 GB, free: 7.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003181/0.2634, allocations: 3.938 kB / 0.5042 GB, free: 7.551 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01154/0.2749, allocations: 8.74 MB / 0.5127 GB, free: 14.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.802e-05/0.275, allocations: 8.031 kB / 0.5127 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/0.2802, allocations: 2.613 MB / 0.5153 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005807/0.286, allocations: 4.411 MB / 0.5196 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.2862, allocations: 423 kB / 0.52 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006255/0.2868, allocations: 0.5432 MB / 0.5205 GB, free: 6.652 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/0.3064, allocations: 16.79 MB / 0.5369 GB, free: 4.719 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.3065, allocations: 83.33 kB / 0.537 GB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004227/0.3069, allocations: 259.8 kB / 0.5372 GB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002494/0.3094, allocations: 2.935 MB / 0.5401 GB, free: 1.441 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.326, allocations: 12.8 MB / 0.5526 GB, free: 4.637 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05406/0.3801, allocations: 60.43 MB / 0.6116 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008799/0.3889, allocations: 5.198 MB / 0.6167 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.3908, allocations: 2.002 MB / 0.6186 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009634/0.4005, allocations: 7.978 MB / 0.6264 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4005, allocations: 55.81 kB / 0.6265 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 3.507e-06/0.4005, allocations: 0 / 0.6265 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.3382/0.7387, allocations: 15.45 MB / 0.6416 GB, free: 142.8 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.7387, allocations: 154.1 kB / 0.6417 GB, free: 142.6 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004948/0.7437, allocations: 6.305 MB / 0.6479 GB, free: 140.7 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.7438, allocations: 51.55 kB / 0.6479 GB, free: 140.7 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.7453, allocations: 5.25 MB / 0.6531 GB, free: 137.1 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.7457, allocations: 0.8471 MB / 0.6539 GB, free: 136.5 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.7468, allocations: 1.656 MB / 0.6555 GB, free: 135.6 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.233e-05/0.7468, allocations: 307.2 kB / 0.6558 GB, free: 135.3 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.7488, allocations: 2.329 MB / 0.6581 GB, free: 134.6 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/0.7522, allocations: 7.674 MB / 0.6656 GB, free: 126.7 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006482/0.7587, allocations: 10.87 MB / 0.6762 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-05/0.7588, allocations: 54 kB / 0.6762 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01013/0.7689, allocations: 9.634 MB / 0.6856 GB, free: 113.4 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-05/0.769, allocations: 86.34 kB / 0.6857 GB, free: 113.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/0.7692, allocations: 189.7 kB / 0.6859 GB, free: 113.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.7693, allocations: 253.3 kB / 0.6861 GB, free: 113.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/0.7721, allocations: 1.927 MB / 0.688 GB, free: 113.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002111/0.7724, allocations: 377 kB / 0.6884 GB, free: 113.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/0.7759, allocations: 0.6017 MB / 0.689 GB, free: 113 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004359/0.7764, allocations: 0.5163 MB / 0.6895 GB, free: 112.9 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.0039/0.7803, allocations: 3.295 MB / 0.6927 GB, free: 111.4 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004727/0.7807, allocations: 0.5049 MB / 0.6932 GB, free: 111.1 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.7812, allocations: 0.5808 MB / 0.6938 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.7813, allocations: 21.47 kB / 0.6938 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/0.7813, allocations: 1.469 kB / 0.6938 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.7813, allocations: 7.953 kB / 0.6938 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/0.7936, allocations: 14.55 MB / 0.708 GB, free: 105 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.7936, allocations: 38.69 kB / 0.708 GB, free: 105 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.7942, allocations: 379.6 kB / 0.7084 GB, free: 104.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/0.7942, allocations: 50.84 kB / 0.7084 GB, free: 104.9 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.7943, allocations: 83.36 kB / 0.7085 GB, free: 104.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.647e-05/0.7943, allocations: 81.5 kB / 0.7086 GB, free: 104.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.652e-05/0.7944, allocations: 57.16 kB / 0.7086 GB, free: 104.9 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.7966, allocations: 3.847 MB / 0.7124 GB, free: 101.2 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.7972, allocations: 0.5861 MB / 0.713 GB, free: 100.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/0.7975, allocations: 88.95 kB / 0.7131 GB, free: 100.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.7987, allocations: 220.8 kB / 0.7133 GB, free: 100.4 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.7988, allocations: 268.8 kB / 0.7135 GB, free: 100.2 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.7989, allocations: 115.1 kB / 0.7136 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.002974/0.8018, allocations: 3.731 MB / 0.7173 GB, free: 97.05 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8018, allocations: 0 / 0.7173 GB, free: 97.05 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.004419/0.8063, allocations: 1.489 MB / 0.7187 GB, free: 95.56 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.000328/0.8066, allocations: 263.7 kB / 0.719 GB, free: 95.3 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.004531/0.8111, allocations: 5.21 MB / 0.7241 GB, free: 90.76 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.8111, allocations: 4 kB / 0.7241 GB, free: 90.76 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008108/0.8119, allocations: 1.096 MB / 0.7252 GB, free: 89.81 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.8143, allocations: 0.7505 MB / 0.7259 GB, free: 89.2 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.8272, allocations: 15.61 MB / 0.7411 GB, free: 74.43 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/0.8303, allocations: 4.566 MB / 0.7456 GB, free: 71.08 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006585/0.831, allocations: 411.2 kB / 0.746 GB, free: 70.7 MB / 0.5262 GB Notification: Performance of SimCode: time 1.192e-06/0.831, allocations: 0 / 0.746 GB, free: 70.7 MB / 0.5262 GB Notification: Performance of Templates: time 0.06911/0.9001, allocations: 86.7 MB / 0.8306 GB, free: 0.9492 MB / 0.5418 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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: 12.506743298843503]