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.0009155/0.0009155, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.0009514/0.0009514, allocations: 158.6 kB / 25.74 MB, free: 8.93 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 1.008/1.008, allocations: 158.6 MB / 187.6 MB, free: 2.918 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.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.793e-06/1.793e-06, allocations: 0 / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.44e-05, allocations: 2.312 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.009633/0.009658, allocations: 11.67 MB / 262.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00796/0.01762, allocations: 4.111 MB / 266.9 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.01962, allocations: 87.5 kB / 267 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003555/0.02317, allocations: 2.955 MB / 269.9 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004535/0.02771, allocations: 2.107 MB / 272.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.0292, allocations: 0.8888 MB / 272.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00569/0.03489, allocations: 5.286 MB / 278.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004483/0.03937, allocations: 3.555 MB / 281.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.04357, allocations: 2.635 MB / 284.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/0.04675, allocations: 2.673 MB / 287.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.04776, allocations: 360 kB / 287.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.04968, allocations: 1.236 MB / 288.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.0516, allocations: 2.295 MB / 291 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.05361, allocations: 1.437 MB / 292.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00619/0.0598, allocations: 5.086 MB / 297.5 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.0598, allocations: 4 kB / 297.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.05981, allocations: 4 kB / 297.5 MB, free: 9.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.05994, allocations: 0 / 297.5 MB, free: 9.199 MB / 282.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.007742/0.06768, allocations: 5.805 MB / 303.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.06773, allocations: 8.031 kB / 303.3 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007257/0.07499, allocations: 2.736 MB / 306.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004815/0.0798, allocations: 2.288 MB / 308.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.08003, allocations: 270.9 kB / 308.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000978/0.08101, allocations: 423.6 kB / 309 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.09732, allocations: 8.053 MB / 317.1 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.09747, allocations: 47.58 kB / 317.1 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005729/0.09804, allocations: 175.8 kB / 317.3 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002784/0.1008, allocations: 2.166 MB / 319.5 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/0.114, allocations: 4.824 MB / 324.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1739/0.2879, allocations: 49.5 MB / 373.8 MB, free: 60.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005894/0.2938, allocations: 2.843 MB / 376.6 MB, free: 60.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009065/0.2947, allocations: 0.675 MB / 377.3 MB, free: 60.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005998/0.3007, allocations: 4.96 MB / 382.3 MB, free: 59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.3007, allocations: 58.38 kB / 382.3 MB, free: 58.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 7.795e-06/0.3007, allocations: 3.594 kB / 382.3 MB, free: 58.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.02184/0.3226, allocations: 12.33 MB / 394.6 MB, free: 49.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008258/0.3234, allocations: 2.045 MB / 396.7 MB, free: 46.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.3268, allocations: 3.739 MB / 400.4 MB, free: 43.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002622/0.327, allocations: 49.7 kB / 400.5 MB, free: 43.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.3283, allocations: 3.71 MB / 404.2 MB, free: 39.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006176/0.3289, allocations: 0.8564 MB / 405 MB, free: 38.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.33, allocations: 1.459 MB / 406.5 MB, free: 37.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.33, allocations: 476.8 kB / 407 MB, free: 36.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.3312, allocations: 0.7872 MB / 407.8 MB, free: 36.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/0.3338, allocations: 6.889 MB / 414.6 MB, free: 26.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004931/0.3387, allocations: 8.489 MB / 423.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.796e-05/0.3388, allocations: 40 kB / 423.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01118/0.3499, allocations: 7.251 MB / 430.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.761e-05/0.35, allocations: 71.94 kB / 430.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004987/0.355, allocations: 2.366 MB / 432.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00484/0.3598, allocations: 1.757 MB / 434.6 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/0.3631, allocations: 1.599 MB / 436.2 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/0.3674, allocations: 4.695 MB / 440.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.3715, allocations: 0.5109 MB / 441.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006841/0.3721, allocations: 416 kB / 441.8 MB, free: 12.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * 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 (856): * Single equations (assignments): 847 * 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.001608/0.3738, allocations: 0.7307 MB / 442.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007805/0.3745, allocations: 417.4 kB / 443 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/0.3775, allocations: 1.883 MB / 444.9 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002354/0.3799, allocations: 1.402 MB / 446.3 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.3799, allocations: 6.938 kB / 446.3 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.3799, allocations: 7.969 kB / 446.3 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.3911, allocations: 7.813 MB / 454.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.3911, allocations: 12 kB / 454.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008686/0.392, allocations: 372.3 kB / 454.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.3934, allocations: 0.5681 MB / 455 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.3936, allocations: 63.97 kB / 455.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.3965, allocations: 4.169 MB / 459.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007888/0.3973, allocations: 1.926 MB / 461.2 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/0.4019, allocations: 3.549 MB / 464.7 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.4034, allocations: 0.5754 MB / 465.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/0.4037, allocations: 51.98 kB / 465.4 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.4048, allocations: 207.7 kB / 465.6 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.4051, allocations: 176.3 kB / 465.7 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/0.4052, allocations: 79.73 kB / 465.8 MB, free: 3.277 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002148/0.4073, allocations: 1.595 MB / 467.4 MB, free: 1.699 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4074, allocations: 0 / 467.4 MB, free: 1.699 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004376/0.4117, allocations: 1.293 MB / 468.7 MB, free: 416 kB / 362.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.0004726/0.4122, allocations: 246.3 kB / 468.9 MB, free: 160 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006387/0.4186, allocations: 3.966 MB / 472.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/0.4186, allocations: 0 / 472.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.4206, allocations: 1.478 MB / 474.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.4229, allocations: 464.7 kB / 474.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.4351, allocations: 9.055 MB / 483.9 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.4365, allocations: 1.337 MB / 485.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003166/0.4396, allocations: 1.727 MB / 487 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/0.4402, allocations: 264.4 kB / 487.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of SimCode: time 2.515e-06/0.4402, allocations: 0 / 487.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of Templates: time 0.1692/0.6095, allocations: 37.05 MB / 0.512 GB, free: 136.3 MB / 394.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 -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.544907934032381]