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.001125/0.001125, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 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.001185/0.001185, allocations: 175.6 kB / 26.39 MB, free: 7.988 MB / 18.57 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 0.9142/0.9142, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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 1.543e-06/1.543e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.904e-05, allocations: 6.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.005647/0.005666, allocations: 7.329 MB / 259.6 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.01016, allocations: 3.185 MB / 262.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005593/0.01072, allocations: 43.81 kB / 262.8 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.01267, allocations: 1.086 MB / 263.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.01518, allocations: 1.431 MB / 265.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008939/0.01608, allocations: 0.5922 MB / 265.9 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002635/0.01871, allocations: 2.925 MB / 268.9 MB, free: 6.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.02038, allocations: 1.529 MB / 270.4 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.02215, allocations: 1.337 MB / 271.7 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.0237, allocations: 1.336 MB / 273.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000334/0.02403, allocations: 148 kB / 273.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.02546, allocations: 0.8189 MB / 274 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001/0.02646, allocations: 1.153 MB / 275.2 MB, free: 224 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009337/0.02739, allocations: 0.6891 MB / 275.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003356/0.03075, allocations: 2.879 MB / 278.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.03075, allocations: 3.938 kB / 278.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.03076, allocations: 0 / 278.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.8e-05/0.03085, allocations: 0 / 278.8 MB, free: 12.63 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.004466/0.03532, allocations: 3.182 MB / 281.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.03536, allocations: 15.97 kB / 282 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/0.03842, allocations: 1.002 MB / 283 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.03996, allocations: 1.161 MB / 284.1 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/0.04005, allocations: 123.4 kB / 284.2 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.04031, allocations: 163.8 kB / 284.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004231/0.04454, allocations: 3.523 MB / 287.9 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.568e-05/0.04459, allocations: 27.77 kB / 287.9 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.04479, allocations: 87.88 kB / 288 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001438/0.04623, allocations: 1.238 MB / 289.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/0.04951, allocations: 1.61 MB / 290.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/0.06979, allocations: 28.36 MB / 319.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.07252, allocations: 0.9425 MB / 320.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.07291, allocations: 255.3 kB / 320.4 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003751/0.07666, allocations: 2.49 MB / 322.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.0767, allocations: 49.17 kB / 323 MB, free: 14.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 2.475e-06/0.0767, allocations: 8 kB / 323 MB, free: 14.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=80): time 0.006332/0.08303, allocations: 2.147 MB / 325.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.08309, allocations: 144.5 kB / 325.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.08566, allocations: 2.481 MB / 327.7 MB, free: 9.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.0857, allocations: 29.7 kB / 327.8 MB, free: 9.645 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.08728, allocations: 2.356 MB / 330.1 MB, free: 7.262 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.0876, allocations: 373.4 kB / 330.5 MB, free: 6.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009401/0.08854, allocations: 0.9121 MB / 331.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.08872, allocations: 0.5432 MB / 332 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.0894, allocations: 347.9 kB / 332.3 MB, free: 5.074 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.09217, allocations: 4.42 MB / 336.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/0.09565, allocations: 5.233 MB / 341.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-05/0.09569, allocations: 28 kB / 342 MB, free: 7.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.003572/0.09926, allocations: 3.307 MB / 345.3 MB, free: 4.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.0993, allocations: 48 kB / 345.3 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-05/0.09936, allocations: 99.94 kB / 345.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/0.09963, allocations: 175.6 kB / 345.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.101, allocations: 0.9123 MB / 346.5 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.1023, allocations: 1.978 MB / 348.5 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.1038, allocations: 191.8 kB / 348.7 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.104, allocations: 232 kB / 348.9 MB, free: 0.5703 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.0006451/0.1047, allocations: 0.5043 MB / 349.4 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1417/0.2464, allocations: 226 kB / 349.6 MB, free: 92.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.2475, allocations: 409.6 kB / 350 MB, free: 92.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/0.2475, allocations: 10.5 kB / 350 MB, free: 92.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2475, allocations: 1.531 kB / 350 MB, free: 92.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.2475, allocations: 3.656 kB / 350 MB, free: 92.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.2599, allocations: 1.793 MB / 351.8 MB, free: 92.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2599, allocations: 1.781 kB / 351.8 MB, free: 92.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.2602, allocations: 86.39 kB / 351.9 MB, free: 92.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/0.2604, allocations: 47.77 kB / 352 MB, free: 92.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.2604, allocations: 14.75 kB / 352 MB, free: 92.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000775/0.2612, allocations: 1.782 MB / 353.8 MB, free: 90.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2612, allocations: 4.953 kB / 353.8 MB, free: 90.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.2623, allocations: 1.22 MB / 355 MB, free: 89.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.2627, allocations: 266.1 kB / 355.2 MB, free: 89.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.2628, allocations: 14.09 kB / 355.3 MB, free: 89.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.2632, allocations: 19.09 kB / 355.3 MB, free: 89.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.2633, allocations: 51.03 kB / 355.3 MB, free: 89.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.2633, allocations: 18.94 kB / 355.3 MB, free: 89.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006567/0.264, allocations: 0.9896 MB / 356.3 MB, free: 89.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.264, allocations: 0 / 356.3 MB, free: 89.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001916/0.2659, allocations: 0.6576 MB / 357 MB, free: 89.56 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.000301/0.2662, allocations: 221.2 kB / 357.2 MB, free: 89.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.2679, allocations: 1.797 MB / 359 MB, free: 89.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2679, allocations: 0 / 359 MB, free: 89.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.2682, allocations: 388 kB / 359.4 MB, free: 89.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.269, allocations: 226.9 kB / 359.6 MB, free: 89.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.2733, allocations: 4.326 MB / 363.9 MB, free: 87.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.2738, allocations: 0.7385 MB / 364.7 MB, free: 87.01 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006502/0.2745, allocations: 324.5 kB / 365 MB, free: 86.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.2748, allocations: 376.1 kB / 365.4 MB, free: 86.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.2748, allocations: 4 kB / 365.4 MB, free: 86.43 MB / 330.7 MB Notification: Performance of Templates: time 0.02961/0.3045, allocations: 17.27 MB / 382.6 MB, free: 70.5 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4808496022596955]