Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001494/0.001494, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001707/0.001707, allocations: 165 kB / 24.56 MB, free: 12 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.9717/0.9717, allocations: 177.1 MB / 205 MB, free: 5.633 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.2388/0.2388, allocations: 34.26 MB / 295.7 MB, free: 0.7422 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 3.984 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.902e-05, allocations: 5.547 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007304/0.007323, allocations: 9.231 MB / 387.3 MB, free: 9.375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.01146, allocations: 2.873 MB / 390.1 MB, free: 6.492 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008591/0.01232, allocations: 55.81 kB / 390.2 MB, free: 6.438 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.0147, allocations: 2.142 MB / 392.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.01636, allocations: 1.175 MB / 393.5 MB, free: 3.109 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.01682, allocations: 323.2 kB / 393.8 MB, free: 2.793 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.01878, allocations: 2.364 MB / 396.2 MB, free: 436 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.02023, allocations: 1.797 MB / 398 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.02129, allocations: 1.294 MB / 399.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.02255, allocations: 1.177 MB / 400.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.02277, allocations: 196 kB / 400.6 MB, free: 11.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006752/0.02345, allocations: 0.6435 MB / 401.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006194/0.02407, allocations: 1.184 MB / 402.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.02462, allocations: 0.7241 MB / 403.2 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.02657, allocations: 2.724 MB / 405.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.02657, allocations: 0 / 405.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.02657, allocations: 0 / 405.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.823e-05/0.0266, allocations: 0 / 405.9 MB, free: 6.625 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.002953/0.02955, allocations: 3.134 MB / 409.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.02959, allocations: 8.031 kB / 409.1 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.03242, allocations: 1.871 MB / 410.9 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.03365, allocations: 1.255 MB / 412.2 MB, free: 276 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.749e-05/0.03371, allocations: 144 kB / 412.3 MB, free: 132 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.0339, allocations: 184.3 kB / 412.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/0.03736, allocations: 3.321 MB / 415.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.03739, allocations: 11.88 kB / 415.8 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.03753, allocations: 87.91 kB / 415.9 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001108/0.03864, allocations: 1.344 MB / 417.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/0.04152, allocations: 1.796 MB / 419.1 MB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.05481, allocations: 20.58 MB / 439.6 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.05668, allocations: 0.9276 MB / 440.6 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.05697, allocations: 221.9 kB / 440.8 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003003/0.05997, allocations: 2.439 MB / 443.2 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.06, allocations: 41.83 kB / 443.3 MB, free: 56 kB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/0.06, allocations: 8 kB / 443.3 MB, free: 48 kB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.1441/0.2041, allocations: 1.277 MB / 444.6 MB, free: 94.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.2041, allocations: 57.09 kB / 444.6 MB, free: 94.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.2058, allocations: 1.788 MB / 446.4 MB, free: 94.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.2059, allocations: 39.81 kB / 446.4 MB, free: 94.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007354/0.2066, allocations: 2.016 MB / 448.5 MB, free: 93.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.2068, allocations: 334.8 kB / 448.8 MB, free: 93.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005847/0.2074, allocations: 0.672 MB / 449.5 MB, free: 93.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.2074, allocations: 0.5215 MB / 450 MB, free: 92.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.208, allocations: 292 kB / 450.3 MB, free: 92.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.2092, allocations: 3.058 MB / 453.3 MB, free: 89.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/0.2116, allocations: 3.683 MB / 457 MB, free: 85.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.958e-05/0.2116, allocations: 18.66 kB / 457 MB, free: 85.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003114/0.2147, allocations: 2.498 MB / 459.5 MB, free: 84.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.2148, allocations: 31.22 kB / 459.5 MB, free: 84.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-05/0.2148, allocations: 69.72 kB / 459.6 MB, free: 84.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.89e-05/0.2149, allocations: 92.78 kB / 459.7 MB, free: 84.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.2163, allocations: 0.6541 MB / 460.4 MB, free: 84.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.999e-05/0.2164, allocations: 131.8 kB / 460.5 MB, free: 84.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.2176, allocations: 412.7 kB / 460.9 MB, free: 84.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.2178, allocations: 189.2 kB / 461.1 MB, free: 84.66 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.0006036/0.2184, allocations: 412.6 kB / 461.5 MB, free: 84.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.2186, allocations: 179 kB / 461.7 MB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.2187, allocations: 159.8 kB / 461.8 MB, free: 84.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.2187, allocations: 9.688 kB / 461.8 MB, free: 84.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2187, allocations: 0 / 461.8 MB, free: 84.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2188, allocations: 3.188 kB / 461.8 MB, free: 84.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.2224, allocations: 2.841 MB / 464.7 MB, free: 82.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.2224, allocations: 7.188 kB / 464.7 MB, free: 82.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.2226, allocations: 98.89 kB / 464.8 MB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.2226, allocations: 13.5 kB / 464.8 MB, free: 82.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.2227, allocations: 16.78 kB / 464.8 MB, free: 82.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.2227, allocations: 12.52 kB / 464.8 MB, free: 82.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.2227, allocations: 10.62 kB / 464.8 MB, free: 82.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.2235, allocations: 0.8565 MB / 465.7 MB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.2237, allocations: 162.4 kB / 465.8 MB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.2238, allocations: 16.86 kB / 465.9 MB, free: 82.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.2242, allocations: 31.27 kB / 465.9 MB, free: 82.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.2243, allocations: 50.3 kB / 465.9 MB, free: 82.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/0.2244, allocations: 34.34 kB / 466 MB, free: 82.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001068/0.2254, allocations: 0.7779 MB / 466.7 MB, free: 81.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2254, allocations: 0 / 466.7 MB, free: 81.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002366/0.2278, allocations: 0.7027 MB / 467.4 MB, free: 81.47 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.0002754/0.2281, allocations: 152.7 kB / 467.6 MB, free: 81.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.2294, allocations: 1.246 MB / 468.8 MB, free: 80.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2295, allocations: 0 / 468.8 MB, free: 80.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.2296, allocations: 195.9 kB / 469 MB, free: 80.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.2302, allocations: 194.8 kB / 469.2 MB, free: 80.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.2339, allocations: 4.344 MB / 473.6 MB, free: 78.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.2344, allocations: 0.7678 MB / 474.3 MB, free: 78.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009408/0.2353, allocations: 0.7958 MB / 475.1 MB, free: 78.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.2355, allocations: 110.5 kB / 475.2 MB, free: 78.07 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2355, allocations: 0 / 475.2 MB, free: 78.07 MB / 410.7 MB Notification: Performance of Templates: time 0.01927/0.2547, allocations: 12.09 MB / 487.3 MB, free: 76.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.392426661681384]