Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007448/0.0007448, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.00185, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006897/0.0006897, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009699/0.00166, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9191/0.9191, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08628/1.005, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.988e-05, allocations: 5.406 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01182/0.01184, allocations: 11.44 MB / 256.7 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005131/0.01697, allocations: 4.292 MB / 260.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006405/0.01761, allocations: 83.62 kB / 261 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.02006, allocations: 2.803 MB / 263.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.02224, allocations: 2.029 MB / 265.9 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008114/0.02305, allocations: 0.8303 MB / 266.7 MB, free: 8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003073/0.02613, allocations: 5.228 MB / 271.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1093/0.1354, allocations: 3.134 MB / 275.1 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.1395, allocations: 2.74 MB / 277.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.1432, allocations: 2.486 MB / 280.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009232/0.1441, allocations: 355.7 kB / 280.6 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002031/0.1461, allocations: 1.264 MB / 281.9 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.1475, allocations: 1.995 MB / 283.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.149, allocations: 1.14 MB / 285 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003551/0.1525, allocations: 4.633 MB / 289.7 MB, free: 1.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.1525, allocations: 2.25 kB / 289.7 MB, free: 1.434 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1525, allocations: 0 / 289.7 MB, free: 1.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.743e-05/0.1526, allocations: 0 / 289.7 MB, free: 1.434 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.004526/0.1571, allocations: 5.873 MB / 295.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.1572, allocations: 10.09 kB / 295.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00286/0.16, allocations: 1.305 MB / 296.8 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.1617, allocations: 1.891 MB / 298.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.996e-05/0.1618, allocations: 266.2 kB / 299 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005017/0.1623, allocations: 430.8 kB / 299.4 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005975/0.1683, allocations: 5.874 MB / 305.3 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-05/0.1684, allocations: 48.14 kB / 305.3 MB, free: 9.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.1687, allocations: 171 kB / 305.5 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001505/0.1702, allocations: 1.825 MB / 307.3 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004919/0.1751, allocations: 3.126 MB / 310.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02574/0.2008, allocations: 34.86 MB / 345.3 MB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005954/0.2068, allocations: 2.382 MB / 347.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.2075, allocations: 476.2 kB / 348.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006118/0.2136, allocations: 4.28 MB / 352.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.2136, allocations: 55.16 kB / 352.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 3.747e-06/0.2136, allocations: 0 / 352.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.01768/0.2313, allocations: 7.355 MB / 359.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006119/0.2319, allocations: 1.494 MB / 361.4 MB, free: 1.641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.2341, allocations: 3.309 MB / 364.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.153e-05/0.2342, allocations: 57.7 kB / 364.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.2353, allocations: 3.343 MB / 368.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.2357, allocations: 0.831 MB / 368.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009862/0.2367, allocations: 1.279 MB / 370.2 MB, free: 9.781 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.2368, allocations: 309.1 kB / 370.5 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.2379, allocations: 0.8743 MB / 371.3 MB, free: 8.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/0.2407, allocations: 4.885 MB / 376.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004656/0.2453, allocations: 6.923 MB / 383.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.579e-05/0.2454, allocations: 44 kB / 383.2 MB, free: 9.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.006587/0.252, allocations: 5.07 MB / 388.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/0.252, allocations: 72.03 kB / 388.3 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.23e-05/0.2521, allocations: 152 kB / 388.5 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/0.2551, allocations: 0.5946 MB / 389.1 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/0.2577, allocations: 1.724 MB / 390.8 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.2605, allocations: 3.095 MB / 393.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.2625, allocations: 307.7 kB / 394.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/0.2628, allocations: 363.9 kB / 394.6 MB, free: 13.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 848 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001091/0.2639, allocations: 0.6794 MB / 395.2 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.2642, allocations: 239.7 kB / 395.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.2661, allocations: 1.355 MB / 396.8 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001386/0.2674, allocations: 0.8441 MB / 397.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2674, allocations: 4 kB / 397.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.2675, allocations: 11.95 kB / 397.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006469/0.2739, allocations: 5.952 MB / 403.6 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.274, allocations: 20 kB / 403.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/0.2748, allocations: 379.4 kB / 404 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.2751, allocations: 357.4 kB / 404.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.2765, allocations: 0.5281 MB / 404.9 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.175e-05/0.2766, allocations: 59.97 kB / 405 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.2783, allocations: 2.814 MB / 407.8 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004838/0.2788, allocations: 1.361 MB / 409.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/0.2815, allocations: 2.639 MB / 411.8 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.2817, allocations: 51.98 kB / 411.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.2824, allocations: 63.92 kB / 411.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.2826, allocations: 172.4 kB / 412.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/0.2827, allocations: 67.95 kB / 412.1 MB, free: 11.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008897/0.2836, allocations: 1.21 MB / 413.3 MB, free: 10.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2836, allocations: 0 / 413.3 MB, free: 10.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003206/0.2868, allocations: 1.269 MB / 414.6 MB, free: 8.895 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003294/0.2871, allocations: 212.4 kB / 414.8 MB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003254/0.2904, allocations: 3.372 MB / 418.2 MB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001637/0.2906, allocations: 112.8 kB / 418.3 MB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.2925, allocations: 1.687 MB / 420 MB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09739/0.3899, allocations: 3.066 MB / 423 MB, free: 115.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.4019, allocations: 8.798 MB / 431.8 MB, free: 111.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.4031, allocations: 1.336 MB / 433.2 MB, free: 111.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001277/0.4044, allocations: 0.5331 MB / 433.7 MB, free: 111.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008782/0.4052, allocations: 0.5968 MB / 434.3 MB, free: 111.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.784e-06/0.4052, allocations: 0 / 434.3 MB, free: 111.3 MB / 394.7 MB Notification: Performance of Templates: time 0.0464/0.4516, allocations: 38.83 MB / 473.1 MB, free: 88.53 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.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: 3.545286844484508]