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.00173/0.00173, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002217/0.002217, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.573/1.573, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.002152/0.002152, allocations: 71.81 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3055, allocations: 53.32 MB / 432.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01027/0.3158, allocations: 7.663 MB / 439.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007758/0.3236, allocations: 3.387 MB / 443.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.325, allocations: 35.94 kB / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.3274, allocations: 1.055 MB / 444.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003746/0.3311, allocations: 1.335 MB / 445.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3325, allocations: 0.5456 MB / 446.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.3365, allocations: 2.621 MB / 448.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.3382, allocations: 1.075 MB / 449.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.3396, allocations: 0.8289 MB / 450.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.3416, allocations: 1.261 MB / 451.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.3419, allocations: 152 kB / 452 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.3439, allocations: 0.9204 MB / 452.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.3451, allocations: 1.071 MB / 454 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.3465, allocations: 1.234 MB / 455.2 MB, free: 128 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006581/0.3531, allocations: 4.108 MB / 459.3 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3531, allocations: 0 / 459.3 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3531, allocations: 0 / 459.3 MB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001237/0.3533, allocations: 0 / 459.3 MB, free: 12 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.006985/0.3602, allocations: 3.061 MB / 462.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3603, allocations: 12.03 kB / 462.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005633/0.3659, allocations: 1.578 MB / 464 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.3694, allocations: 1.387 MB / 465.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.3695, allocations: 127 kB / 465.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000397/0.3699, allocations: 163.8 kB / 465.7 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.3812, allocations: 6.534 MB / 472.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.406e-05/0.3812, allocations: 39.64 kB / 472.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/0.3815, allocations: 83.88 kB / 472.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002756/0.3842, allocations: 1.464 MB / 473.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.3956, allocations: 5.834 MB / 479.6 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03705/0.4327, allocations: 25.7 MB / 0.4935 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006369/0.4391, allocations: 2.47 MB / 0.4959 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.4408, allocations: 1.137 MB / 0.497 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009024/0.4498, allocations: 4.816 MB / 0.5017 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.4499, allocations: 50.42 kB / 0.5017 GB, free: 3.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.336e-06/0.4499, allocations: 0 / 0.5017 GB, free: 3.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02522/0.4751, allocations: 9.917 MB / 0.5114 GB, free: 9.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.4752, allocations: 144.9 kB / 0.5116 GB, free: 9.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/0.4792, allocations: 2.703 MB / 0.5142 GB, free: 6.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.4793, allocations: 41.7 kB / 0.5142 GB, free: 6.941 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.4811, allocations: 2.128 MB / 0.5163 GB, free: 4.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/0.4816, allocations: 444.6 kB / 0.5167 GB, free: 4.355 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.4827, allocations: 0.8455 MB / 0.5176 GB, free: 3.496 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4829, allocations: 305.1 kB / 0.5179 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.4851, allocations: 1.445 MB / 0.5193 GB, free: 1.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004634/0.4898, allocations: 4.069 MB / 0.5232 GB, free: 12.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008015/0.4978, allocations: 5.965 MB / 0.5291 GB, free: 5.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-05/0.4979, allocations: 24 kB / 0.5291 GB, free: 5.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01268/0.5106, allocations: 6.037 MB / 0.535 GB, free: 15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/0.5106, allocations: 44 kB / 0.535 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.5107, allocations: 96 kB / 0.5351 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.5132, allocations: 0.8205 MB / 0.5359 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/0.5163, allocations: 0.9435 MB / 0.5368 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006648/0.5229, allocations: 4.671 MB / 0.5414 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/0.5263, allocations: 243.7 kB / 0.5416 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004587/0.5267, allocations: 260 kB / 0.5419 GB, free: 7.797 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.002184/0.5289, allocations: 1.371 MB / 0.5432 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/0.5293, allocations: 238.3 kB / 0.5435 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/0.5339, allocations: 2.114 MB / 0.5455 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.5339, allocations: 12 kB / 0.5455 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.5339, allocations: 4 kB / 0.5455 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.5339, allocations: 7.984 kB / 0.5455 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2807/0.8146, allocations: 5.065 MB / 0.5505 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.8146, allocations: 8.656 kB / 0.5505 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.8155, allocations: 156.4 kB / 0.5506 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/0.8178, allocations: 0.6812 MB / 0.5513 GB, free: 114.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.8179, allocations: 18.78 kB / 0.5513 GB, free: 114.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00473/0.8226, allocations: 4.146 MB / 0.5554 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.8226, allocations: 1.906 kB / 0.5554 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005704/0.8283, allocations: 4.062 MB / 0.5593 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006484/0.829, allocations: 292.8 kB / 0.5596 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.8292, allocations: 19.91 kB / 0.5596 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009115/0.8302, allocations: 70.09 kB / 0.5597 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.8303, allocations: 60.44 kB / 0.5598 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.168e-05/0.8304, allocations: 30.22 kB / 0.5598 GB, free: 111.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002095/0.8325, allocations: 1.69 MB / 0.5614 GB, free: 110.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8325, allocations: 288 / 0.5614 GB, free: 110.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002945/0.8354, allocations: 0.6626 MB / 0.5621 GB, free: 110.5 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.0004616/0.8359, allocations: 212.6 kB / 0.5623 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004436/0.8403, allocations: 3.353 MB / 0.5656 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8404, allocations: 0 / 0.5656 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.8414, allocations: 0.9588 MB / 0.5665 GB, free: 108.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.8429, allocations: 261.5 kB / 0.5668 GB, free: 108.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007563/0.8505, allocations: 5.732 MB / 0.5724 GB, free: 103.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/0.8521, allocations: 2.238 MB / 0.5745 GB, free: 101.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00234/0.8544, allocations: 1.319 MB / 0.5758 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.8548, allocations: 159.4 kB / 0.576 GB, free: 100.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.8548, allocations: 4 kB / 0.576 GB, free: 100.5 MB / 462.1 MB Notification: Performance of Templates: time 0.0369/0.8917, allocations: 23.07 MB / 0.5985 GB, free: 77.57 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 -s cvode -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: 6.135434469673783]