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.0009768/0.0009768, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001091/0.001091, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9664/0.9664, allocations: 177.2 MB / 205 MB, free: 5.297 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.2437/0.2437, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.117e-05, allocations: 2.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007437/0.007458, allocations: 9.227 MB / 387.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004582/0.01204, allocations: 2.873 MB / 390.1 MB, free: 6.516 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006243/0.01267, allocations: 55.81 kB / 390.2 MB, free: 6.461 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.01511, allocations: 2.142 MB / 392.3 MB, free: 4.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.017, allocations: 1.175 MB / 393.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.01747, allocations: 323.1 kB / 393.8 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.01974, allocations: 2.364 MB / 396.2 MB, free: 456 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.02126, allocations: 1.793 MB / 398 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.02238, allocations: 1.298 MB / 399.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.0235, allocations: 1.173 MB / 400.5 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.02378, allocations: 200 kB / 400.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.02481, allocations: 0.6395 MB / 401.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007277/0.02554, allocations: 1.196 MB / 402.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006745/0.02621, allocations: 0.7163 MB / 403.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.02867, allocations: 2.717 MB / 405.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.02867, allocations: 4 kB / 405.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02867, allocations: 0 / 405.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.791e-05/0.02875, allocations: 0 / 405.9 MB, free: 6.648 MB / 378.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.003479/0.03223, allocations: 3.134 MB / 409.1 MB, free: 3.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.03227, allocations: 8.031 kB / 409.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.03533, allocations: 1.875 MB / 410.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.03672, allocations: 1.255 MB / 412.2 MB, free: 296 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.03679, allocations: 144 kB / 412.3 MB, free: 152 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.03698, allocations: 188.3 kB / 412.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003865/0.04085, allocations: 3.317 MB / 415.8 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.04089, allocations: 15.88 kB / 415.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.04104, allocations: 83.91 kB / 415.9 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001144/0.04219, allocations: 1.34 MB / 417.3 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.04512, allocations: 1.806 MB / 419.1 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.05771, allocations: 20.57 MB / 439.7 MB, free: 3.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.05953, allocations: 0.9237 MB / 440.6 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.05982, allocations: 225.9 kB / 440.8 MB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002671/0.06249, allocations: 2.443 MB / 443.2 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.06252, allocations: 45.83 kB / 443.3 MB, free: 68 kB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.084e-06/0.06252, allocations: 0 / 443.3 MB, free: 68 kB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.1441/0.2066, allocations: 1.275 MB / 444.6 MB, free: 94.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.2067, allocations: 57.31 kB / 444.6 MB, free: 94.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.2085, allocations: 1.791 MB / 446.4 MB, free: 94.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.2085, allocations: 39.23 kB / 446.4 MB, free: 94.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008112/0.2093, allocations: 2.017 MB / 448.5 MB, free: 93.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.2095, allocations: 330.3 kB / 448.8 MB, free: 93.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005965/0.2101, allocations: 0.6697 MB / 449.5 MB, free: 93.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.2102, allocations: 0.524 MB / 450 MB, free: 92.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.2107, allocations: 295.2 kB / 450.3 MB, free: 92.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.2119, allocations: 3.053 MB / 453.3 MB, free: 88.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/0.2143, allocations: 3.681 MB / 457 MB, free: 85.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.843e-05/0.2143, allocations: 27.14 kB / 457 MB, free: 85.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003188/0.2175, allocations: 2.498 MB / 459.5 MB, free: 84.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.2176, allocations: 32.09 kB / 459.6 MB, free: 84.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-05/0.2176, allocations: 69.03 kB / 459.6 MB, free: 84.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.069e-05/0.2177, allocations: 84.81 kB / 459.7 MB, free: 84.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004386/0.2221, allocations: 0.6612 MB / 460.4 MB, free: 84.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.252e-05/0.2221, allocations: 126.8 kB / 460.5 MB, free: 84.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.2235, allocations: 416.6 kB / 460.9 MB, free: 84.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.2236, allocations: 186.2 kB / 461.1 MB, free: 84.55 MB / 410.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.0007099/0.2244, allocations: 415.7 kB / 461.5 MB, free: 84.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.2245, allocations: 180.5 kB / 461.7 MB, free: 84.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.2247, allocations: 156.2 kB / 461.8 MB, free: 84.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.2247, allocations: 9.156 kB / 461.8 MB, free: 84.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.2247, allocations: 3.141 kB / 461.8 MB, free: 84.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2247, allocations: 0 / 461.8 MB, free: 84.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006804/0.2315, allocations: 2.842 MB / 464.7 MB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2315, allocations: 7.031 kB / 464.7 MB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.2318, allocations: 99.47 kB / 464.8 MB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.2318, allocations: 10.53 kB / 464.8 MB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.2318, allocations: 16.98 kB / 464.8 MB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.2318, allocations: 13.67 kB / 464.8 MB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.2318, allocations: 10.59 kB / 464.8 MB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.2325, allocations: 0.8619 MB / 465.7 MB, free: 82.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.2327, allocations: 153.1 kB / 465.8 MB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00313/0.2358, allocations: 24.19 kB / 465.9 MB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.2361, allocations: 26.66 kB / 465.9 MB, free: 82.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.2362, allocations: 51.11 kB / 465.9 MB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.2362, allocations: 32.31 kB / 466 MB, free: 82.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007436/0.237, allocations: 0.776 MB / 466.7 MB, free: 81.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.237, allocations: 3.469 kB / 466.7 MB, free: 81.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001836/0.2388, allocations: 0.7036 MB / 467.4 MB, free: 81.52 MB / 410.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.0002737/0.2391, allocations: 150.8 kB / 467.6 MB, free: 81.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.2406, allocations: 1.251 MB / 468.8 MB, free: 80.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2406, allocations: 0 / 468.8 MB, free: 80.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.2407, allocations: 194.5 kB / 469 MB, free: 80.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.2414, allocations: 193.2 kB / 469.2 MB, free: 80.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.2451, allocations: 4.348 MB / 473.6 MB, free: 78.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.2456, allocations: 0.7688 MB / 474.3 MB, free: 78.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009666/0.2466, allocations: 0.7994 MB / 475.1 MB, free: 78.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.2467, allocations: 113.3 kB / 475.3 MB, free: 78.11 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2467, allocations: 0 / 475.3 MB, free: 78.11 MB / 410.7 MB Notification: Performance of Templates: time 0.01983/0.2665, allocations: 12.09 MB / 487.3 MB, free: 76.77 MB / 410.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.481162641197443]