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.001358/0.001358, allocations: 83.67 kB / 21.7 MB, free: 2.852 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.0009421/0.0009421, allocations: 160.2 kB / 24.99 MB, free: 9.289 MB / 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 0.9429/0.9429, allocations: 177 MB / 205.2 MB, free: 5.609 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.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.561e-05, allocations: 5.125 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01649/0.01651, allocations: 7.417 MB / 280.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007882/0.02439, allocations: 3.286 MB / 283.7 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000481/0.02487, allocations: 43.81 kB / 283.8 MB, free: 6.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00457/0.02944, allocations: 1.09 MB / 284.8 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.03119, allocations: 1.4 MB / 286.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.03192, allocations: 0.5883 MB / 286.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.03393, allocations: 2.967 MB / 289.8 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1033/0.1373, allocations: 1.523 MB / 291.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.1394, allocations: 1.282 MB / 292.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.1415, allocations: 1.339 MB / 293.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000425/0.1419, allocations: 150.1 kB / 294.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.1433, allocations: 0.8264 MB / 294.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009646/0.1443, allocations: 1.133 MB / 296.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.1454, allocations: 0.6751 MB / 296.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.1499, allocations: 2.838 MB / 299.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1499, allocations: 0.625 kB / 299.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1499, allocations: 0 / 299.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001296/0.1501, allocations: 9.031 kB / 299.6 MB, free: 14.42 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.005086/0.1551, allocations: 3.289 MB / 302.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1552, allocations: 14.77 kB / 302.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.1587, allocations: 1.901 MB / 304.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.1602, allocations: 1.223 MB / 306 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.1603, allocations: 123.2 kB / 306.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.1605, allocations: 155.1 kB / 306.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/0.1644, allocations: 3.892 MB / 310.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/0.1644, allocations: 34.17 kB / 310.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.1646, allocations: 82.44 kB / 310.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001347/0.1659, allocations: 1.472 MB / 311.8 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/0.1695, allocations: 2.14 MB / 313.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.1873, allocations: 29.01 MB / 342.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.1901, allocations: 1.2 MB / 344.1 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.1907, allocations: 404 kB / 344.5 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003677/0.1944, allocations: 3.334 MB / 347.8 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1944, allocations: 48.09 kB / 347.9 MB, free: 4.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=97): time 3.266e-06/0.1944, allocations: 3.938 kB / 347.9 MB, free: 4.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=105): time 0.01293/0.2074, allocations: 6.912 MB / 354.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.2074, allocations: 140.2 kB / 354.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.2098, allocations: 2.395 MB / 357.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.2099, allocations: 41.7 kB / 357.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.2109, allocations: 2.269 MB / 359.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.2112, allocations: 457.3 kB / 360.1 MB, free: 7.984 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007758/0.212, allocations: 0.9038 MB / 361 MB, free: 7.066 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2121, allocations: 0.5316 MB / 361.5 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.2129, allocations: 459.9 kB / 362 MB, free: 6.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002586/0.2154, allocations: 4.337 MB / 366.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004022/0.2195, allocations: 5.297 MB / 371.6 MB, free: 8.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-05/0.2195, allocations: 24 kB / 371.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.006014/0.2255, allocations: 4.06 MB / 375.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.2256, allocations: 44 kB / 375.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-05/0.2256, allocations: 94.97 kB / 375.8 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.2271, allocations: 0.5588 MB / 376.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/0.2294, allocations: 0.9513 MB / 377.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.2328, allocations: 2.986 MB / 380.3 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.2352, allocations: 279.7 kB / 380.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005397/0.2357, allocations: 262.2 kB / 380.8 MB, free: 15.56 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.001049/0.2368, allocations: 0.4962 MB / 381.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.2372, allocations: 238.6 kB / 381.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.2397, allocations: 1.16 MB / 382.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.2397, allocations: 22.95 kB / 382.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.2397, allocations: 0 / 382.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.2397, allocations: 7.984 kB / 382.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006211/0.2459, allocations: 3.427 MB / 386.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.2459, allocations: 4 kB / 386.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/0.2465, allocations: 159.7 kB / 386.4 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.2478, allocations: 431.4 kB / 386.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/0.2479, allocations: 19.98 kB / 386.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/0.2509, allocations: 2.466 MB / 389.3 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2509, allocations: 3.938 kB / 389.3 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.2543, allocations: 2.086 MB / 391.4 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.2547, allocations: 210.4 kB / 391.6 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.2549, allocations: 19.98 kB / 391.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007828/0.2557, allocations: 111.9 kB / 391.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.2558, allocations: 56.33 kB / 391.7 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/0.2559, allocations: 33.48 kB / 391.8 MB, free: 4.418 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001524/0.2574, allocations: 1.018 MB / 392.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2574, allocations: 0 / 392.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003106/0.2606, allocations: 0.7419 MB / 393.5 MB, free: 2.641 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.0004698/0.261, allocations: 220.2 kB / 393.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003748/0.2648, allocations: 2.122 MB / 395.9 MB, free: 292 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.2648, allocations: 0 / 395.9 MB, free: 292 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.2655, allocations: 0.5652 MB / 396.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.2668, allocations: 228.4 kB / 396.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006959/0.2737, allocations: 4.535 MB / 401.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/0.2745, allocations: 0.7544 MB / 401.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002387/0.2769, allocations: 1.111 MB / 403.1 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/0.2773, allocations: 148.5 kB / 403.2 MB, free: 8.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.103e-06/0.2773, allocations: 4 kB / 403.2 MB, free: 8.836 MB / 362.7 MB Notification: Performance of Templates: time 0.03207/0.3094, allocations: 20.86 MB / 424.1 MB, free: 4.316 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.454581080004573]