Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.00142/0.00142, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001497/0.001497, allocations: 149.4 kB / 24.25 MB, free: 192 kB / 18.57 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 1.478/1.478, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.125e-06/3.125e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.4e-05/3.713e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01925/0.01928, allocations: 6.611 MB / 273.9 MB, free: 60 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.03194, allocations: 3.07 MB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.03384, allocations: 43.81 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004989/0.03883, allocations: 1.066 MB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007004/0.04583, allocations: 1.455 MB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.04819, allocations: 0.4949 MB / 280.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007545/0.05573, allocations: 2.958 MB / 283 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004593/0.06033, allocations: 1.636 MB / 284.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004816/0.06514, allocations: 1.317 MB / 286 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004128/0.06927, allocations: 1.411 MB / 287.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008242/0.0701, allocations: 172 kB / 287.6 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.07373, allocations: 0.9788 MB / 288.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.07622, allocations: 1.18 MB / 289.7 MB, free: 216 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.123/0.1992, allocations: 0.7251 MB / 290.4 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005751/0.205, allocations: 4.417 MB / 294.9 MB, free: 18.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.205, allocations: 1.125 kB / 294.9 MB, free: 18.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.205, allocations: 0 / 294.9 MB, free: 18.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001088/0.2051, allocations: 0 / 294.9 MB, free: 18.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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01146/0.2165, allocations: 3.091 MB / 298 MB, free: 17.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.2166, allocations: 10.77 kB / 298 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.2284, allocations: 2.211 MB / 300.2 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005551/0.234, allocations: 1.332 MB / 301.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00037/0.2343, allocations: 130.9 kB / 301.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002227/0.2366, allocations: 263 kB / 301.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.2566, allocations: 6.691 MB / 308.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/0.2568, allocations: 29.55 kB / 308.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/0.2582, allocations: 91.19 kB / 308.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003592/0.2618, allocations: 1.363 MB / 310.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.2796, allocations: 6.048 MB / 316.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04104/0.3206, allocations: 24.22 MB / 340.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007951/0.3286, allocations: 2.187 MB / 342.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/0.3306, allocations: 0.9875 MB / 343.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007924/0.3385, allocations: 2.815 MB / 346.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.195e-05/0.3386, allocations: 53.81 kB / 346.4 MB, free: 9.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=112): time 4.087e-06/0.3386, allocations: 0 / 346.4 MB, free: 9.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.03426/0.3728, allocations: 10.31 MB / 356.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001831/0.3747, allocations: 1.553 MB / 358.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006513/0.3812, allocations: 2.69 MB / 360.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003912/0.3816, allocations: 44.36 kB / 361 MB, free: 10.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/0.3837, allocations: 2.159 MB / 363.1 MB, free: 8.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.3848, allocations: 0.526 MB / 363.7 MB, free: 8.082 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002644/0.3874, allocations: 0.9082 MB / 364.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.3877, allocations: 353.9 kB / 364.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003721/0.3914, allocations: 1.684 MB / 366.6 MB, free: 5.121 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0069/0.3983, allocations: 4.49 MB / 371.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.4097, allocations: 6.581 MB / 377.7 MB, free: 7.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/0.4098, allocations: 30.95 kB / 377.7 MB, free: 7.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02556/0.4354, allocations: 8.286 MB / 386 MB, free: 15.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.4356, allocations: 48 kB / 386 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01398/0.4496, allocations: 3.515 MB / 389.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01335/0.4629, allocations: 2.683 MB / 392.2 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/0.4669, allocations: 1.021 MB / 393.2 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/0.4851, allocations: 9.381 MB / 402.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004409/0.4896, allocations: 398.1 kB / 403 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/0.4906, allocations: 280 kB / 403.3 MB, free: 13.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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 (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003607/0.4942, allocations: 1.425 MB / 404.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008146/0.495, allocations: 258.5 kB / 405 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007957/0.503, allocations: 2.797 MB / 407.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006829/0.5098, allocations: 2.494 MB / 410.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/0.5098, allocations: 8 kB / 410.3 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.5098, allocations: 3.984 kB / 410.3 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.5273, allocations: 6.26 MB / 416.5 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/0.5274, allocations: 7.5 kB / 416.5 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009714/0.5283, allocations: 171.7 kB / 416.7 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005717/0.534, allocations: 1.534 MB / 418.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/0.5343, allocations: 27.97 kB / 418.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/0.5471, allocations: 7.642 MB / 425.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001456/0.5485, allocations: 1.418 MB / 427.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.5598, allocations: 4.865 MB / 432.2 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1191/0.6789, allocations: 220.1 kB / 432.4 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/0.6799, allocations: 25.48 kB / 432.4 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/0.682, allocations: 146.5 kB / 432.6 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000609/0.6826, allocations: 88.23 kB / 432.7 MB, free: 128.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002778/0.6829, allocations: 37.05 kB / 432.7 MB, free: 128.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003905/0.6868, allocations: 1.547 MB / 434.2 MB, free: 128.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6868, allocations: 1.625 kB / 434.2 MB, free: 128.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005935/0.6927, allocations: 0.8755 MB / 435.1 MB, free: 128.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008029/0.6935, allocations: 186.9 kB / 435.3 MB, free: 128.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008162/0.7017, allocations: 4.216 MB / 439.5 MB, free: 127.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.7017, allocations: 0 / 439.5 MB, free: 127.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003309/0.705, allocations: 1.58 MB / 441.1 MB, free: 126.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.7072, allocations: 270 kB / 441.4 MB, free: 126.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.7178, allocations: 6.536 MB / 447.9 MB, free: 124 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002521/0.7203, allocations: 1.725 MB / 449.6 MB, free: 123.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003235/0.7236, allocations: 1.383 MB / 451 MB, free: 122.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.7241, allocations: 167 kB / 451.2 MB, free: 122.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.175e-06/0.7241, allocations: 0 / 451.2 MB, free: 122.8 MB / 378.7 MB Notification: Performance of Templates: time 0.04258/0.7666, allocations: 28.35 MB / 479.5 MB, free: 95.62 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.158992227050476]