Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.0008371/0.0008371, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003935/0.003935, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 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.8587/0.8587, allocations: 177 MB / 204.9 MB, free: 5.73 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.2332/0.2332, allocations: 34.24 MB / 295.6 MB, free: 0.668 MB / 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.127e-05, allocations: 8.75 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.1938/0.1938, allocations: 8.411 MB / 451.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004828/0.1987, allocations: 2.779 MB / 454.6 MB, free: 37.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.2, allocations: 55.25 kB / 454.7 MB, free: 37.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.2022, allocations: 2.039 MB / 456.7 MB, free: 37.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.2045, allocations: 1.163 MB / 457.9 MB, free: 36.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.205, allocations: 318.4 kB / 458.2 MB, free: 36.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002372/0.2074, allocations: 2.368 MB / 460.5 MB, free: 35.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.2092, allocations: 1.75 MB / 462.3 MB, free: 34.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.2105, allocations: 1.28 MB / 463.6 MB, free: 34.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.2115, allocations: 1.143 MB / 464.7 MB, free: 33.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.2118, allocations: 193.4 kB / 464.9 MB, free: 33.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.2125, allocations: 0.6387 MB / 465.5 MB, free: 33.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005852/0.2131, allocations: 1.181 MB / 466.7 MB, free: 33.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000495/0.2136, allocations: 0.7115 MB / 467.4 MB, free: 32.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.2164, allocations: 4.291 MB / 471.7 MB, free: 31.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2164, allocations: 0 / 471.7 MB, free: 31.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2164, allocations: 0 / 471.7 MB, free: 31.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.038e-05/0.2165, allocations: 0 / 471.7 MB, free: 31.39 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.003641/0.2201, allocations: 2.834 MB / 474.6 MB, free: 29.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2202, allocations: 9.719 kB / 474.6 MB, free: 29.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/0.2227, allocations: 1.588 MB / 476.2 MB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.2243, allocations: 1.282 MB / 477.4 MB, free: 28.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.979e-05/0.2244, allocations: 143.2 kB / 477.6 MB, free: 28.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.2246, allocations: 184.7 kB / 477.8 MB, free: 28.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006552/0.2312, allocations: 6.263 MB / 484 MB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/0.2312, allocations: 17.09 kB / 484 MB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.2314, allocations: 86.56 kB / 484.1 MB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001389/0.2328, allocations: 1.344 MB / 485.5 MB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008387/0.2412, allocations: 5.338 MB / 490.8 MB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02097/0.2621, allocations: 18.32 MB / 0.4972 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.2652, allocations: 1.649 MB / 0.4988 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/0.2658, allocations: 0.6339 MB / 0.4994 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00423/0.2701, allocations: 2.969 MB / 0.5023 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.2701, allocations: 39 kB / 0.5024 GB, free: 8.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 5.741e-06/0.2701, allocations: 0 / 0.5024 GB, free: 8.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00328/0.2734, allocations: 2.104 MB / 0.5044 GB, free: 6.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2734, allocations: 59.91 kB / 0.5045 GB, free: 6.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.2753, allocations: 1.935 MB / 0.5064 GB, free: 4.465 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.2753, allocations: 37.69 kB / 0.5064 GB, free: 4.422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006104/0.2759, allocations: 1.909 MB / 0.5083 GB, free: 2.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.2761, allocations: 321.6 kB / 0.5086 GB, free: 2.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000469/0.2766, allocations: 0.6039 MB / 0.5092 GB, free: 1.562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.92e-05/0.2766, allocations: 353.9 kB / 0.5095 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007609/0.2774, allocations: 0.8881 MB / 0.5104 GB, free: 328 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.2792, allocations: 2.751 MB / 0.5131 GB, free: 12.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.2824, allocations: 3.965 MB / 0.5169 GB, free: 7.742 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.206e-05/0.2824, allocations: 16 kB / 0.5169 GB, free: 7.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004182/0.2866, allocations: 3.539 MB / 0.5204 GB, free: 4.184 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.2867, allocations: 32 kB / 0.5204 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-05/0.2867, allocations: 68.89 kB / 0.5205 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.26e-05/0.2868, allocations: 88 kB / 0.5206 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.2886, allocations: 0.6589 MB / 0.5212 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001198/0.2887, allocations: 127.5 kB / 0.5213 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.291, allocations: 421.2 kB / 0.5217 GB, free: 2.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002827/0.2912, allocations: 184 kB / 0.5219 GB, free: 2.621 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.002448/0.2937, allocations: 1.338 MB / 0.5232 GB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.2939, allocations: 166.8 kB / 0.5234 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.2941, allocations: 184 kB / 0.5236 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.2942, allocations: 12 kB / 0.5236 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2942, allocations: 0 / 0.5236 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2942, allocations: 7.984 kB / 0.5236 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.2983, allocations: 3.132 MB / 0.5266 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.2983, allocations: 4 kB / 0.5266 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.2985, allocations: 103.8 kB / 0.5267 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.2986, allocations: 8 kB / 0.5267 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.2986, allocations: 20 kB / 0.5268 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.2986, allocations: 12.5 kB / 0.5268 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.2986, allocations: 11.92 kB / 0.5268 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/0.2996, allocations: 1.215 MB / 0.528 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.2998, allocations: 146.8 kB / 0.5281 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/0.2999, allocations: 15.98 kB / 0.5281 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.3002, allocations: 31.97 kB / 0.5282 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.3002, allocations: 51.81 kB / 0.5282 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.3003, allocations: 28 kB / 0.5282 GB, free: 11.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.3014, allocations: 1.122 MB / 0.5293 GB, free: 10.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3014, allocations: 4 kB / 0.5293 GB, free: 10.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001893/0.3033, allocations: 0.7083 MB / 0.53 GB, free: 10.09 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.0002961/0.3036, allocations: 135 kB / 0.5302 GB, free: 9.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.3059, allocations: 1.959 MB / 0.5321 GB, free: 8.004 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.3059, allocations: 4 kB / 0.5321 GB, free: 8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.3063, allocations: 429.4 kB / 0.5325 GB, free: 7.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.3071, allocations: 182.3 kB / 0.5327 GB, free: 7.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007847/0.315, allocations: 5.349 MB / 0.5379 GB, free: 1.945 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/0.3169, allocations: 1.712 MB / 0.5396 GB, free: 204 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.3173, allocations: 140.5 kB / 0.5397 GB, free: 64 kB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3173, allocations: 0 / 0.5397 GB, free: 64 kB / 442.7 MB Notification: Performance of Templates: time 0.03437/0.3517, allocations: 30.02 MB / 0.569 GB, free: 2.137 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.877318796701729]