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.0008339/0.0008339, allocations: 92.27 kB / 21.44 MB, free: 3.098 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.0008705/0.0008705, allocations: 154.1 kB / 24.7 MB, free: 9.434 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.8573/0.8573, allocations: 177 MB / 204.9 MB, free: 5.75 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.2335/0.2335, allocations: 34.23 MB / 295.6 MB, free: 0.6836 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.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 1.623e-06/1.623e-06, allocations: 0 / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.644e-05, allocations: 6.219 kB / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.1835/0.1836, allocations: 8.418 MB / 451.8 MB, free: 39.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.1876, allocations: 2.772 MB / 454.6 MB, free: 38.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/0.1885, allocations: 57.22 kB / 454.7 MB, free: 38.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.1904, allocations: 2.034 MB / 456.7 MB, free: 37.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.192, allocations: 1.17 MB / 457.9 MB, free: 36.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.1924, allocations: 315.2 kB / 458.2 MB, free: 36.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.1942, allocations: 2.366 MB / 460.5 MB, free: 35.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.1953, allocations: 1.743 MB / 462.3 MB, free: 34.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009974/0.1963, allocations: 1.284 MB / 463.6 MB, free: 34.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008585/0.1972, allocations: 1.142 MB / 464.7 MB, free: 33.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.1974, allocations: 192.7 kB / 464.9 MB, free: 33.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006956/0.1981, allocations: 0.6419 MB / 465.5 MB, free: 33.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004788/0.1985, allocations: 1.178 MB / 466.7 MB, free: 33.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.199, allocations: 0.7181 MB / 467.4 MB, free: 32.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.2015, allocations: 4.283 MB / 471.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2015, allocations: 3.406 kB / 471.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2015, allocations: 0 / 471.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.834e-05/0.2016, allocations: 4 kB / 471.7 MB, free: 31.44 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003139/0.2047, allocations: 2.825 MB / 474.6 MB, free: 29.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2048, allocations: 9.281 kB / 474.6 MB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.2072, allocations: 1.602 MB / 476.2 MB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.2086, allocations: 1.272 MB / 477.4 MB, free: 28.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/0.2087, allocations: 144.4 kB / 477.6 MB, free: 28.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.2088, allocations: 190.9 kB / 477.8 MB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/0.2143, allocations: 6.252 MB / 484 MB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.2144, allocations: 19.38 kB / 484 MB, free: 26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.2145, allocations: 90.75 kB / 484.1 MB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/0.2158, allocations: 1.345 MB / 485.5 MB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006806/0.2226, allocations: 5.343 MB / 490.8 MB, free: 24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/0.2386, allocations: 18.32 MB / 0.4972 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.2412, allocations: 1.637 MB / 0.4988 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.2418, allocations: 0.637 MB / 0.4994 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00321/0.245, allocations: 2.979 MB / 0.5023 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.245, allocations: 39.06 kB / 0.5024 GB, free: 8.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.286e-06/0.245, allocations: 4 kB / 0.5024 GB, free: 8.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002819/0.2478, allocations: 2.1 MB / 0.5044 GB, free: 6.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.2479, allocations: 59.91 kB / 0.5045 GB, free: 6.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.2493, allocations: 1.931 MB / 0.5064 GB, free: 4.512 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.2493, allocations: 37.7 kB / 0.5064 GB, free: 4.469 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004453/0.2498, allocations: 1.907 MB / 0.5083 GB, free: 2.539 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.2499, allocations: 321.6 kB / 0.5086 GB, free: 2.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.2503, allocations: 0.6116 MB / 0.5092 GB, free: 1.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.2503, allocations: 349.9 kB / 0.5095 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.251, allocations: 0.8881 MB / 0.5104 GB, free: 372 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.2526, allocations: 2.748 MB / 0.5131 GB, free: 12.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.2556, allocations: 3.97 MB / 0.5169 GB, free: 7.781 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.179e-05/0.2556, allocations: 20 kB / 0.5169 GB, free: 7.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003835/0.2594, allocations: 3.528 MB / 0.5204 GB, free: 4.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.2595, allocations: 32 kB / 0.5204 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-05/0.2595, allocations: 68 kB / 0.5205 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.31e-05/0.2596, allocations: 87.25 kB / 0.5206 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2607, allocations: 0.655 MB / 0.5212 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.099e-05/0.2608, allocations: 127.5 kB / 0.5213 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.262, allocations: 421.4 kB / 0.5217 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.2621, allocations: 191.9 kB / 0.5219 GB, free: 2.664 MB / 426.7 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.001555/0.2637, allocations: 1.342 MB / 0.5232 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.2639, allocations: 158.9 kB / 0.5234 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.2641, allocations: 188 kB / 0.5236 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.2641, allocations: 8 kB / 0.5236 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2641, allocations: 4 kB / 0.5236 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2641, allocations: 3.984 kB / 0.5236 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.268, allocations: 3.135 MB / 0.5266 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.268, allocations: 8 kB / 0.5266 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.2682, allocations: 95.83 kB / 0.5267 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.2682, allocations: 8 kB / 0.5267 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.2682, allocations: 24.61 kB / 0.5268 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.2682, allocations: 8 kB / 0.5268 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.2682, allocations: 11.94 kB / 0.5268 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.2694, allocations: 1.215 MB / 0.528 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.2696, allocations: 150.8 kB / 0.5281 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.2697, allocations: 19.98 kB / 0.5281 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.27, allocations: 23.98 kB / 0.5282 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.27, allocations: 51.8 kB / 0.5282 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.2701, allocations: 32 kB / 0.5282 GB, free: 11.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.2711, allocations: 1.118 MB / 0.5293 GB, free: 10.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2711, allocations: 0 / 0.5293 GB, free: 10.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001806/0.2729, allocations: 0.7122 MB / 0.53 GB, free: 10.13 MB / 442.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.0002707/0.2731, allocations: 142.9 kB / 0.5302 GB, free: 9.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.2751, allocations: 1.958 MB / 0.5321 GB, free: 8.047 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.2751, allocations: 0 / 0.5321 GB, free: 8.047 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.2755, allocations: 432.5 kB / 0.5325 GB, free: 7.625 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.2762, allocations: 177.3 kB / 0.5327 GB, free: 7.457 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006306/0.2825, allocations: 5.352 MB / 0.5379 GB, free: 1.988 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.284, allocations: 1.708 MB / 0.5395 GB, free: 252 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.2843, allocations: 140.5 kB / 0.5397 GB, free: 112 kB / 442.7 MB Notification: Performance of SimCode: time 2.104e-06/0.2843, allocations: 0 / 0.5397 GB, free: 112 kB / 442.7 MB Notification: Performance of Templates: time 0.03447/0.3188, allocations: 30.02 MB / 0.569 GB, free: 2.168 MB / 474.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.241307148709893]