Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008394/0.0008394, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003354/0.003354, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.853/0.853, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2611/0.2611, allocations: 34.26 MB / 295.7 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.108e-05, allocations: 3.266 kB / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.1824/0.1824, allocations: 8.424 MB / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.1852, allocations: 2.775 MB / 454.6 MB, free: 38.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.1856, allocations: 57.34 kB / 454.7 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.1872, allocations: 2.034 MB / 456.7 MB, free: 37.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.1883, allocations: 1.17 MB / 457.9 MB, free: 36.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.1886, allocations: 315.1 kB / 458.2 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.1901, allocations: 2.36 MB / 460.6 MB, free: 35.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.1911, allocations: 1.757 MB / 462.3 MB, free: 34.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.1918, allocations: 1.281 MB / 463.6 MB, free: 34.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000658/0.1924, allocations: 1.138 MB / 464.7 MB, free: 34.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.1926, allocations: 194.1 kB / 464.9 MB, free: 34.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.1931, allocations: 0.6502 MB / 465.6 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004347/0.1935, allocations: 1.172 MB / 466.7 MB, free: 33.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.1939, allocations: 0.7179 MB / 467.5 MB, free: 33.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.1957, allocations: 4.285 MB / 471.7 MB, free: 31.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1957, allocations: 0 / 471.7 MB, free: 31.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1957, allocations: 0 / 471.7 MB, free: 31.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.1958, allocations: 3.469 kB / 471.7 MB, free: 31.56 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.002102/0.1979, allocations: 2.837 MB / 474.6 MB, free: 29.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1979, allocations: 9.062 kB / 474.6 MB, free: 29.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.2002, allocations: 1.589 MB / 476.2 MB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.2013, allocations: 1.275 MB / 477.5 MB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.2014, allocations: 142.8 kB / 477.6 MB, free: 28.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.2016, allocations: 192.7 kB / 477.8 MB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004901/0.2065, allocations: 6.255 MB / 484 MB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.2065, allocations: 17.72 kB / 484.1 MB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.2067, allocations: 87.09 kB / 484.1 MB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001425/0.2081, allocations: 1.345 MB / 485.5 MB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006412/0.2145, allocations: 5.332 MB / 490.8 MB, free: 24.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/0.2288, allocations: 18.33 MB / 0.4972 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.2313, allocations: 1.642 MB / 0.4988 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/0.2319, allocations: 0.6391 MB / 0.4994 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002994/0.2349, allocations: 2.974 MB / 0.5023 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.2349, allocations: 35.06 kB / 0.5024 GB, free: 8.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.504e-06/0.2349, allocations: 0 / 0.5024 GB, free: 8.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002654/0.2376, allocations: 2.104 MB / 0.5044 GB, free: 6.621 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.2376, allocations: 63.91 kB / 0.5045 GB, free: 6.547 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.2388, allocations: 1.935 MB / 0.5064 GB, free: 4.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.2389, allocations: 37.7 kB / 0.5064 GB, free: 4.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.2393, allocations: 1.903 MB / 0.5083 GB, free: 2.633 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2394, allocations: 325.5 kB / 0.5086 GB, free: 2.312 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.2398, allocations: 0.6039 MB / 0.5092 GB, free: 1.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.2399, allocations: 349.9 kB / 0.5095 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006832/0.2406, allocations: 0.8881 MB / 0.5104 GB, free: 472 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.2423, allocations: 2.748 MB / 0.5131 GB, free: 12.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/0.245, allocations: 3.972 MB / 0.5169 GB, free: 7.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/0.245, allocations: 19.12 kB / 0.517 GB, free: 7.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002998/0.248, allocations: 3.529 MB / 0.5204 GB, free: 4.332 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.453e-05/0.2481, allocations: 36.25 kB / 0.5204 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/0.2481, allocations: 64 kB / 0.5205 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.322e-05/0.2481, allocations: 88 kB / 0.5206 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/0.2491, allocations: 0.6589 MB / 0.5212 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.967e-05/0.2492, allocations: 136 kB / 0.5214 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009423/0.2501, allocations: 412.9 kB / 0.5218 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.2503, allocations: 188 kB / 0.5219 GB, free: 2.766 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.001292/0.2516, allocations: 1.338 MB / 0.5232 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2517, allocations: 162.9 kB / 0.5234 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.2518, allocations: 188 kB / 0.5236 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.2519, allocations: 15.98 kB / 0.5236 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2519, allocations: 0 / 0.5236 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.2519, allocations: 3.938 kB / 0.5236 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.2549, allocations: 3.135 MB / 0.5267 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2549, allocations: 4 kB / 0.5267 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.2551, allocations: 103.8 kB / 0.5268 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.2551, allocations: 8 kB / 0.5268 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.2552, allocations: 20 kB / 0.5268 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.2552, allocations: 8 kB / 0.5268 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2552, allocations: 7.938 kB / 0.5268 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008479/0.256, allocations: 1.23 MB / 0.528 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.2561, allocations: 146.8 kB / 0.5281 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.2562, allocations: 12 kB / 0.5282 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2564, allocations: 33.34 kB / 0.5282 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.2565, allocations: 51.81 kB / 0.5282 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.2565, allocations: 28 kB / 0.5283 GB, free: 12.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008661/0.2574, allocations: 1.118 MB / 0.5294 GB, free: 10.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2574, allocations: 0 / 0.5294 GB, free: 10.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001388/0.2588, allocations: 0.7083 MB / 0.53 GB, free: 10.23 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.0002313/0.259, allocations: 143 kB / 0.5302 GB, free: 10.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.2605, allocations: 1.958 MB / 0.5321 GB, free: 8.141 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2605, allocations: 0 / 0.5321 GB, free: 8.141 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.2609, allocations: 431.1 kB / 0.5325 GB, free: 7.723 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.2615, allocations: 186.2 kB / 0.5327 GB, free: 7.547 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.2661, allocations: 5.344 MB / 0.5379 GB, free: 2.086 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.2674, allocations: 1.719 MB / 0.5396 GB, free: 340 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.2676, allocations: 136.5 kB / 0.5397 GB, free: 204 kB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2676, allocations: 0 / 0.5397 GB, free: 204 kB / 442.7 MB Notification: Performance of Templates: time 0.02408/0.2917, allocations: 30.02 MB / 0.569 GB, free: 2.258 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.713952790945768]