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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001745/0.001745, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 209.1 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.457/1.457, allocations: 230.4 MB / 250 MB, free: 9.039 MB / 206.1 MB 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.002/0.002, allocations: 67.84 kB / 367.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2505, allocations: 53.31 MB / 420.7 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009467/0.2599, allocations: 7.626 MB / 428.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007095/0.267, allocations: 3.368 MB / 431.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.2681, allocations: 39.88 kB / 431.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.2703, allocations: 1.047 MB / 432.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.2736, allocations: 1.331 MB / 434.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.2748, allocations: 0.5417 MB / 434.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.278, allocations: 2.636 MB / 437.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.2794, allocations: 1.19 MB / 438.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009966/0.2804, allocations: 0.8367 MB / 439.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.2819, allocations: 1.254 MB / 440.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002546/0.2821, allocations: 152 kB / 440.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.2837, allocations: 0.9242 MB / 441.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.285, allocations: 1.071 MB / 442.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.2863, allocations: 1.234 MB / 443.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005108/0.2914, allocations: 4.108 MB / 448 MB, free: 12.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2914, allocations: 0 / 448 MB, free: 12.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2914, allocations: 0 / 448 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.744e-05/0.2915, allocations: 0 / 448 MB, free: 12.88 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.005145/0.2966, allocations: 3.065 MB / 451.1 MB, free: 9.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2967, allocations: 8.031 kB / 451.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/0.3017, allocations: 1.586 MB / 452.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.3043, allocations: 1.387 MB / 454.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.3045, allocations: 123 kB / 454.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000346/0.3048, allocations: 159.9 kB / 454.3 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.315, allocations: 6.538 MB / 460.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.41e-05/0.3151, allocations: 31.77 kB / 460.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.3153, allocations: 87.83 kB / 461 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002504/0.3178, allocations: 1.468 MB / 462.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.3289, allocations: 5.834 MB / 468.3 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/0.3618, allocations: 25.69 MB / 494 MB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00577/0.3675, allocations: 2.467 MB / 496.5 MB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.3692, allocations: 1.136 MB / 497.6 MB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008499/0.3777, allocations: 4.832 MB / 0.4906 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.3778, allocations: 38.56 kB / 0.4907 GB, free: 4.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.827e-06/0.3778, allocations: 0 / 0.4907 GB, free: 4.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02533/0.4031, allocations: 9.916 MB / 0.5004 GB, free: 10.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.4032, allocations: 141 kB / 0.5005 GB, free: 10.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004573/0.4078, allocations: 2.707 MB / 0.5031 GB, free: 7.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.408, allocations: 41.7 kB / 0.5032 GB, free: 7.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/0.41, allocations: 2.12 MB / 0.5053 GB, free: 5.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006863/0.4107, allocations: 456.9 kB / 0.5057 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/0.4122, allocations: 0.8339 MB / 0.5065 GB, free: 4.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4123, allocations: 313.1 kB / 0.5068 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.4148, allocations: 1.452 MB / 0.5082 GB, free: 2.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/0.4195, allocations: 4.069 MB / 0.5122 GB, free: 13.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007826/0.4274, allocations: 5.956 MB / 0.518 GB, free: 5.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.4275, allocations: 28 kB / 0.518 GB, free: 5.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01399/0.4415, allocations: 6.038 MB / 0.5239 GB, free: 15.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.4416, allocations: 46.81 kB / 0.524 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002126/0.4418, allocations: 92 kB / 0.5241 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/0.4444, allocations: 0.8167 MB / 0.5249 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/0.4478, allocations: 0.9474 MB / 0.5258 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006918/0.4547, allocations: 4.667 MB / 0.5303 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/0.4579, allocations: 243.7 kB / 0.5306 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007607/0.4586, allocations: 264 kB / 0.5308 GB, free: 8.68 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.002705/0.4613, allocations: 1.368 MB / 0.5322 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/0.4619, allocations: 242.3 kB / 0.5324 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004743/0.4666, allocations: 2.126 MB / 0.5345 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/0.4666, allocations: 12 kB / 0.5345 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.4667, allocations: 4 kB / 0.5345 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4667, allocations: 3.984 kB / 0.5345 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2458/0.7125, allocations: 5.064 MB / 0.5394 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.7125, allocations: 1.625 kB / 0.5394 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009543/0.7135, allocations: 156.4 kB / 0.5396 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/0.716, allocations: 0.6775 MB / 0.5402 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.7161, allocations: 20.38 kB / 0.5403 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/0.7207, allocations: 4.15 MB / 0.5443 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7207, allocations: 1.438 kB / 0.5443 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/0.7262, allocations: 4.061 MB / 0.5483 GB, free: 112.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/0.7267, allocations: 289.4 kB / 0.5486 GB, free: 112 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.727, allocations: 16.75 kB / 0.5486 GB, free: 112 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008642/0.7278, allocations: 74.7 kB / 0.5487 GB, free: 112 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.728, allocations: 58.34 kB / 0.5487 GB, free: 112 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-05/0.7281, allocations: 31.2 kB / 0.5487 GB, free: 112 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002036/0.7301, allocations: 1.688 MB / 0.5504 GB, free: 111.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7301, allocations: 1.406 kB / 0.5504 GB, free: 111.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002761/0.7329, allocations: 0.6658 MB / 0.551 GB, free: 111.3 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.0003872/0.7333, allocations: 203.7 kB / 0.5512 GB, free: 111.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004116/0.7374, allocations: 3.359 MB / 0.5545 GB, free: 110.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7374, allocations: 0 / 0.5545 GB, free: 110.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.7385, allocations: 0.9578 MB / 0.5554 GB, free: 109.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.74, allocations: 258.3 kB / 0.5557 GB, free: 109.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.7474, allocations: 5.682 MB / 0.5612 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.7489, allocations: 2.234 MB / 0.5634 GB, free: 103.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002346/0.7513, allocations: 1.323 MB / 0.5647 GB, free: 101.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.7516, allocations: 159.4 kB / 0.5649 GB, free: 101.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7516, allocations: 0 / 0.5649 GB, free: 101.8 MB / 462.1 MB Notification: Performance of Templates: time 0.04204/0.7937, allocations: 22.09 MB / 0.5864 GB, free: 79.84 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches