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.0007467/0.0007467, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001793, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007297/0.0007297, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009294/0.001659, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9923/0.9923, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08499/1.077, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] 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 1.854e-06/1.854e-06, allocations: 0 / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.889e-06/1.174e-05, allocations: 5.688 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.005481/0.005492, allocations: 7.366 MB / 252.6 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004559/0.01005, allocations: 3.386 MB / 256 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.01071, allocations: 43.81 kB / 256 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.01184, allocations: 1.058 MB / 257.1 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.01368, allocations: 1.373 MB / 258.4 MB, free: 252 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007232/0.0144, allocations: 0.5299 MB / 259 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.01629, allocations: 2.898 MB / 261.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009277/0.01722, allocations: 1.311 MB / 263.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009829/0.0182, allocations: 1.377 MB / 264.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009382/0.01914, allocations: 1.247 MB / 265.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.01931, allocations: 148 kB / 266 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009178/0.02023, allocations: 0.8461 MB / 266.8 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005401/0.02077, allocations: 1.013 MB / 267.8 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.02118, allocations: 0.5489 MB / 268.4 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.02296, allocations: 2.619 MB / 271 MB, free: 3.648 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.02297, allocations: 0 / 271 MB, free: 3.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02297, allocations: 0 / 271 MB, free: 3.648 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.023, allocations: 0 / 271 MB, free: 3.648 MB / 266.7 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.00282/0.02582, allocations: 3.321 MB / 274.3 MB, free: 276 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.02585, allocations: 8.922 kB / 274.3 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09864/0.1245, allocations: 0.76 MB / 275.1 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.126, allocations: 1.056 MB / 276.1 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/0.1261, allocations: 119.5 kB / 276.2 MB, free: 18.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.1263, allocations: 163.9 kB / 276.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/0.1299, allocations: 3.124 MB / 279.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/0.1299, allocations: 28.7 kB / 279.6 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.1301, allocations: 85.22 kB / 279.6 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001133/0.1312, allocations: 1.162 MB / 280.8 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.134, allocations: 1.623 MB / 282.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.1445, allocations: 20.35 MB / 302.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.1462, allocations: 0.9123 MB / 303.7 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.1464, allocations: 217.4 kB / 303.9 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002338/0.1487, allocations: 2.152 MB / 306 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1488, allocations: 46.5 kB / 306.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 2.615e-06/0.1488, allocations: 3.531 kB / 306.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=80): time 0.004494/0.1532, allocations: 2.057 MB / 308.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.1533, allocations: 140.5 kB / 308.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.1548, allocations: 2.171 MB / 310.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.1548, allocations: 37.7 kB / 310.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008352/0.1556, allocations: 2.103 MB / 312.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.1558, allocations: 348.5 kB / 312.9 MB, free: 9.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005787/0.1564, allocations: 0.7747 MB / 313.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1565, allocations: 365.8 kB / 314.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.1572, allocations: 489.8 kB / 314.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.1589, allocations: 3.106 MB / 317.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.1617, allocations: 4.273 MB / 321.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-05/0.1618, allocations: 29.09 kB / 322 MB, free: 13.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.002993/0.1648, allocations: 2.819 MB / 324.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.1648, allocations: 44 kB / 324.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.1649, allocations: 108 kB / 324.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.1653, allocations: 171.6 kB / 325.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/0.1677, allocations: 1.016 MB / 326.1 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.1689, allocations: 1.444 MB / 327.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.171, allocations: 191.8 kB / 327.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.1713, allocations: 228 kB / 328 MB, free: 7.148 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 445 * Number of states: 0 () * Number of discrete variables: 21 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (507): * Single equations (assignments): 503 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007305/0.172, allocations: 468.5 kB / 328.4 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.1723, allocations: 126 kB / 328.5 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.173, allocations: 377.3 kB / 328.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.173, allocations: 8 kB / 328.9 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.173, allocations: 0 / 328.9 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.173, allocations: 7.984 kB / 328.9 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.1756, allocations: 1.693 MB / 330.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.1757, allocations: 15.97 kB / 330.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.1759, allocations: 103.8 kB / 330.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.1761, allocations: 198.5 kB / 330.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/0.1762, allocations: 39.64 kB / 331 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.1763, allocations: 16.03 kB / 331 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008076/0.1771, allocations: 1.373 MB / 332.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.1771, allocations: 3.938 kB / 332.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008346/0.1779, allocations: 1.047 MB / 333.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.178, allocations: 11.98 kB / 333.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.1784, allocations: 16 kB / 333.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.1784, allocations: 43.47 kB / 333.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.1785, allocations: 20 kB / 333.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005691/0.179, allocations: 0.7616 MB / 334.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.179, allocations: 0 / 334.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001565/0.1806, allocations: 0.6365 MB / 334.9 MB, free: 15.99 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (rev.w,damper.phi_rel) * 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): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003322/0.1809, allocations: 196.1 kB / 335.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.1824, allocations: 1.715 MB / 336.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.09e-05/0.1825, allocations: 59.94 kB / 336.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.1828, allocations: 329.1 kB / 337.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.1841, allocations: 1.672 MB / 338.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/0.1899, allocations: 4.339 MB / 343.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.1905, allocations: 0.7299 MB / 343.9 MB, free: 6.719 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000617/0.1911, allocations: 322.5 kB / 344.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.1915, allocations: 329.3 kB / 344.6 MB, free: 6.078 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1915, allocations: 0 / 344.6 MB, free: 6.078 MB / 314.7 MB Notification: Performance of Templates: time 0.0229/0.2144, allocations: 15.47 MB / 360 MB, free: 6.754 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9017845299094915]