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.0007617/0.0007617, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001814, allocations: 449.7 kB / 10.37 MB, free: 328 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.000735/0.000735, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000934/0.001669, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.913/0.913, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0831/0.9961, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.223e-06/1.223e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.296e-05, allocations: 8.984 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01425/0.01427, allocations: 7.354 MB / 251.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.02649, allocations: 3.39 MB / 255.3 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004264/0.03075, allocations: 43.81 kB / 255.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.03276, allocations: 1.062 MB / 256.4 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005761/0.03853, allocations: 1.369 MB / 257.7 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003992/0.04252, allocations: 0.5415 MB / 258.3 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00594/0.04846, allocations: 2.909 MB / 261.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.04989, allocations: 1.315 MB / 262.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.05191, allocations: 1.377 MB / 263.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.05316, allocations: 1.243 MB / 265.1 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.05341, allocations: 148 kB / 265.3 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.05453, allocations: 0.8617 MB / 266.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006179/0.05515, allocations: 1.005 MB / 267.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005139/0.05566, allocations: 0.5489 MB / 267.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.0578, allocations: 2.615 MB / 270.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.05781, allocations: 0 / 270.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05782, allocations: 0 / 270.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.638e-05/0.05789, allocations: 0 / 270.3 MB, free: 4.418 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.003436/0.06133, allocations: 3.324 MB / 273.6 MB, free: 1.035 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.06136, allocations: 8.031 kB / 273.6 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.06315, allocations: 0.7655 MB / 274.4 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1098/0.173, allocations: 1.044 MB / 275.4 MB, free: 19.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.936e-05/0.1731, allocations: 123.5 kB / 275.6 MB, free: 19.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/0.1734, allocations: 161.9 kB / 275.7 MB, free: 19.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/0.1769, allocations: 3.124 MB / 278.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.942e-05/0.177, allocations: 29.67 kB / 278.9 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.1772, allocations: 82.89 kB / 279 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001154/0.1783, allocations: 1.252 MB / 280.2 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002993/0.1813, allocations: 1.627 MB / 281.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.1942, allocations: 20.34 MB / 302.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.1959, allocations: 0.9126 MB / 303.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.1961, allocations: 207.6 kB / 303.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002849/0.199, allocations: 2.161 MB / 305.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.199, allocations: 43.8 kB / 305.5 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 4.028e-06/0.199, allocations: 2.844 kB / 305.5 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of matching and sorting (n=80): time 0.004342/0.2034, allocations: 1.91 MB / 307.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.2034, allocations: 144.5 kB / 307.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.205, allocations: 2.174 MB / 309.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.2051, allocations: 33.7 kB / 309.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.2062, allocations: 2.101 MB / 311.9 MB, free: 11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.2065, allocations: 356.2 kB / 312.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/0.207, allocations: 0.7748 MB / 313 MB, free: 9.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.2071, allocations: 361.8 kB / 313.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006791/0.2078, allocations: 489.8 kB / 313.8 MB, free: 9.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.2098, allocations: 3.1 MB / 316.9 MB, free: 4.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002716/0.2125, allocations: 3.968 MB / 320.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-05/0.2126, allocations: 28 kB / 320.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.00373/0.2163, allocations: 2.817 MB / 323.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.2164, allocations: 48 kB / 323.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.561e-05/0.2164, allocations: 96 kB / 323.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/0.2167, allocations: 167.6 kB / 324 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.2183, allocations: 1.014 MB / 325 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.2194, allocations: 1.458 MB / 326.5 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.2213, allocations: 195.8 kB / 326.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/0.2216, allocations: 232 kB / 326.9 MB, free: 9.086 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.0007962/0.2224, allocations: 464.4 kB / 327.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.2227, allocations: 119.9 kB / 327.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/0.2231, allocations: 380.5 kB / 327.9 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.2232, allocations: 15.97 kB / 327.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2232, allocations: 4 kB / 327.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2232, allocations: 3.938 kB / 327.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.2256, allocations: 1.689 MB / 329.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.2256, allocations: 0 / 329.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.2259, allocations: 103.8 kB / 329.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.2263, allocations: 188.2 kB / 329.9 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.2265, allocations: 47.58 kB / 329.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.2265, allocations: 8 kB / 329.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008669/0.2274, allocations: 1.384 MB / 331.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2274, allocations: 0 / 331.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008211/0.2282, allocations: 1.045 MB / 332.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.2283, allocations: 20.05 kB / 332.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.2287, allocations: 15.98 kB / 332.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.2287, allocations: 39.81 kB / 332.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.2288, allocations: 24.12 kB / 332.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006273/0.2294, allocations: 0.7538 MB / 333.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2294, allocations: 0 / 333.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002182/0.2316, allocations: 0.6365 MB / 333.8 MB, free: 1.961 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.0003677/0.2319, allocations: 194.6 kB / 334 MB, free: 1.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.2341, allocations: 1.632 MB / 335.7 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001206/0.2342, allocations: 72.61 kB / 335.7 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.2345, allocations: 292.2 kB / 336 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.2359, allocations: 497.3 kB / 336.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00708/0.243, allocations: 4.33 MB / 340.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.2436, allocations: 0.7263 MB / 341.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007455/0.2443, allocations: 330.5 kB / 341.9 MB, free: 9.801 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.2447, allocations: 345.3 kB / 342.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2447, allocations: 0 / 342.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of Templates: time 0.02733/0.2721, allocations: 16.88 MB / 359.1 MB, free: 8.789 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.223984216339886]