Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001709/0.001709, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002058/0.002058, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 59 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.292, allocations: 49.15 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008071/0.3001, allocations: 6.843 MB / 403.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006233/0.3063, allocations: 3.095 MB / 406.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.3076, allocations: 43.44 kB / 406.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.3098, allocations: 1.024 MB / 407.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.3133, allocations: 1.379 MB / 409.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3145, allocations: 0.5388 MB / 409.8 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.3176, allocations: 2.6 MB / 412.4 MB, free: 328 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.3192, allocations: 1.221 MB / 413.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.3206, allocations: 0.8613 MB / 414.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.3224, allocations: 1.22 MB / 415.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003079/0.3227, allocations: 148.2 kB / 415.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.3244, allocations: 0.7974 MB / 416.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.3255, allocations: 1.093 MB / 417.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.3266, allocations: 0.9032 MB / 418.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005497/0.3321, allocations: 4.148 MB / 422.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3321, allocations: 0 / 422.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3321, allocations: 0 / 422.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.441e-05/0.3322, allocations: 0 / 422.8 MB, free: 9.23 MB / 334.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.00617/0.3384, allocations: 3.009 MB / 425.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.3384, allocations: 15.98 kB / 425.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005536/0.344, allocations: 1.586 MB / 427.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/0.3471, allocations: 1.423 MB / 428.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.3472, allocations: 123 kB / 428.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003489/0.3475, allocations: 155.9 kB / 429.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.3595, allocations: 6.53 MB / 435.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.3596, allocations: 31.7 kB / 435.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.3598, allocations: 87.89 kB / 435.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002662/0.3625, allocations: 1.468 MB / 437.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.3739, allocations: 5.818 MB / 443 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0331/0.407, allocations: 24.18 MB / 467.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006067/0.4131, allocations: 2.012 MB / 469.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.4149, allocations: 1.129 MB / 470.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008567/0.4235, allocations: 4.252 MB / 474.6 MB, free: 4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.4235, allocations: 46.5 kB / 474.6 MB, free: 3.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 3.567e-06/0.4235, allocations: 0 / 474.6 MB, free: 3.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=105): time 0.02599/0.4495, allocations: 9.746 MB / 484.4 MB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.4496, allocations: 144.9 kB / 484.5 MB, free: 9.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00443/0.454, allocations: 2.562 MB / 487.1 MB, free: 7.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.4542, allocations: 41.7 kB / 487.1 MB, free: 7.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00186/0.4561, allocations: 2.155 MB / 489.3 MB, free: 5.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006092/0.4567, allocations: 444.7 kB / 489.7 MB, free: 4.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001496/0.4582, allocations: 0.8377 MB / 490.5 MB, free: 3.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.4584, allocations: 361.9 kB / 490.9 MB, free: 3.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/0.4609, allocations: 1.449 MB / 492.3 MB, free: 2.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004714/0.4656, allocations: 4.065 MB / 496.4 MB, free: 12.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007549/0.4731, allocations: 5.965 MB / 0.4906 GB, free: 5.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.111e-05/0.4732, allocations: 28 kB / 0.4906 GB, free: 5.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01247/0.4857, allocations: 6.006 MB / 0.4965 GB, free: 15.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.4858, allocations: 48.94 kB / 0.4965 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/0.486, allocations: 96 kB / 0.4966 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.4885, allocations: 0.8123 MB / 0.4974 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/0.4917, allocations: 0.9513 MB / 0.4983 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006663/0.4983, allocations: 4.495 MB / 0.5027 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/0.5013, allocations: 247.6 kB / 0.503 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006522/0.5019, allocations: 260 kB / 0.5032 GB, free: 8.301 MB / 430.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.002661/0.5046, allocations: 1.372 MB / 0.5046 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005532/0.5051, allocations: 210.6 kB / 0.5048 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/0.51, allocations: 2.1 MB / 0.5068 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.686e-05/0.51, allocations: 19.88 kB / 0.5068 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.51, allocations: 8 kB / 0.5068 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.5101, allocations: 3.984 kB / 0.5068 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.5211, allocations: 4.324 MB / 0.5111 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.5211, allocations: 0 / 0.5111 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/0.5219, allocations: 159.7 kB / 0.5112 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/0.5242, allocations: 0.6757 MB / 0.5119 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.5243, allocations: 23.98 kB / 0.5119 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0063/0.5306, allocations: 3.986 MB / 0.5158 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/0.5306, allocations: 11.88 kB / 0.5158 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.5407, allocations: 4.032 MB / 0.5197 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/0.5424, allocations: 358.4 kB / 0.5201 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008455/0.5432, allocations: 23.91 kB / 0.5201 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.545, allocations: 67.89 kB / 0.5202 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/0.5453, allocations: 64.48 kB / 0.5202 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/0.5455, allocations: 28 kB / 0.5203 GB, free: 6.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004203/0.5497, allocations: 1.471 MB / 0.5217 GB, free: 5.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5497, allocations: 3.938 kB / 0.5217 GB, free: 5.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005682/0.5554, allocations: 0.6717 MB / 0.5224 GB, free: 4.461 MB / 446.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.0006998/0.5561, allocations: 194.8 kB / 0.5225 GB, free: 4.262 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008631/0.5647, allocations: 3.371 MB / 0.5258 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.5647, allocations: 0 / 0.5258 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.567, allocations: 0.9613 MB / 0.5268 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/0.5697, allocations: 232.3 kB / 0.527 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.5862, allocations: 5.724 MB / 0.5326 GB, free: 9.922 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004303/0.5905, allocations: 1.67 MB / 0.5342 GB, free: 8.219 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004882/0.5954, allocations: 1.288 MB / 0.5355 GB, free: 6.926 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000852/0.5962, allocations: 151.3 kB / 0.5356 GB, free: 6.777 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5962, allocations: 0 / 0.5356 GB, free: 6.777 MB / 462.1 MB Notification: Performance of Templates: time 0.04965/0.6459, allocations: 22.14 MB / 0.5572 GB, free: 0.5195 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.204422594979405]