Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.0009427/0.0009427, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002292, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009161/0.0009161, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.00217, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9836/0.9836, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08219/1.066, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.514e-05, allocations: 9.766 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.007974/0.008, allocations: 7.35 MB / 252.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005788/0.01379, allocations: 3.398 MB / 255.5 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.01486, allocations: 43.81 kB / 255.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.01625, allocations: 1.051 MB / 256.6 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.01877, allocations: 1.377 MB / 257.9 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.01967, allocations: 0.5377 MB / 258.5 MB, free: 396 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002662/0.02233, allocations: 2.894 MB / 261.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.02408, allocations: 1.311 MB / 262.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.02579, allocations: 1.369 MB / 264.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.02747, allocations: 1.247 MB / 265.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003122/0.02778, allocations: 151.9 kB / 265.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.0291, allocations: 0.85 MB / 266.3 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006991/0.02979, allocations: 1.009 MB / 267.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.03038, allocations: 0.5489 MB / 267.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.03278, allocations: 2.626 MB / 270.5 MB, free: 4.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.03279, allocations: 4 kB / 270.5 MB, free: 4.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.508e-06/0.03279, allocations: 0 / 270.5 MB, free: 4.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.695e-05/0.03289, allocations: 0 / 270.5 MB, free: 4.32 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.003753/0.03664, allocations: 3.321 MB / 273.8 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.03668, allocations: 8.031 kB / 273.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.03861, allocations: 0.7616 MB / 274.6 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.112/0.1506, allocations: 1.046 MB / 275.6 MB, free: 19.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.1507, allocations: 124.2 kB / 275.7 MB, free: 19.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/0.1509, allocations: 158.5 kB / 275.9 MB, free: 19.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/0.1549, allocations: 3.129 MB / 279 MB, free: 17.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.422e-05/0.155, allocations: 29.38 kB / 279.1 MB, free: 17.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.1552, allocations: 83.67 kB / 279.1 MB, free: 17.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00133/0.1565, allocations: 1.162 MB / 280.3 MB, free: 17.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.1598, allocations: 1.625 MB / 281.9 MB, free: 17.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.1722, allocations: 20.35 MB / 302.3 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.1739, allocations: 0.9113 MB / 303.2 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.1741, allocations: 212.9 kB / 303.4 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002331/0.1765, allocations: 2.162 MB / 305.6 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.1765, allocations: 44.55 kB / 305.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 2.555e-06/0.1765, allocations: 0 / 305.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=80): time 0.00443/0.1809, allocations: 2.056 MB / 307.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.181, allocations: 136.5 kB / 307.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.1826, allocations: 2.177 MB / 310 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.1826, allocations: 33.7 kB / 310 MB, free: 12.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008435/0.1835, allocations: 2.102 MB / 312.1 MB, free: 10.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.1837, allocations: 362.2 kB / 312.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005854/0.1843, allocations: 0.7752 MB / 313.2 MB, free: 9.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.1844, allocations: 353.8 kB / 313.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006818/0.1851, allocations: 493.8 kB / 314.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.1868, allocations: 3.105 MB / 317.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/0.1898, allocations: 4.28 MB / 321.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.262e-05/0.1898, allocations: 30.12 kB / 321.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.003126/0.1929, allocations: 2.812 MB / 324.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.193, allocations: 48 kB / 324.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-05/0.1931, allocations: 115.2 kB / 324.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.1933, allocations: 167.6 kB / 324.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.1949, allocations: 1.01 MB / 325.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.196, allocations: 1.456 MB / 327.1 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.1976, allocations: 187.8 kB / 327.3 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.1978, allocations: 224 kB / 327.5 MB, free: 8.715 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.0007544/0.1986, allocations: 468.6 kB / 327.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.1988, allocations: 119.8 kB / 328 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.1993, allocations: 387.7 kB / 328.4 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.1993, allocations: 8 kB / 328.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1993, allocations: 8 kB / 328.4 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1993, allocations: 3.984 kB / 328.4 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.2016, allocations: 1.681 MB / 330.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.2016, allocations: 7.984 kB / 330.1 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.2019, allocations: 103.9 kB / 330.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.2021, allocations: 190.4 kB / 330.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/0.2022, allocations: 51.52 kB / 330.5 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.2023, allocations: 15.98 kB / 330.5 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008164/0.2031, allocations: 1.369 MB / 331.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2031, allocations: 7.984 kB / 331.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.2039, allocations: 1.052 MB / 332.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.204, allocations: 8 kB / 332.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.2044, allocations: 12 kB / 332.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.2044, allocations: 47.92 kB / 333 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.2045, allocations: 19.98 kB / 333 MB, free: 2.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005981/0.2051, allocations: 0.7626 MB / 333.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2051, allocations: 3.938 kB / 333.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001854/0.2069, allocations: 0.6365 MB / 334.4 MB, free: 1.555 MB / 298.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.0003287/0.2072, allocations: 198 kB / 334.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.2089, allocations: 1.71 MB / 336.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.83e-05/0.209, allocations: 61.53 kB / 336.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.2094, allocations: 332.5 kB / 336.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.2107, allocations: 1.664 MB / 338.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/0.2172, allocations: 4.334 MB / 342.7 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.2177, allocations: 0.7338 MB / 343.4 MB, free: 8.285 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007136/0.2184, allocations: 316 kB / 343.7 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.2188, allocations: 337.3 kB / 344.1 MB, free: 7.645 MB / 314.7 MB Notification: Performance of SimCode: time 1.402e-06/0.2188, allocations: 4 kB / 344.1 MB, free: 7.641 MB / 314.7 MB Notification: Performance of Templates: time 0.0272/0.246, allocations: 15.47 MB / 359.5 MB, free: 8.293 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.0107221519574523]