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.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.001289/0.001289, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 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.001371/0.001371, allocations: 189.1 kB / 22.92 MB, free: 5.582 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.437/1.437, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 58.72 kB / 345.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3272, allocations: 49.13 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01754/0.3447, allocations: 7.735 MB / 402.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.3575, allocations: 3.342 MB / 405.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.3599, allocations: 39.69 kB / 405.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004237/0.3641, allocations: 1.044 MB / 406.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008109/0.3722, allocations: 1.377 MB / 408.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.375, allocations: 0.5356 MB / 408.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006935/0.3819, allocations: 2.595 MB / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.3842, allocations: 1.09 MB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.3863, allocations: 0.8387 MB / 413.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.3886, allocations: 1.274 MB / 414.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004871/0.389, allocations: 147.4 kB / 414.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.3914, allocations: 0.9273 MB / 415.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.3928, allocations: 1.097 MB / 416.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001933/0.3947, allocations: 1.26 MB / 417.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007712/0.4024, allocations: 4.137 MB / 422 MB, free: 8.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.4025, allocations: 4 kB / 422 MB, free: 8.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4025, allocations: 0 / 422 MB, free: 8.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002/0.4027, allocations: 0 / 422 MB, free: 8.34 MB / 334.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.00853/0.4112, allocations: 3.08 MB / 425.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.4112, allocations: 8.031 kB / 425.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00543/0.4167, allocations: 1.59 MB / 426.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.4202, allocations: 1.473 MB / 428.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.4203, allocations: 123 kB / 428.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/0.4207, allocations: 159.9 kB / 428.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/0.4334, allocations: 6.526 MB / 434.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.418e-05/0.4335, allocations: 35.69 kB / 435 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/0.4338, allocations: 83.89 kB / 435.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003256/0.4371, allocations: 1.464 MB / 436.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.4499, allocations: 5.838 MB / 442.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03716/0.487, allocations: 25.7 MB / 468.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006248/0.4933, allocations: 2.479 MB / 470.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.4951, allocations: 1.129 MB / 471.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009011/0.5041, allocations: 4.808 MB / 476.5 MB, free: 236 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.5042, allocations: 50.5 kB / 476.5 MB, free: 176 kB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 3.517e-06/0.5042, allocations: 0 / 476.5 MB, free: 176 kB / 382.1 MB Notification: Performance of matching and sorting (n=105): time 0.02545/0.5296, allocations: 9.945 MB / 486.5 MB, free: 6.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5297, allocations: 140.9 kB / 486.6 MB, free: 5.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005166/0.5349, allocations: 2.731 MB / 489.3 MB, free: 3.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005345/0.5354, allocations: 41.98 kB / 489.4 MB, free: 3.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/0.5377, allocations: 2.128 MB / 491.5 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007304/0.5384, allocations: 452.6 kB / 491.9 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/0.54, allocations: 0.8455 MB / 492.8 MB, free: 15.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5401, allocations: 301.1 kB / 493.1 MB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.5428, allocations: 1.445 MB / 494.5 MB, free: 13.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005256/0.548, allocations: 4.069 MB / 498.6 MB, free: 8.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00931/0.5573, allocations: 5.965 MB / 0.4927 GB, free: 1.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.734e-05/0.5574, allocations: 32 kB / 0.4928 GB, free: 1.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01498/0.5724, allocations: 6.027 MB / 0.4987 GB, free: 11.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.792e-05/0.5725, allocations: 48.06 kB / 0.4987 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/0.5726, allocations: 95.98 kB / 0.4988 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002408/0.575, allocations: 0.8162 MB / 0.4996 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/0.5784, allocations: 0.9552 MB / 0.5005 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006972/0.5854, allocations: 4.653 MB / 0.5051 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/0.5889, allocations: 243.7 kB / 0.5053 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006736/0.5895, allocations: 263.9 kB / 0.5055 GB, free: 3.977 MB / 430.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.002454/0.592, allocations: 1.376 MB / 0.5069 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005176/0.5925, allocations: 246.3 kB / 0.5071 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004637/0.5972, allocations: 2.122 MB / 0.5092 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.473e-05/0.5972, allocations: 16 kB / 0.5092 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5972, allocations: 0 / 0.5092 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.5972, allocations: 7.984 kB / 0.5092 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.6083, allocations: 5.051 MB / 0.5142 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.6083, allocations: 3.938 kB / 0.5142 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.6091, allocations: 159.8 kB / 0.5143 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/0.6113, allocations: 0.6795 MB / 0.515 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.6114, allocations: 16 kB / 0.515 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005959/0.6174, allocations: 4.164 MB / 0.5191 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.6174, allocations: 12 kB / 0.5191 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007154/0.6246, allocations: 4.064 MB / 0.523 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.6259, allocations: 459.3 kB / 0.5235 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.6262, allocations: 23.98 kB / 0.5235 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/0.6271, allocations: 71.83 kB / 0.5236 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.6273, allocations: 56.31 kB / 0.5236 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.6274, allocations: 35.97 kB / 0.5237 GB, free: 1.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003314/0.6307, allocations: 1.701 MB / 0.5253 GB, free: 15.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6307, allocations: 0 / 0.5253 GB, free: 15.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003738/0.6345, allocations: 0.6794 MB / 0.526 GB, free: 14.74 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.0005053/0.635, allocations: 194.9 kB / 0.5262 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0064/0.6414, allocations: 3.36 MB / 0.5294 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.6414, allocations: 0 / 0.5294 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.643, allocations: 0.9663 MB / 0.5304 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.645, allocations: 256.7 kB / 0.5306 GB, free: 9.949 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.6565, allocations: 5.765 MB / 0.5363 GB, free: 4.133 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003476/0.66, allocations: 2.237 MB / 0.5384 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003416/0.6634, allocations: 1.325 MB / 0.5397 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.664, allocations: 155.4 kB / 0.5399 GB, free: 392 kB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.664, allocations: 0 / 0.5399 GB, free: 392 kB / 462.1 MB Notification: Performance of Templates: time 0.2512/0.9152, allocations: 23.11 MB / 0.5625 GB, free: 147.4 MB / 478.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: 6.090464876033366]