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.001528/0.001528, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001715/0.001715, allocations: 157.7 kB / 24.27 MB, free: 176 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 1.477/1.477, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3319/0.3319, allocations: 34.26 MB / 295.3 MB, free: 0.7031 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.834e-06/1.834e-06, allocations: 0 / 377.3 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.125e-05, allocations: 2.312 kB / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01233/0.01236, allocations: 8.421 MB / 385.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00675/0.01911, allocations: 2.795 MB / 388.5 MB, free: 7.738 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.02026, allocations: 55.81 kB / 388.5 MB, free: 7.684 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004552/0.02481, allocations: 2.068 MB / 390.6 MB, free: 5.609 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.02777, allocations: 1.178 MB / 391.8 MB, free: 4.426 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007965/0.02857, allocations: 323.2 kB / 392.1 MB, free: 4.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003424/0.03199, allocations: 2.364 MB / 394.5 MB, free: 1.742 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.03444, allocations: 1.797 MB / 396.3 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.03658, allocations: 1.282 MB / 397.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.03834, allocations: 1.134 MB / 398.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.03868, allocations: 196 kB / 398.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.03992, allocations: 0.6435 MB / 399.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.04119, allocations: 1.176 MB / 400.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.04223, allocations: 0.7163 MB / 401.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005986/0.04822, allocations: 4.291 MB / 405.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.04823, allocations: 0 / 405.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.04823, allocations: 0 / 405.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.266e-05/0.04832, allocations: 0 / 405.7 MB, free: 6.441 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.005659/0.05398, allocations: 2.823 MB / 408.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.05403, allocations: 8.031 kB / 408.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0058/0.05983, allocations: 1.938 MB / 410.5 MB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.06277, allocations: 1.29 MB / 411.8 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.0629, allocations: 140 kB / 411.9 MB, free: 172 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003694/0.06327, allocations: 188.3 kB / 412.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.07498, allocations: 6.262 MB / 418.3 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.198e-05/0.07504, allocations: 19.86 kB / 418.4 MB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.07531, allocations: 83.91 kB / 418.4 MB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002409/0.07772, allocations: 1.34 MB / 419.8 MB, free: 8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/0.089, allocations: 5.33 MB / 425.1 MB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1831/0.2721, allocations: 18.37 MB / 443.5 MB, free: 94.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003773/0.2759, allocations: 1.638 MB / 445.1 MB, free: 94.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.2766, allocations: 0.638 MB / 445.8 MB, free: 94.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005139/0.2818, allocations: 2.964 MB / 448.7 MB, free: 93.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.2818, allocations: 42.91 kB / 448.8 MB, free: 93.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.356e-06/0.2818, allocations: 0 / 448.8 MB, free: 93.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004854/0.2867, allocations: 2.127 MB / 450.9 MB, free: 93.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.2867, allocations: 57.38 kB / 450.9 MB, free: 93.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.2887, allocations: 1.939 MB / 452.9 MB, free: 92.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.2887, allocations: 38.39 kB / 452.9 MB, free: 92.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/0.2894, allocations: 1.898 MB / 454.8 MB, free: 91.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.2896, allocations: 332.7 kB / 455.1 MB, free: 91.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005747/0.2901, allocations: 0.6092 MB / 455.8 MB, free: 91.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.716e-05/0.2902, allocations: 347.7 kB / 456.1 MB, free: 90.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009909/0.2912, allocations: 0.8865 MB / 457 MB, free: 90.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.2928, allocations: 2.747 MB / 459.7 MB, free: 87.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.2956, allocations: 3.97 MB / 463.7 MB, free: 84.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.133e-05/0.2957, allocations: 19.75 kB / 463.7 MB, free: 84.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004364/0.3, allocations: 3.685 MB / 467.4 MB, free: 83.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.3001, allocations: 35.25 kB / 467.4 MB, free: 83.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.766e-05/0.3001, allocations: 65.56 kB / 467.5 MB, free: 83.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.721e-05/0.3002, allocations: 94.45 kB / 467.6 MB, free: 83.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.3019, allocations: 0.6475 MB / 468.2 MB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.632e-05/0.302, allocations: 136 kB / 468.4 MB, free: 82.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.3036, allocations: 421.1 kB / 468.8 MB, free: 82.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.3038, allocations: 181.4 kB / 469 MB, free: 82.67 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.001441/0.3053, allocations: 1.342 MB / 470.3 MB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.3055, allocations: 175.3 kB / 470.5 MB, free: 81.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.3058, allocations: 185.3 kB / 470.7 MB, free: 81.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.3058, allocations: 13.22 kB / 470.7 MB, free: 81.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.3058, allocations: 0 / 470.7 MB, free: 81.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3058, allocations: 7.266 kB / 470.7 MB, free: 81.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.3101, allocations: 3.131 MB / 473.8 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.3101, allocations: 6.406 kB / 473.8 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.3105, allocations: 97.81 kB / 473.9 MB, free: 80.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.3105, allocations: 9.688 kB / 473.9 MB, free: 80.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.3106, allocations: 22.16 kB / 473.9 MB, free: 80.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.3106, allocations: 13.19 kB / 474 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3106, allocations: 10.66 kB / 474 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.3119, allocations: 1.24 MB / 475.2 MB, free: 79.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.3121, allocations: 155.4 kB / 475.4 MB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.3122, allocations: 16.91 kB / 475.4 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.3127, allocations: 28.5 kB / 475.4 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.3128, allocations: 49.12 kB / 475.5 MB, free: 79.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.3128, allocations: 34.78 kB / 475.5 MB, free: 79.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001342/0.3142, allocations: 1.117 MB / 476.6 MB, free: 79.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3142, allocations: 0 / 476.6 MB, free: 79.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002444/0.3166, allocations: 0.7074 MB / 477.3 MB, free: 79.1 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.0002696/0.3169, allocations: 140 kB / 477.4 MB, free: 78.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002725/0.3196, allocations: 1.952 MB / 479.4 MB, free: 78.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3196, allocations: 1.75 kB / 479.4 MB, free: 78.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004722/0.3201, allocations: 429.7 kB / 479.8 MB, free: 78.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3212, allocations: 197.8 kB / 480 MB, free: 78.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/0.3292, allocations: 5.122 MB / 485.1 MB, free: 75.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.331, allocations: 1.705 MB / 486.8 MB, free: 75.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001665/0.3327, allocations: 0.9299 MB / 487.8 MB, free: 75.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.333, allocations: 115.7 kB / 487.9 MB, free: 75.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.333, allocations: 0 / 487.9 MB, free: 75.11 MB / 410.7 MB Notification: Performance of Templates: time 0.02279/0.3557, allocations: 11.71 MB / 499.6 MB, free: 71.74 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=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.453901001950726]