Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.002759, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002546, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8826/0.8826, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1606/1.043, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.187e-05, allocations: 2.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009149/0.009171, allocations: 7.372 MB / 247.1 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007387/0.01656, allocations: 3.361 MB / 250.5 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000962/0.01752, allocations: 44.72 kB / 250.5 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.01978, allocations: 1.064 MB / 251.6 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.02292, allocations: 1.395 MB / 253 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.02411, allocations: 0.5493 MB / 253.5 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003177/0.02729, allocations: 2.796 MB / 256.3 MB, free: 5.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.02912, allocations: 1.315 MB / 257.7 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.03121, allocations: 1.381 MB / 259 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.03311, allocations: 1.247 MB / 260.3 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003623/0.03347, allocations: 148 kB / 260.4 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.0352, allocations: 0.8578 MB / 261.3 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009912/0.03619, allocations: 1.036 MB / 262.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008124/0.037, allocations: 0.5644 MB / 262.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003353/0.04035, allocations: 2.657 MB / 265.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.04036, allocations: 3.938 kB / 265.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04036, allocations: 0 / 265.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.61e-05/0.04046, allocations: 0 / 265.5 MB, free: 12.48 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.003847/0.04431, allocations: 3.332 MB / 268.9 MB, free: 9.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.04434, allocations: 16.02 kB / 268.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.04615, allocations: 0.7655 MB / 269.7 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.04731, allocations: 1.051 MB / 270.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.04737, allocations: 123.4 kB / 270.8 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.04757, allocations: 163.8 kB / 271 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.0505, allocations: 3.124 MB / 274.1 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/0.05055, allocations: 35.73 kB / 274.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.05069, allocations: 79.89 kB / 274.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000963/0.05166, allocations: 1.164 MB / 275.4 MB, free: 2.055 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.05407, allocations: 1.629 MB / 277 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.06768, allocations: 20.34 MB / 297.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.0694, allocations: 0.9303 MB / 298.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.06963, allocations: 206.1 kB / 298.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002725/0.07236, allocations: 2.154 MB / 300.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.07239, allocations: 50.48 kB / 300.7 MB, free: 7.855 MB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 2.515e-06/0.07239, allocations: 0 / 300.7 MB, free: 7.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=80): time 0.004536/0.07693, allocations: 2.018 MB / 302.7 MB, free: 5.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.07697, allocations: 132.5 kB / 302.8 MB, free: 5.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.07869, allocations: 2.182 MB / 305 MB, free: 3.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.07873, allocations: 41.7 kB / 305.1 MB, free: 3.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008612/0.07959, allocations: 2.109 MB / 307.2 MB, free: 1.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.0798, allocations: 349.4 kB / 307.5 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005851/0.08039, allocations: 0.7787 MB / 308.3 MB, free: 112 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.08049, allocations: 365.7 kB / 308.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.08113, allocations: 493.8 kB / 309.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.08281, allocations: 3.102 MB / 312.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.08564, allocations: 4.283 MB / 316.5 MB, free: 5.121 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.957e-05/0.08569, allocations: 28 kB / 316.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.003029/0.08872, allocations: 2.808 MB / 319.3 MB, free: 2.273 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.08875, allocations: 52.03 kB / 319.4 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.502e-05/0.08884, allocations: 104 kB / 319.5 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/0.08905, allocations: 171.5 kB / 319.7 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.09054, allocations: 1.014 MB / 320.7 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009284/0.09147, allocations: 1.447 MB / 322.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.0928, allocations: 183.8 kB / 322.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.09298, allocations: 236 kB / 322.5 MB, free: 14.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 445 * Number of states: 0 () * Number of discrete variables: 21 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (507): * Single equations (assignments): 503 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005963/0.09358, allocations: 460.5 kB / 323 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.09376, allocations: 127.8 kB / 323.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.09421, allocations: 377.5 kB / 323.5 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.09422, allocations: 11.98 kB / 323.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.09423, allocations: 0 / 323.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.09423, allocations: 4 kB / 323.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.09651, allocations: 1.699 MB / 325.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.09652, allocations: 12.03 kB / 325.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.0968, allocations: 103.8 kB / 325.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.09698, allocations: 194.4 kB / 325.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.0971, allocations: 39.64 kB / 325.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.09713, allocations: 15.98 kB / 325.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008348/0.09797, allocations: 1.384 MB / 326.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.09797, allocations: 7.938 kB / 326.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.09877, allocations: 1.043 MB / 328 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.09889, allocations: 15.94 kB / 328 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.09923, allocations: 20.05 kB / 328 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.0993, allocations: 35.92 kB / 328.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.09933, allocations: 24.08 kB / 328.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005778/0.09991, allocations: 0.7581 MB / 328.8 MB, free: 8.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09991, allocations: 0 / 328.8 MB, free: 8.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001749/0.1017, allocations: 0.6521 MB / 329.5 MB, free: 7.809 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (54): * Single equations (assignments): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003338/0.102, allocations: 207.9 kB / 329.7 MB, free: 7.594 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.1037, allocations: 1.719 MB / 331.4 MB, free: 5.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-05/0.1038, allocations: 64.12 kB / 331.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.1041, allocations: 324.5 kB / 331.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.1056, allocations: 1.67 MB / 333.5 MB, free: 3.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09766/0.2032, allocations: 4.347 MB / 337.8 MB, free: 73.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008522/0.2041, allocations: 0.7295 MB / 338.5 MB, free: 73.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000856/0.2049, allocations: 314.5 kB / 338.8 MB, free: 73.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.2054, allocations: 334.4 kB / 339.2 MB, free: 73.26 MB / 330.7 MB Notification: Performance of SimCode: time 2.084e-06/0.2054, allocations: 0 / 339.2 MB, free: 73.26 MB / 330.7 MB Notification: Performance of Templates: time 0.0239/0.2293, allocations: 15.57 MB / 354.7 MB, free: 69.05 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.829200725071132]