Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 80.67 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 154.5 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.999e-05, allocations: 2.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.007234/0.007254, allocations: 6.77 MB / 325.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006392/0.01365, allocations: 3.148 MB / 328.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.01435, allocations: 43.34 kB / 328.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.01664, allocations: 1.066 MB / 330 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.02023, allocations: 1.421 MB / 331.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.02172, allocations: 0.5927 MB / 332 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003782/0.02551, allocations: 2.908 MB / 334.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.02743, allocations: 1.478 MB / 336.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.02947, allocations: 1.288 MB / 337.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.0314, allocations: 1.342 MB / 339 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002913/0.03169, allocations: 148 kB / 339.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.03336, allocations: 0.8305 MB / 340 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.03445, allocations: 1.141 MB / 341.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008635/0.03531, allocations: 0.6812 MB / 341.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004582/0.0399, allocations: 4.142 MB / 345.9 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.0399, allocations: 0 / 345.9 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.0399, allocations: 0 / 345.9 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.266e-05/0.03997, allocations: 0 / 345.9 MB, free: 0.6211 MB / 302.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.005665/0.04564, allocations: 3.037 MB / 349 MB, free: 13.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.04568, allocations: 8.031 kB / 349 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005963/0.05165, allocations: 1.645 MB / 350.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.05428, allocations: 1.325 MB / 351.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.05439, allocations: 127.3 kB / 352.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003484/0.05474, allocations: 167.8 kB / 352.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.06489, allocations: 6.538 MB / 358.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.171e-05/0.06496, allocations: 31.75 kB / 358.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/0.0652, allocations: 79.89 kB / 358.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002633/0.06784, allocations: 1.472 MB / 360.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.07822, allocations: 5.838 MB / 366.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.107, allocations: 24.3 MB / 390.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00559/0.1126, allocations: 2.078 MB / 392.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.1142, allocations: 1.137 MB / 393.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007644/0.1218, allocations: 4.355 MB / 398.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.1219, allocations: 46.5 kB / 398.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.737e-06/0.1219, allocations: 0 / 398.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=105): time 0.0262/0.1481, allocations: 9.998 MB / 408.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.1482, allocations: 141 kB / 408.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.1519, allocations: 2.628 MB / 410.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.152, allocations: 37.7 kB / 410.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.1535, allocations: 2.132 MB / 413 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000448/0.1539, allocations: 440.7 kB / 413.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.1552, allocations: 0.8299 MB / 414.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.1554, allocations: 361.9 kB / 414.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/0.1579, allocations: 1.456 MB / 416.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005178/0.1631, allocations: 4.077 MB / 420.2 MB, free: 3.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007873/0.1709, allocations: 5.974 MB / 426.2 MB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.622e-05/0.171, allocations: 32 kB / 426.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01187/0.1829, allocations: 6.016 MB / 432.2 MB, free: 6.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.858e-05/0.1829, allocations: 52.2 kB / 432.3 MB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.592e-05/0.183, allocations: 96 kB / 432.3 MB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.1857, allocations: 0.8191 MB / 433.2 MB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/0.1887, allocations: 0.9552 MB / 434.1 MB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007027/0.1957, allocations: 4.514 MB / 438.6 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/0.1987, allocations: 295.5 kB / 438.9 MB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003951/0.1991, allocations: 260 kB / 439.2 MB, free: 15.01 MB / 414.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.002141/0.2013, allocations: 1.372 MB / 440.5 MB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/0.2017, allocations: 214.5 kB / 440.8 MB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004869/0.2066, allocations: 2.094 MB / 442.9 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.2066, allocations: 12 kB / 442.9 MB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.2066, allocations: 4.562 kB / 442.9 MB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.2066, allocations: 7.922 kB / 442.9 MB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009287/0.2159, allocations: 4.387 MB / 447.3 MB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.2159, allocations: 4 kB / 447.3 MB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008347/0.2168, allocations: 167.7 kB / 447.4 MB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/0.2191, allocations: 0.6756 MB / 448.1 MB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.771e-05/0.2192, allocations: 23.98 kB / 448.1 MB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005832/0.2251, allocations: 4.014 MB / 452.1 MB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2251, allocations: 4.062 kB / 452.1 MB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007079/0.2321, allocations: 4.036 MB / 456.2 MB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/0.2327, allocations: 210.4 kB / 456.4 MB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.2329, allocations: 23.98 kB / 456.4 MB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.2341, allocations: 107.8 kB / 456.5 MB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.2343, allocations: 56.39 kB / 456.6 MB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.2344, allocations: 32 kB / 456.6 MB, free: 13.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002462/0.2369, allocations: 1.526 MB / 458.1 MB, free: 11.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2369, allocations: 4 kB / 458.1 MB, free: 11.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003275/0.2401, allocations: 0.7537 MB / 458.9 MB, free: 11.06 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.0005521/0.2407, allocations: 226.7 kB / 459.1 MB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005525/0.2462, allocations: 3.372 MB / 462.5 MB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2462, allocations: 0 / 462.5 MB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.2477, allocations: 0.9656 MB / 463.4 MB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.2491, allocations: 231.2 kB / 463.7 MB, free: 6.258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00912/0.2582, allocations: 5.669 MB / 469.3 MB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1474/0.4056, allocations: 1.662 MB / 471 MB, free: 129.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002989/0.4086, allocations: 1.298 MB / 472.3 MB, free: 129.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004942/0.4091, allocations: 154.5 kB / 472.5 MB, free: 129.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4091, allocations: 0 / 472.5 MB, free: 129.4 MB / 430.1 MB Notification: Performance of Templates: time 0.03914/0.4482, allocations: 20.73 MB / 493.2 MB, free: 122.9 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.500627152621746]