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.00191/0.00191, allocations: 112.3 kB / 18.5 MB, free: 4.582 MB / 14.72 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.0024/0.0024, allocations: 197 kB / 21.45 MB, free: 1.633 MB / 14.72 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.491/1.491, allocations: 230.2 MB / 254.5 MB, free: 15.29 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001917/0.001917, allocations: 63.89 kB / 373.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.1017, allocations: 53.32 MB / 427.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009709/0.1114, allocations: 7.633 MB / 434.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007007/0.1184, allocations: 3.376 MB / 438.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009905/0.1194, allocations: 35.94 kB / 438.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.1217, allocations: 1.055 MB / 439.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.125, allocations: 1.339 MB / 440.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.1263, allocations: 0.5456 MB / 441.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.1299, allocations: 2.613 MB / 443.8 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.1315, allocations: 1.202 MB / 445 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.1327, allocations: 0.8289 MB / 445.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.1343, allocations: 1.265 MB / 447.1 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.1346, allocations: 148 kB / 447.2 MB, free: 384 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1944/0.3289, allocations: 0.9109 MB / 448.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.33, allocations: 1.077 MB / 449.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.3311, allocations: 1.235 MB / 450.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.3361, allocations: 4.089 MB / 454.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3361, allocations: 0.625 kB / 454.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3361, allocations: 1.031 kB / 454.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001067/0.3362, allocations: 0.5 kB / 454.5 MB, free: 9.902 MB / 366.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.007356/0.3435, allocations: 3.063 MB / 457.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3436, allocations: 13.23 kB / 457.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006177/0.3498, allocations: 1.587 MB / 459.2 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.353, allocations: 1.39 MB / 460.6 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.3531, allocations: 121.5 kB / 460.7 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004004/0.3535, allocations: 161.9 kB / 460.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.3654, allocations: 6.531 MB / 467.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.126e-05/0.3655, allocations: 36.91 kB / 467.4 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.3657, allocations: 80.41 kB / 467.5 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002588/0.3683, allocations: 1.472 MB / 469 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.3791, allocations: 5.831 MB / 474.8 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03276/0.4118, allocations: 25.69 MB / 0.4888 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005969/0.4178, allocations: 2.474 MB / 0.4912 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.4195, allocations: 1.135 MB / 0.4923 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008534/0.4281, allocations: 4.821 MB / 0.497 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.4281, allocations: 42.56 kB / 0.497 GB, free: 6.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 4.328e-06/0.4281, allocations: 0 / 0.497 GB, free: 6.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=105): time 0.02719/0.4553, allocations: 9.916 MB / 0.5067 GB, free: 12.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.4554, allocations: 141 kB / 0.5068 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004545/0.46, allocations: 2.714 MB / 0.5095 GB, free: 9.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002689/0.4602, allocations: 37.7 kB / 0.5095 GB, free: 9.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.4619, allocations: 2.128 MB / 0.5116 GB, free: 7.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006255/0.4626, allocations: 446.6 kB / 0.512 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.4638, allocations: 0.841 MB / 0.5129 GB, free: 6.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.464, allocations: 301.1 kB / 0.5131 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.4663, allocations: 1.449 MB / 0.5146 GB, free: 4.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00442/0.4707, allocations: 4.074 MB / 0.5185 GB, free: 15.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007383/0.4781, allocations: 5.958 MB / 0.5244 GB, free: 8.121 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.355e-05/0.4781, allocations: 31.94 kB / 0.5244 GB, free: 8.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.0129/0.491, allocations: 6.035 MB / 0.5303 GB, free: 2.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.832e-05/0.4911, allocations: 47.94 kB / 0.5303 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/0.4912, allocations: 96 kB / 0.5304 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002528/0.4937, allocations: 0.8164 MB / 0.5312 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/0.497, allocations: 0.9474 MB / 0.5321 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006858/0.5039, allocations: 4.658 MB / 0.5367 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003858/0.5078, allocations: 239.7 kB / 0.5369 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006278/0.5084, allocations: 262.5 kB / 0.5372 GB, free: 10.92 MB / 446.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.002698/0.5111, allocations: 1.37 MB / 0.5385 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/0.5116, allocations: 238.4 kB / 0.5387 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004727/0.5163, allocations: 2.124 MB / 0.5408 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/0.5164, allocations: 14.73 kB / 0.5408 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.5164, allocations: 8 kB / 0.5408 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.5164, allocations: 3.984 kB / 0.5408 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.5271, allocations: 5.058 MB / 0.5458 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.5271, allocations: 0 / 0.5458 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008665/0.5279, allocations: 163.7 kB / 0.5459 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/0.5302, allocations: 0.6796 MB / 0.5466 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.5303, allocations: 20 kB / 0.5466 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00594/0.5363, allocations: 4.153 MB / 0.5507 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.996e-06/0.5363, allocations: 11.92 kB / 0.5507 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007142/0.5434, allocations: 4.051 MB / 0.5546 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/0.5442, allocations: 299.4 kB / 0.5549 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.5445, allocations: 15.98 kB / 0.5549 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009979/0.5455, allocations: 71.89 kB / 0.555 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.5457, allocations: 56.25 kB / 0.5551 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.5458, allocations: 39.8 kB / 0.5551 GB, free: 8.309 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002932/0.5487, allocations: 1.689 MB / 0.5567 GB, free: 6.609 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5487, allocations: 0 / 0.5567 GB, free: 6.609 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003559/0.5523, allocations: 0.6638 MB / 0.5574 GB, free: 5.945 MB / 462.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.0005052/0.5528, allocations: 203.7 kB / 0.5576 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005682/0.5584, allocations: 3.355 MB / 0.5609 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5585, allocations: 0 / 0.5609 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.56, allocations: 0.9712 MB / 0.5618 GB, free: 1.406 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.5617, allocations: 260.6 kB / 0.5621 GB, free: 1.164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.5725, allocations: 5.678 MB / 0.5676 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/0.5752, allocations: 2.239 MB / 0.5698 GB, free: 9.191 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003215/0.5784, allocations: 1.316 MB / 0.5711 GB, free: 7.871 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.5789, allocations: 155.4 kB / 0.5712 GB, free: 7.719 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5789, allocations: 0 / 0.5712 GB, free: 7.719 MB / 478.1 MB Notification: Performance of Templates: time 0.04882/0.6277, allocations: 22.08 MB / 0.5928 GB, free: 1.781 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.680700042285025]