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.000802/0.000802, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003261/0.003261, allocations: 165.3 kB / 24.7 MB, free: 9.426 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.8476/0.8476, allocations: 177.1 MB / 205 MB, free: 5.723 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.2479/0.2479, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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.3.|cutForce.force.2.|cutForce.force.1.",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.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.542e-05, allocations: 6.281 kB / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2012/0.2012, allocations: 8.406 MB / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.2044, allocations: 2.782 MB / 454.6 MB, free: 38.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/0.2048, allocations: 55.47 kB / 454.7 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.2066, allocations: 2.037 MB / 456.7 MB, free: 37.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.2077, allocations: 1.166 MB / 457.9 MB, free: 36.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.2081, allocations: 316.6 kB / 458.2 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.2094, allocations: 2.359 MB / 460.5 MB, free: 35.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.2104, allocations: 1.754 MB / 462.3 MB, free: 34.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.2111, allocations: 1.285 MB / 463.6 MB, free: 34.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.2118, allocations: 1.141 MB / 464.7 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.2119, allocations: 191.8 kB / 464.9 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.2125, allocations: 0.6418 MB / 465.6 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004495/0.2129, allocations: 1.179 MB / 466.7 MB, free: 33.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.2133, allocations: 0.7168 MB / 467.4 MB, free: 33.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.2152, allocations: 4.281 MB / 471.7 MB, free: 31.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2152, allocations: 0 / 471.7 MB, free: 31.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2152, allocations: 0 / 471.7 MB, free: 31.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.2152, 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.002115/0.2174, allocations: 2.836 MB / 474.6 MB, free: 29.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2174, allocations: 12.48 kB / 474.6 MB, free: 29.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.2197, allocations: 1.591 MB / 476.2 MB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.2209, allocations: 1.279 MB / 477.5 MB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.2209, allocations: 143.7 kB / 477.6 MB, free: 28.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.2211, allocations: 184.2 kB / 477.8 MB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004955/0.2261, allocations: 6.253 MB / 484 MB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.2261, allocations: 20.38 kB / 484 MB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.2262, allocations: 87.66 kB / 484.1 MB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001326/0.2276, allocations: 1.344 MB / 485.5 MB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006232/0.2338, allocations: 5.342 MB / 490.8 MB, free: 24.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.2481, allocations: 18.32 MB / 0.4972 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/0.2509, allocations: 1.645 MB / 0.4988 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000621/0.2515, allocations: 0.6389 MB / 0.4994 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003149/0.2547, allocations: 2.972 MB / 0.5023 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.2547, allocations: 43.05 kB / 0.5024 GB, free: 8.727 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.514e-06/0.2547, allocations: 0 / 0.5024 GB, free: 8.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00274/0.2574, allocations: 2.104 MB / 0.5044 GB, free: 6.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.2575, allocations: 55.91 kB / 0.5045 GB, free: 6.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.2587, allocations: 1.939 MB / 0.5064 GB, free: 4.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.2587, allocations: 29.7 kB / 0.5064 GB, free: 4.566 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.2592, allocations: 1.911 MB / 0.5083 GB, free: 2.633 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2593, allocations: 317.6 kB / 0.5086 GB, free: 2.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.2597, allocations: 0.6195 MB / 0.5092 GB, free: 1.691 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.2597, allocations: 345.9 kB / 0.5095 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.2604, allocations: 0.8881 MB / 0.5104 GB, free: 468 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.2621, allocations: 2.748 MB / 0.5131 GB, free: 12.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/0.2654, allocations: 3.964 MB / 0.5169 GB, free: 7.883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.2654, allocations: 20 kB / 0.517 GB, free: 7.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003075/0.2685, allocations: 3.528 MB / 0.5204 GB, free: 4.332 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.2685, allocations: 36 kB / 0.5204 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.176e-05/0.2685, allocations: 64 kB / 0.5205 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.956e-05/0.2686, allocations: 88 kB / 0.5206 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.2696, allocations: 0.655 MB / 0.5212 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.194e-05/0.2697, allocations: 136 kB / 0.5213 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000962/0.2706, allocations: 425.2 kB / 0.5218 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.2708, allocations: 188 kB / 0.5219 GB, free: 2.758 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.001412/0.2722, allocations: 1.334 MB / 0.5232 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2723, allocations: 158.9 kB / 0.5234 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.2725, allocations: 188 kB / 0.5236 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.2725, allocations: 8 kB / 0.5236 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.2725, allocations: 0 / 0.5236 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.2725, allocations: 11.92 kB / 0.5236 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.2759, allocations: 3.135 MB / 0.5266 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.276, allocations: 4 kB / 0.5266 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.2761, allocations: 103.8 kB / 0.5267 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.2762, allocations: 8 kB / 0.5268 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.2762, allocations: 19.81 kB / 0.5268 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.2762, allocations: 11.98 kB / 0.5268 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.2762, allocations: 12.44 kB / 0.5268 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008408/0.277, allocations: 1.219 MB / 0.528 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.2771, allocations: 150.8 kB / 0.5281 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.2772, allocations: 16 kB / 0.5281 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2774, allocations: 27.95 kB / 0.5282 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.2775, allocations: 55.81 kB / 0.5282 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.2775, allocations: 31.98 kB / 0.5283 GB, free: 12.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008562/0.2784, allocations: 1.11 MB / 0.5293 GB, free: 10.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2784, allocations: 4 kB / 0.5293 GB, free: 10.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001398/0.2798, 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.0002387/0.28, allocations: 143 kB / 0.5302 GB, free: 10.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.2819, allocations: 1.959 MB / 0.5321 GB, free: 8.141 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.2819, allocations: 4 kB / 0.5321 GB, free: 8.137 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.2822, allocations: 429.5 kB / 0.5325 GB, free: 7.719 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.2828, allocations: 188.6 kB / 0.5327 GB, free: 7.543 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.2877, allocations: 5.356 MB / 0.5379 GB, free: 2.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.289, allocations: 1.7 MB / 0.5396 GB, free: 344 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.2892, allocations: 144.5 kB / 0.5397 GB, free: 200 kB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2892, allocations: 0 / 0.5397 GB, free: 200 kB / 442.7 MB Notification: Performance of Templates: time 0.02447/0.3137, allocations: 30.02 MB / 0.569 GB, free: 2.254 MB / 474.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.76321573369205]