Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001142/0.001142, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001771/0.002913, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001283/0.001283, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002655, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9564/0.9564, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1805/1.137, allocations: 49.48 MB / 220.6 MB, free: 1.445 MB / 218.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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.008e-05, allocations: 6.312 kB / 221.8 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01116/0.01119, allocations: 11.47 MB / 233.3 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008642/0.01983, allocations: 4.281 MB / 237.6 MB, free: 340 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.022, allocations: 79.62 kB / 237.7 MB, free: 260 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.02539, allocations: 2.81 MB / 240.5 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004843/0.03024, allocations: 2.076 MB / 242.6 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.03179, allocations: 0.8303 MB / 243.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005972/0.03776, allocations: 5.061 MB / 248.5 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/0.04163, allocations: 3.157 MB / 251.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004179/0.04581, allocations: 2.77 MB / 254.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003899/0.04971, allocations: 2.506 MB / 256.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.05084, allocations: 356 kB / 257.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.05328, allocations: 1.26 MB / 258.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.05524, allocations: 2.034 MB / 260.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.05736, allocations: 1.157 MB / 261.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005947/0.06331, allocations: 4.709 MB / 266.4 MB, free: 3.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.594e-05/0.06333, allocations: 0 / 266.4 MB, free: 3.402 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.06333, allocations: 0 / 266.4 MB, free: 3.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002705/0.0636, allocations: 0 / 266.4 MB, free: 3.402 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.009615/0.07321, allocations: 5.931 MB / 272.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.07325, allocations: 8.031 kB / 272.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.07684, allocations: 1.253 MB / 273.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/0.08003, allocations: 1.937 MB / 275.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.08022, allocations: 262.9 kB / 275.8 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007358/0.08095, allocations: 431.6 kB / 276.2 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009355/0.09031, allocations: 5.835 MB / 282 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.09044, allocations: 59.53 kB / 282.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004144/0.09085, allocations: 171.8 kB / 282.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001989/0.09284, allocations: 1.936 MB / 284.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1491/0.2419, allocations: 3.1 MB / 287.3 MB, free: 31.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03033/0.2723, allocations: 34.86 MB / 322.2 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005019/0.2773, allocations: 2.366 MB / 324.5 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008233/0.2781, allocations: 478.2 kB / 325 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005852/0.284, allocations: 4.28 MB / 329.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.284, allocations: 52.88 kB / 329.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=183): time 4.809e-06/0.284, allocations: 0 / 329.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=205): time 0.01843/0.3024, allocations: 7.21 MB / 336.5 MB, free: 8 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001191/0.3036, allocations: 1.49 MB / 338 MB, free: 14.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004441/0.3081, allocations: 3.34 MB / 341.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003562/0.3084, allocations: 55.42 kB / 341.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0021/0.3105, allocations: 3.351 MB / 344.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.3116, allocations: 0.8314 MB / 345.6 MB, free: 7.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.3129, allocations: 1.283 MB / 346.9 MB, free: 6.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.313, allocations: 301.1 kB / 347.2 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.3145, allocations: 0.886 MB / 348.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003959/0.3185, allocations: 4.885 MB / 352.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006619/0.3251, allocations: 6.484 MB / 359.4 MB, free: 6.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/0.3252, allocations: 40 kB / 359.5 MB, free: 6.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.01079/0.336, allocations: 5.082 MB / 364.5 MB, free: 1.695 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.3361, allocations: 68.97 kB / 364.6 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004031/0.3402, allocations: 1.175 MB / 365.8 MB, free: 448 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/0.3436, allocations: 0.5949 MB / 366.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/0.3481, allocations: 1.72 MB / 368.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.3517, allocations: 3.118 MB / 371.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/0.3564, allocations: 298.3 kB / 371.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.3575, allocations: 360 kB / 371.9 MB, free: 10.18 MB / 330.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.002439/0.36, allocations: 0.6799 MB / 372.5 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007989/0.3608, allocations: 243.7 kB / 372.8 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/0.3633, allocations: 1.371 MB / 374.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001507/0.3648, allocations: 0.8443 MB / 375 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.3648, allocations: 8.062 kB / 375 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.3648, allocations: 11.97 kB / 375 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.3776, allocations: 5.976 MB / 381 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/0.3777, allocations: 14.08 kB / 381 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.3788, allocations: 379.4 kB / 381.4 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/0.3807, allocations: 493.2 kB / 381.9 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001852/0.3826, allocations: 0.5335 MB / 382.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.3827, allocations: 55.91 kB / 382.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/0.3855, allocations: 2.842 MB / 385.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009088/0.3864, allocations: 1.364 MB / 386.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/0.3903, allocations: 2.63 MB / 389.3 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006915/0.391, allocations: 59.98 kB / 389.3 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.3921, allocations: 48 kB / 389.4 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.3923, allocations: 176.3 kB / 389.6 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.3924, allocations: 67.97 kB / 389.6 MB, free: 8.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002078/0.3945, allocations: 1.219 MB / 390.8 MB, free: 7.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3945, allocations: 0 / 390.8 MB, free: 7.211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00574/0.4003, allocations: 1.295 MB / 392.1 MB, free: 5.918 MB / 346.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.0007857/0.401, allocations: 229 kB / 392.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006731/0.4078, allocations: 3.243 MB / 395.6 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004417/0.4082, allocations: 120.8 kB / 395.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.4099, allocations: 1.012 MB / 396.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/0.4137, allocations: 0.9519 MB / 397.7 MB, free: 428 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.4305, allocations: 8.861 MB / 406.6 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.4321, allocations: 1.343 MB / 407.9 MB, free: 5.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001719/0.4338, allocations: 0.5379 MB / 408.4 MB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009546/0.4348, allocations: 0.6104 MB / 409 MB, free: 4.828 MB / 362.7 MB Notification: Performance of SimCode: time 3.186e-06/0.4348, allocations: 0 / 409 MB, free: 4.828 MB / 362.7 MB Notification: Performance of Templates: time 0.1915/0.6263, allocations: 40.96 MB / 450 MB, free: 120.1 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.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: 4.271474013105035]