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.001111/0.001111, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001012/0.001012, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9039/0.9039, allocations: 177 MB / 204.8 MB, free: 5.598 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.305/0.305, allocations: 34.86 MB / 296.3 MB, free: 476 kB / 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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.929e-05, allocations: 4.422 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009349/0.009378, allocations: 9.231 MB / 388 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005886/0.01526, allocations: 2.869 MB / 390.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.01664, allocations: 55.81 kB / 390.9 MB, free: 5.887 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.01933, allocations: 2.149 MB / 393.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.02166, allocations: 1.171 MB / 394.2 MB, free: 2.555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.02228, allocations: 319.2 kB / 394.5 MB, free: 2.242 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.02481, allocations: 2.363 MB / 396.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.02663, allocations: 1.801 MB / 398.7 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.02818, allocations: 1.294 MB / 400 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.02967, allocations: 1.173 MB / 401.2 MB, free: 11.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004725/0.03014, allocations: 192 kB / 401.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009199/0.03106, allocations: 0.6474 MB / 402 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008415/0.0319, allocations: 1.184 MB / 403.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008473/0.03275, allocations: 0.7163 MB / 403.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002633/0.03538, allocations: 2.72 MB / 406.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.03539, allocations: 0 / 406.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.03539, allocations: 0 / 406.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001044/0.03549, allocations: 4 kB / 406.6 MB, free: 6.082 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.003522/0.03902, allocations: 3.142 MB / 409.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.03905, allocations: 8.031 kB / 409.8 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002943/0.042, allocations: 1.875 MB / 411.7 MB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.04348, allocations: 1.255 MB / 412.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.04354, allocations: 140 kB / 413 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.04375, allocations: 192.3 kB / 413.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/0.0477, allocations: 3.309 MB / 416.5 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.04773, allocations: 19.88 kB / 416.6 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.04788, allocations: 87.91 kB / 416.7 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001134/0.04902, allocations: 1.344 MB / 418 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/0.0524, allocations: 1.8 MB / 419.8 MB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.06825, allocations: 20.57 MB / 440.4 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.07027, allocations: 0.9295 MB / 441.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.07058, allocations: 228.3 kB / 441.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.159/0.2296, allocations: 2.44 MB / 444 MB, free: 93.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.2296, allocations: 40.23 kB / 444 MB, free: 93.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.618e-06/0.2296, allocations: 2.938 kB / 444 MB, free: 93.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00279/0.2324, allocations: 1.284 MB / 445.3 MB, free: 93.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.2324, allocations: 58.5 kB / 445.3 MB, free: 93.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.234, allocations: 1.792 MB / 447.1 MB, free: 92.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.234, allocations: 35.77 kB / 447.2 MB, free: 92.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006918/0.2347, allocations: 2.016 MB / 449.2 MB, free: 91.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.2349, allocations: 336.3 kB / 449.5 MB, free: 91.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005123/0.2354, allocations: 0.6729 MB / 450.2 MB, free: 91.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2356, allocations: 0.5249 MB / 450.7 MB, free: 91.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.236, allocations: 293 kB / 451 MB, free: 91.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.2375, allocations: 3.052 MB / 454 MB, free: 87.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.2397, allocations: 3.69 MB / 457.7 MB, free: 83.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-05/0.2397, allocations: 17.03 kB / 457.8 MB, free: 83.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003197/0.2429, allocations: 2.497 MB / 460.3 MB, free: 83.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.243, allocations: 34.59 kB / 460.3 MB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.74e-05/0.2431, allocations: 66.62 kB / 460.4 MB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-05/0.2431, allocations: 85.25 kB / 460.4 MB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.2445, allocations: 0.6521 MB / 461.1 MB, free: 83.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.472e-05/0.2446, allocations: 132.2 kB / 461.2 MB, free: 83.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.246, allocations: 425.4 kB / 461.6 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.2462, allocations: 189.4 kB / 461.8 MB, free: 83.1 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.00071/0.2469, allocations: 404.6 kB / 462.2 MB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.247, allocations: 175.9 kB / 462.4 MB, free: 82.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.2472, allocations: 158.9 kB / 462.5 MB, free: 82.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.2472, allocations: 9.719 kB / 462.5 MB, free: 82.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.2472, allocations: 11.88 kB / 462.6 MB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2472, allocations: 0 / 462.6 MB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.251, allocations: 2.834 MB / 465.4 MB, free: 81.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.251, allocations: 6.469 kB / 465.4 MB, free: 81.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.2513, allocations: 98.97 kB / 465.5 MB, free: 81.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.2513, allocations: 10.31 kB / 465.5 MB, free: 81.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.2514, allocations: 21.47 kB / 465.5 MB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-06/0.2514, allocations: 13.72 kB / 465.5 MB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.2514, allocations: 12.53 kB / 465.6 MB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007689/0.2522, allocations: 0.8563 MB / 466.4 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.2523, allocations: 150.7 kB / 466.6 MB, free: 80.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.2525, allocations: 20.88 kB / 466.6 MB, free: 80.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.2528, allocations: 27.72 kB / 466.6 MB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.2529, allocations: 53.09 kB / 466.7 MB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.2529, allocations: 28.12 kB / 466.7 MB, free: 80.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008063/0.2537, allocations: 0.7828 MB / 467.5 MB, free: 80.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2537, allocations: 0 / 467.5 MB, free: 80.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002297/0.256, allocations: 0.7053 MB / 468.2 MB, free: 79.95 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.0002639/0.2563, allocations: 146.5 kB / 468.3 MB, free: 79.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.2581, allocations: 1.246 MB / 469.6 MB, free: 79.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.2581, allocations: 1 kB / 469.6 MB, free: 79.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.2583, allocations: 204.2 kB / 469.8 MB, free: 79.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008516/0.2592, allocations: 192 kB / 469.9 MB, free: 79.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005716/0.2649, allocations: 4.354 MB / 474.3 MB, free: 76.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007351/0.2656, allocations: 0.7561 MB / 475.1 MB, free: 76.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001416/0.267, allocations: 0.7983 MB / 475.9 MB, free: 76.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.2673, allocations: 111.6 kB / 476 MB, free: 76.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.214e-06/0.2673, allocations: 3.125 kB / 476 MB, free: 76.54 MB / 410.7 MB Notification: Performance of Templates: time 0.02444/0.2917, allocations: 12.08 MB / 488.1 MB, free: 75.2 MB / 410.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] 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","",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.4740544240921736]