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.001091/0.001091, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.0009974/0.0009974, allocations: 161.2 kB / 25.6 MB, free: 8.895 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 0.9573/0.9573, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.483e-06/1.483e-06, allocations: 0 / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.858e-05, allocations: 6.25 kB / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01033/0.01036, allocations: 11.34 MB / 262.8 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007963/0.01833, allocations: 4.095 MB / 266.9 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.02052, allocations: 91.56 kB / 267 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004332/0.02485, allocations: 2.912 MB / 269.9 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.03, allocations: 2.111 MB / 272 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.0322, allocations: 0.8927 MB / 272.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008867/0.04107, allocations: 5.278 MB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005577/0.04664, allocations: 3.547 MB / 281.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.05132, allocations: 2.686 MB / 284.4 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.05476, allocations: 2.634 MB / 287.1 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005619/0.05532, allocations: 356 kB / 287.4 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.05714, allocations: 1.229 MB / 288.7 MB, free: 1.895 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.05853, allocations: 2.295 MB / 290.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.06009, allocations: 1.433 MB / 292.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.06434, allocations: 5.063 MB / 297.4 MB, free: 9.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.06434, allocations: 4 kB / 297.4 MB, free: 9.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.06435, allocations: 0 / 297.4 MB, free: 9.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.7e-05/0.0644, allocations: 0 / 297.4 MB, free: 9.07 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.007735/0.07214, allocations: 5.519 MB / 303 MB, free: 3.484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.07218, allocations: 8.031 kB / 303 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005657/0.07784, allocations: 1.726 MB / 304.7 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/0.08084, allocations: 2.07 MB / 306.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.08099, allocations: 266.8 kB / 307 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005658/0.08155, allocations: 431.6 kB / 307.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007875/0.08943, allocations: 6.569 MB / 314 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.812e-05/0.08952, allocations: 47.55 kB / 314.1 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.08982, allocations: 175.8 kB / 314.2 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001635/0.09146, allocations: 1.932 MB / 316.2 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005996/0.09745, allocations: 3.2 MB / 319.4 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2089/0.3064, allocations: 48.84 MB / 368.2 MB, free: 55.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/0.3118, allocations: 2.559 MB / 370.8 MB, free: 55.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.3128, allocations: 0.5766 MB / 371.3 MB, free: 55.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006762/0.3196, allocations: 4.753 MB / 376.1 MB, free: 54.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.3197, allocations: 55.92 kB / 376.2 MB, free: 54.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 5.731e-06/0.3197, allocations: 0 / 376.2 MB, free: 54.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.01892/0.3386, allocations: 8.051 MB / 384.2 MB, free: 51.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008655/0.3395, allocations: 2.013 MB / 386.2 MB, free: 49.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004234/0.3437, allocations: 3.706 MB / 389.9 MB, free: 46.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003408/0.344, allocations: 57.7 kB / 390 MB, free: 46.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001852/0.3459, allocations: 3.741 MB / 393.7 MB, free: 43.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008794/0.3468, allocations: 0.8685 MB / 394.6 MB, free: 42.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.3481, allocations: 1.475 MB / 396.1 MB, free: 41.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.3481, allocations: 484.6 kB / 396.5 MB, free: 40.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.3493, allocations: 0.7122 MB / 397.2 MB, free: 39.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003189/0.3525, allocations: 6.855 MB / 404.1 MB, free: 30.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005723/0.3582, allocations: 8.373 MB / 412.5 MB, free: 19.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001879/0.3584, allocations: 47.61 kB / 412.5 MB, free: 19.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.01162/0.3701, allocations: 5.912 MB / 418.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.624e-05/0.3701, allocations: 68 kB / 418.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00364/0.3738, allocations: 1.348 MB / 419.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/0.3771, allocations: 0.6034 MB / 420.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/0.38, allocations: 1.532 MB / 422 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.3829, allocations: 4.228 MB / 426.2 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/0.3866, allocations: 303 kB / 426.5 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000574/0.3872, allocations: 360 kB / 426.9 MB, free: 4.965 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.001533/0.3887, allocations: 0.7312 MB / 427.6 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007105/0.3894, allocations: 409.6 kB / 428 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.3918, allocations: 1.556 MB / 429.5 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001647/0.3935, allocations: 1.039 MB / 430.6 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.3935, allocations: 4 kB / 430.6 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.3935, allocations: 11.97 kB / 430.6 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.4056, allocations: 7.363 MB / 438 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.4057, allocations: 16 kB / 438 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/0.4065, allocations: 327.5 kB / 438.3 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/0.4076, allocations: 366.8 kB / 438.7 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.4077, allocations: 63.95 kB / 438.7 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.4104, allocations: 3.966 MB / 442.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008541/0.4112, allocations: 1.889 MB / 444.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/0.4156, allocations: 3.139 MB / 447.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/0.417, allocations: 0.5129 MB / 448.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/0.4174, allocations: 59.98 kB / 448.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008403/0.4183, allocations: 44 kB / 448.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.4186, allocations: 180.3 kB / 448.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.4187, allocations: 71.03 kB / 448.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001903/0.4206, allocations: 1.481 MB / 450.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4206, allocations: 0 / 450.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004981/0.4256, allocations: 1.289 MB / 451.3 MB, free: 11.45 MB / 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.000685/0.4263, allocations: 246.4 kB / 451.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005686/0.432, allocations: 3.571 MB / 455.2 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.432, allocations: 7.938 kB / 455.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001697/0.4337, allocations: 1.205 MB / 456.4 MB, free: 6.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/0.4363, allocations: 476.1 kB / 456.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.4516, allocations: 8.999 MB / 465.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/0.4533, allocations: 1.333 MB / 467.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001846/0.4552, allocations: 0.5535 MB / 467.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.4562, allocations: 0.6504 MB / 468.4 MB, free: 9.988 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4562, allocations: 0 / 468.4 MB, free: 9.988 MB / 378.7 MB Notification: Performance of Templates: time 0.06071/0.5169, allocations: 40.3 MB / 0.4967 GB, free: 1.652 MB / 410.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.30127682024613]