Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001171/0.001171, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001295/0.001295, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2141, allocations: 53.32 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009561/0.2237, allocations: 7.651 MB / 439.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006188/0.2299, allocations: 3.391 MB / 443.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006575/0.2305, allocations: 35.94 kB / 443.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.2326, allocations: 1.066 MB / 444.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.2352, allocations: 1.331 MB / 445.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2362, allocations: 0.5379 MB / 446.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.2392, allocations: 2.621 MB / 448.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.2405, allocations: 1.086 MB / 449.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008942/0.2414, allocations: 0.829 MB / 450.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.2429, allocations: 1.254 MB / 451.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.2431, allocations: 148 kB / 452 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.2446, allocations: 0.9243 MB / 452.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009764/0.2455, allocations: 1.079 MB / 454 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.2466, allocations: 1.234 MB / 455.3 MB, free: 64 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004127/0.2507, allocations: 4.1 MB / 459.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2507, allocations: 0 / 459.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2507, allocations: 0 / 459.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.893e-05/0.2508, allocations: 0 / 459.4 MB, free: 11.95 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.004992/0.2558, allocations: 3.065 MB / 462.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2558, allocations: 8.031 kB / 462.4 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005532/0.2613, allocations: 1.59 MB / 464 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.2642, allocations: 1.383 MB / 465.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.2643, allocations: 131 kB / 465.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.2646, allocations: 155.9 kB / 465.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009276/0.2739, allocations: 6.542 MB / 472.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.551e-05/0.2739, allocations: 31.7 kB / 472.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.2742, allocations: 83.89 kB / 472.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002658/0.2769, allocations: 1.464 MB / 473.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009695/0.2865, allocations: 5.834 MB / 479.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02872/0.3153, allocations: 25.69 MB / 0.4935 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005827/0.3211, allocations: 2.471 MB / 0.4959 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.3227, allocations: 1.133 MB / 0.497 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008216/0.3309, allocations: 4.828 MB / 0.5017 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.3309, allocations: 46.5 kB / 0.5018 GB, free: 3.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.995e-06/0.3309, allocations: 0 / 0.5018 GB, free: 3.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02456/0.3555, allocations: 9.917 MB / 0.5114 GB, free: 9.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.3556, allocations: 140.9 kB / 0.5116 GB, free: 9.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/0.3591, allocations: 2.703 MB / 0.5142 GB, free: 6.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-05/0.3592, allocations: 41.64 kB / 0.5142 GB, free: 6.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.3608, allocations: 2.132 MB / 0.5163 GB, free: 4.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/0.3612, allocations: 448.6 kB / 0.5168 GB, free: 4.293 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.3623, allocations: 0.8378 MB / 0.5176 GB, free: 3.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3624, allocations: 309.1 kB / 0.5179 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.3646, allocations: 1.445 MB / 0.5193 GB, free: 1.684 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004381/0.369, allocations: 4.069 MB / 0.5233 GB, free: 12.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007029/0.376, allocations: 5.962 MB / 0.5291 GB, free: 5.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.442e-05/0.3761, allocations: 28 kB / 0.5291 GB, free: 4.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01045/0.3865, allocations: 6.029 MB / 0.535 GB, free: 14.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.3866, allocations: 47.94 kB / 0.535 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.16e-05/0.3867, allocations: 92.47 kB / 0.5351 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00242/0.3891, allocations: 0.8205 MB / 0.5359 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/0.392, allocations: 0.9513 MB / 0.5369 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006486/0.3985, allocations: 4.66 MB / 0.5414 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.4008, allocations: 243.7 kB / 0.5416 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003362/0.4012, allocations: 264 kB / 0.5419 GB, free: 7.75 MB / 462.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.00184/0.403, allocations: 1.367 MB / 0.5432 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/0.4034, allocations: 238.4 kB / 0.5435 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/0.4079, allocations: 2.118 MB / 0.5455 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.4079, allocations: 11.97 kB / 0.5455 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4079, allocations: 0 / 0.5455 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.4084, allocations: 303.3 kB / 0.5458 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.4086, allocations: 15.98 kB / 0.5458 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009482/0.4096, allocations: 71.89 kB / 0.5459 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.4097, allocations: 68.22 kB / 0.546 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005242/0.415, allocations: 2.659 MB / 0.5486 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1805/0.5954, allocations: 3.362 MB / 0.5519 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009837/0.5964, allocations: 0.7531 MB / 0.5526 GB, free: 114.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002424/0.5988, allocations: 1.685 MB / 0.5542 GB, free: 114.1 MB / 462.1 MB Notification: Performance of Backend: time 3.51e-07/0.5988, allocations: 1.625 kB / 0.5542 GB, free: 114.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005406/0.6043, allocations: 2.846 MB / 0.557 GB, free: 113.2 MB / 462.1 MB Notification: Performance of SimCode: time 0.00644/0.6107, allocations: 6.005 MB / 0.5629 GB, free: 110.4 MB / 462.1 MB Notification: Performance of Templates: time 0.04117/0.6519, allocations: 31.43 MB / 0.5936 GB, free: 83.14 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.535756113007665]