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.001346/0.001346, allocations: 85.39 kB / 21.44 MB, free: 296 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.001564/0.001564, allocations: 163.9 kB / 24.7 MB, free: 3.551 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.393/1.393, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.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: Performance of FrontEnd - loaded program: time 4.649e-06/4.649e-06, allocations: 3.984 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.644e-05, allocations: 2.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009877/0.009914, allocations: 6.826 MB / 305.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007342/0.01726, allocations: 3.104 MB / 308.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.01841, allocations: 43.81 kB / 308.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.02096, allocations: 1.062 MB / 310 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.02461, allocations: 1.423 MB / 311.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.02592, allocations: 0.5844 MB / 312 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003809/0.02973, allocations: 2.928 MB / 314.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.03183, allocations: 1.486 MB / 316.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.03383, allocations: 1.302 MB / 317.7 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.03592, allocations: 1.344 MB / 319.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.03624, allocations: 148 kB / 319.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.03792, allocations: 0.8266 MB / 320 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.03913, allocations: 1.145 MB / 321.2 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.04014, allocations: 0.6851 MB / 321.9 MB, free: 1.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1609/0.201, allocations: 4.141 MB / 326 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.201, allocations: 0.5938 kB / 326 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.201, allocations: 0 / 326 MB, free: 19.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001254/0.2011, allocations: 2.719 kB / 326 MB, free: 19.99 MB / 302.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.007704/0.2088, allocations: 3.031 MB / 329 MB, free: 18.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.2089, allocations: 14.08 kB / 329.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006397/0.2153, allocations: 1.651 MB / 330.7 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.2183, allocations: 1.379 MB / 332.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.2184, allocations: 121.4 kB / 332.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003551/0.2187, allocations: 162.7 kB / 332.4 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.229, allocations: 6.546 MB / 338.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.801e-05/0.2291, allocations: 30.53 kB / 338.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/0.2293, allocations: 80.06 kB / 339 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002636/0.232, allocations: 1.475 MB / 340.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009149/0.2411, allocations: 5.832 MB / 346.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02952/0.2706, allocations: 24.3 MB / 370.6 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006028/0.2766, allocations: 2.091 MB / 372.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.2785, allocations: 1.133 MB / 373.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008575/0.2871, allocations: 4.366 MB / 378.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.2871, allocations: 42.56 kB / 378.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=97): time 4.188e-06/0.2871, allocations: 0 / 378.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=105): time 0.02844/0.3156, allocations: 10.04 MB / 388.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3157, allocations: 138.8 kB / 388.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004319/0.32, allocations: 2.67 MB / 391.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002452/0.3202, allocations: 41.7 kB / 391.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001618/0.3219, allocations: 2.127 MB / 393.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005168/0.3224, allocations: 445.4 kB / 393.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.3236, allocations: 0.8299 MB / 394.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3238, allocations: 357.9 kB / 394.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/0.3262, allocations: 1.462 MB / 396.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/0.3308, allocations: 4.076 MB / 400.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007772/0.3386, allocations: 5.973 MB / 406.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.475e-05/0.3387, allocations: 28 kB / 406.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01496/0.3536, allocations: 6.021 MB / 412.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/0.3537, allocations: 44 kB / 412.5 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.3538, allocations: 96 kB / 412.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002537/0.3564, allocations: 0.8205 MB / 413.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/0.3599, allocations: 0.9513 MB / 414.4 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007201/0.3671, allocations: 4.514 MB / 418.9 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004341/0.3714, allocations: 305.7 kB / 419.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/0.3726, allocations: 260 kB / 419.4 MB, free: 2.832 MB / 366.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.003749/0.3763, allocations: 1.372 MB / 420.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007467/0.3771, allocations: 214.5 kB / 421 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005333/0.3824, allocations: 2.101 MB / 423.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.034e-05/0.3824, allocations: 19.83 kB / 423.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.3825, allocations: 4 kB / 423.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.3825, allocations: 3.984 kB / 423.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.3946, allocations: 4.385 MB / 427.5 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.3947, allocations: 4.062 kB / 427.5 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009515/0.3956, allocations: 163.7 kB / 427.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002446/0.3981, allocations: 0.6845 MB / 428.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/0.3982, allocations: 19.94 kB / 428.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/0.4046, allocations: 4.026 MB / 432.4 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.4046, allocations: 4 kB / 432.4 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008085/0.4127, allocations: 4.037 MB / 436.5 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.4141, allocations: 386.3 kB / 436.8 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000653/0.4148, allocations: 16 kB / 436.8 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.4164, allocations: 115.9 kB / 437 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.4167, allocations: 60.39 kB / 437 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.4168, allocations: 35.03 kB / 437.1 MB, free: 1.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004075/0.4209, allocations: 1.549 MB / 438.6 MB, free: 15.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4209, allocations: 0 / 438.6 MB, free: 15.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005074/0.426, allocations: 0.7615 MB / 439.4 MB, free: 14.7 MB / 398.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.0007841/0.4267, allocations: 223.9 kB / 439.6 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00756/0.4343, allocations: 3.372 MB / 443 MB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.4343, allocations: 0 / 443 MB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.4362, allocations: 0.9619 MB / 443.9 MB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.439, allocations: 230.3 kB / 444.1 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.4517, allocations: 5.672 MB / 449.8 MB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/0.4549, allocations: 1.674 MB / 451.5 MB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003266/0.4582, allocations: 1.297 MB / 452.8 MB, free: 1.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000636/0.4588, allocations: 160.5 kB / 452.9 MB, free: 1.02 MB / 398.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4588, allocations: 0 / 452.9 MB, free: 1.02 MB / 398.1 MB Notification: Performance of Templates: time 0.04897/0.5078, allocations: 20.95 MB / 473.9 MB, free: 12.04 MB / 430.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: 5.91204709559679]