Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.001895/0.001895, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.002124/0.002124, allocations: 165.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.399/1.399, allocations: 177.1 MB / 204.7 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 61.88 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09697, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008705/0.1057, allocations: 6.758 MB / 385.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00596/0.1116, allocations: 3.158 MB / 388.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004873/0.1121, allocations: 47.75 kB / 388.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.1142, allocations: 1.012 MB / 389.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.1168, allocations: 1.343 MB / 391.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1179, allocations: 0.5496 MB / 391.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003025/0.1209, allocations: 2.61 MB / 394.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.1223, allocations: 1.221 MB / 395.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009525/0.1232, allocations: 0.8407 MB / 396.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.1248, allocations: 1.214 MB / 397.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.125, allocations: 148 kB / 397.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.1264, allocations: 0.7838 MB / 398.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.1274, allocations: 1.075 MB / 399.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.1285, allocations: 0.8846 MB / 400.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004104/0.1326, allocations: 4.1 MB / 404.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1326, allocations: 4 kB / 404.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.1326, allocations: 4 kB / 404.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.1326, allocations: 0 / 404.7 MB, free: 5.648 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.004965/0.1376, allocations: 2.986 MB / 407.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1376, allocations: 15.98 kB / 407.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005607/0.1432, allocations: 1.645 MB / 409.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.1457, allocations: 1.341 MB / 410.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.1459, allocations: 127 kB / 410.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/0.1462, allocations: 155.9 kB / 410.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.1562, allocations: 6.549 MB / 417.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.478e-05/0.1563, allocations: 27.77 kB / 417.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.1565, allocations: 79.89 kB / 417.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002549/0.1591, allocations: 1.464 MB / 419 MB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.1695, allocations: 5.834 MB / 424.9 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02806/0.1976, allocations: 24.26 MB / 449.1 MB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005416/0.203, allocations: 2.075 MB / 451.2 MB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.2045, allocations: 1.141 MB / 452.4 MB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007318/0.2118, allocations: 4.273 MB / 456.6 MB, free: 276 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.2119, allocations: 46.56 kB / 456.7 MB, free: 220 kB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.976e-06/0.2119, allocations: 0 / 456.7 MB, free: 220 kB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.0249/0.2368, allocations: 9.932 MB / 466.6 MB, free: 6.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.2369, allocations: 141 kB / 466.8 MB, free: 6.039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003471/0.2404, allocations: 2.541 MB / 469.3 MB, free: 3.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.2405, allocations: 41.7 kB / 469.3 MB, free: 3.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.2421, allocations: 2.147 MB / 471.5 MB, free: 1.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.2426, allocations: 448.6 kB / 471.9 MB, free: 0.8008 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1909/0.4335, allocations: 0.8388 MB / 472.8 MB, free: 84.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4336, allocations: 353.4 kB / 473.1 MB, free: 83.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/0.4363, allocations: 1.462 MB / 474.6 MB, free: 83.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/0.4393, allocations: 4.081 MB / 478.6 MB, free: 80.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005394/0.4447, allocations: 5.974 MB / 484.6 MB, free: 75.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.986e-05/0.4447, allocations: 30.69 kB / 484.7 MB, free: 75.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.009462/0.4542, allocations: 6.025 MB / 490.7 MB, free: 73.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.159e-05/0.4542, allocations: 49.69 kB / 490.7 MB, free: 73.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.571e-05/0.4543, allocations: 98.36 kB / 490.8 MB, free: 73.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/0.4563, allocations: 0.8146 MB / 491.6 MB, free: 73.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/0.4587, allocations: 0.9577 MB / 492.6 MB, free: 73.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004566/0.4633, allocations: 4.498 MB / 497.1 MB, free: 71.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/0.4659, allocations: 264.7 kB / 497.3 MB, free: 70.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.4661, allocations: 260.9 kB / 497.6 MB, free: 70.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (502): * Single equations (assignments): 498 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001474/0.4676, allocations: 1.373 MB / 499 MB, free: 70.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.4679, allocations: 211.3 kB / 499.2 MB, free: 69.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.4714, allocations: 2.097 MB / 0.4895 GB, free: 68.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.4714, allocations: 12 kB / 0.4895 GB, free: 68.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4714, allocations: 4 kB / 0.4895 GB, free: 68.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4714, allocations: 11.86 kB / 0.4896 GB, free: 68.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006475/0.4779, allocations: 4.338 MB / 0.4938 GB, free: 63.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4779, allocations: 2.5 kB / 0.4938 GB, free: 63.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.4786, allocations: 163.7 kB / 0.494 GB, free: 63.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.4805, allocations: 0.6843 MB / 0.4946 GB, free: 63.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.4805, allocations: 16 kB / 0.4946 GB, free: 63.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.4844, allocations: 4.003 MB / 0.4985 GB, free: 59.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4844, allocations: 3.938 kB / 0.4985 GB, free: 59.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004856/0.4892, allocations: 4.028 MB / 0.5025 GB, free: 55.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.4895, allocations: 192 kB / 0.5027 GB, free: 55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.4896, allocations: 16 kB / 0.5027 GB, free: 54.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008919/0.4905, allocations: 79.88 kB / 0.5028 GB, free: 54.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.4907, allocations: 62.98 kB / 0.5028 GB, free: 54.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.4908, allocations: 32 kB / 0.5028 GB, free: 54.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001511/0.4923, allocations: 1.455 MB / 0.5043 GB, free: 53.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4923, allocations: 0 / 0.5043 GB, free: 53.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002734/0.495, allocations: 0.658 MB / 0.5049 GB, free: 52.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000329/0.4953, allocations: 209.5 kB / 0.5051 GB, free: 52.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003922/0.4993, allocations: 3.371 MB / 0.5084 GB, free: 49.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4993, allocations: 0 / 0.5084 GB, free: 49.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.5003, allocations: 0.9684 MB / 0.5093 GB, free: 48.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5014, allocations: 223.4 kB / 0.5096 GB, free: 47.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.5076, allocations: 5.71 MB / 0.5151 GB, free: 42.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.5091, allocations: 1.661 MB / 0.5168 GB, free: 40.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002083/0.5111, allocations: 1.295 MB / 0.518 GB, free: 39.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.5115, allocations: 148.5 kB / 0.5182 GB, free: 39.1 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5115, allocations: 4 kB / 0.5182 GB, free: 39.09 MB / 430.1 MB Notification: Performance of Templates: time 0.0317/0.5432, allocations: 19.47 MB / 0.5372 GB, free: 19.9 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.673193333903328]