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.001053/0.001053, allocations: 91.67 kB / 21.2 MB, free: 3.367 MB / 18.57 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.001011/0.001011, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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.035/1.035, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.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.804e-06/1.804e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.152e-05, allocations: 2.312 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.007484/0.007515, allocations: 7.448 MB / 280.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005203/0.01272, allocations: 3.286 MB / 283.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006254/0.01334, allocations: 43.81 kB / 283.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.01478, allocations: 1.094 MB / 284.8 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.01776, allocations: 1.4 MB / 286.2 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008595/0.01862, allocations: 0.5961 MB / 286.8 MB, free: 3.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.02082, allocations: 2.982 MB / 289.8 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1375/0.1583, allocations: 1.51 MB / 291.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.1604, allocations: 1.281 MB / 292.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.1624, allocations: 1.338 MB / 293.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003831/0.1628, allocations: 155.5 kB / 294.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.1643, allocations: 0.827 MB / 294.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009785/0.1653, allocations: 1.131 MB / 296 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.1663, allocations: 0.6728 MB / 296.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.1693, allocations: 2.844 MB / 299.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1693, allocations: 1.375 kB / 299.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1693, allocations: 0 / 299.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.894e-05/0.1694, allocations: 0 / 299.5 MB, free: 14.55 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.004221/0.1736, allocations: 3.293 MB / 302.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1737, allocations: 13.64 kB / 302.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/0.1768, allocations: 1.899 MB / 304.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.1781, allocations: 1.223 MB / 306 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/0.1782, allocations: 126.5 kB / 306.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.1784, allocations: 158 kB / 306.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/0.1818, allocations: 3.896 MB / 310.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.1819, allocations: 28.39 kB / 310.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.1821, allocations: 81.97 kB / 310.2 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001329/0.1834, allocations: 1.468 MB / 311.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.1868, allocations: 2.142 MB / 313.8 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.2039, allocations: 29.02 MB / 342.9 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.2063, allocations: 1.192 MB / 344.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.2068, allocations: 403.1 kB / 344.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003888/0.2107, allocations: 3.341 MB / 347.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2108, allocations: 51.92 kB / 347.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of pre-optimization done (n=97): time 2.354e-06/0.2108, allocations: 0 / 347.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=105): time 0.01189/0.2226, allocations: 6.91 MB / 354.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.2227, allocations: 147.7 kB / 354.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.2249, allocations: 2.395 MB / 357.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.225, allocations: 37.7 kB / 357.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.226, allocations: 2.262 MB / 359.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005571/0.2265, allocations: 461 kB / 360 MB, free: 7.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008039/0.2273, allocations: 0.901 MB / 360.9 MB, free: 6.863 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2275, allocations: 0.5355 MB / 361.5 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007729/0.2283, allocations: 455.9 kB / 361.9 MB, free: 5.867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/0.231, allocations: 4.346 MB / 366.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/0.2349, allocations: 5.285 MB / 371.6 MB, free: 8.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.004e-05/0.235, allocations: 28 kB / 371.6 MB, free: 8.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.005242/0.2402, allocations: 4.062 MB / 375.6 MB, free: 4.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.2403, allocations: 44 kB / 375.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.768e-05/0.2403, allocations: 96 kB / 375.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.2415, allocations: 0.554 MB / 376.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.2431, allocations: 0.9474 MB / 377.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.246, allocations: 2.988 MB / 380.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.2475, allocations: 283.5 kB / 380.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/0.2478, allocations: 260 kB / 380.8 MB, free: 15.38 MB / 346.7 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.0009339/0.2487, allocations: 0.4926 MB / 381.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.249, allocations: 240.2 kB / 381.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.2508, allocations: 1.172 MB / 382.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.2509, allocations: 12 kB / 382.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2509, allocations: 4 kB / 382.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.2509, allocations: 3.984 kB / 382.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.2559, allocations: 3.423 MB / 386.1 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2559, allocations: 3.984 kB / 386.2 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.2563, allocations: 151.8 kB / 386.3 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.2573, allocations: 440 kB / 386.7 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.2574, allocations: 23.06 kB / 386.8 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.2595, allocations: 2.467 MB / 389.2 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2595, allocations: 4 kB / 389.2 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.2621, allocations: 2.092 MB / 391.3 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.2623, allocations: 218.4 kB / 391.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.2624, allocations: 16 kB / 391.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.263, allocations: 103.1 kB / 391.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.2631, allocations: 62.27 kB / 391.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.2632, allocations: 28 kB / 391.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001379/0.2645, allocations: 1.018 MB / 392.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2645, allocations: 0 / 392.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002326/0.2669, allocations: 0.7458 MB / 393.5 MB, free: 2.449 MB / 346.7 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.0003878/0.2672, allocations: 218.4 kB / 393.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.2698, allocations: 2.125 MB / 395.8 MB, free: 100 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2698, allocations: 4.125 kB / 395.8 MB, free: 96 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.2704, allocations: 0.5468 MB / 396.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.2716, allocations: 239.5 kB / 396.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006961/0.2786, allocations: 4.532 MB / 401.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/0.2793, allocations: 0.7505 MB / 401.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0021/0.2814, allocations: 1.11 MB / 403 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.2818, allocations: 160.5 kB / 403.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2818, allocations: 0 / 403.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of Templates: time 0.03624/0.3181, allocations: 20.85 MB / 424 MB, free: 4.137 MB / 378.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8611129000782967]