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.001394/0.001394, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001138/0.001138, allocations: 164 kB / 25.33 MB, free: 8.598 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.9142/0.9142, allocations: 158.6 MB / 187.2 MB, free: 2.898 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.683e-06/1.683e-06, allocations: 0 / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.897e-05, allocations: 2.312 kB / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01378/0.01381, allocations: 11.71 MB / 262.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009469/0.02327, allocations: 4.126 MB / 266.9 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.02526, allocations: 79.62 kB / 267 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005008/0.03027, allocations: 2.967 MB / 269.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005371/0.03564, allocations: 2.111 MB / 272.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.0376, allocations: 0.8926 MB / 272.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006622/0.04422, allocations: 5.281 MB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003142/0.04737, allocations: 3.559 MB / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.05041, allocations: 2.635 MB / 284.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.05287, allocations: 2.669 MB / 287.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004468/0.05331, allocations: 360 kB / 287.4 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.0549, allocations: 1.236 MB / 288.7 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001681/0.05658, allocations: 2.291 MB / 291 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.05787, allocations: 1.441 MB / 292.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004421/0.06229, allocations: 5.09 MB / 297.5 MB, free: 8.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.06229, allocations: 0 / 297.5 MB, free: 8.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.0623, allocations: 0 / 297.5 MB, free: 8.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.524e-05/0.06237, allocations: 8 kB / 297.5 MB, free: 8.84 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.006557/0.06893, allocations: 5.805 MB / 303.3 MB, free: 2.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.06898, allocations: 8.031 kB / 303.3 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/0.07412, allocations: 2.732 MB / 306.1 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/0.07693, allocations: 2.28 MB / 308.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.07708, allocations: 274.8 kB / 308.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005618/0.07764, allocations: 431.6 kB / 309 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.08827, allocations: 8.053 MB / 317.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.344e-05/0.08835, allocations: 47.56 kB / 317.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.08865, allocations: 175.8 kB / 317.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.09079, allocations: 2.17 MB / 319.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008738/0.09953, allocations: 4.824 MB / 324.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1897/0.2892, allocations: 49.5 MB / 373.8 MB, free: 54.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005545/0.2947, allocations: 2.835 MB / 376.6 MB, free: 54.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.2957, allocations: 0.6772 MB / 377.3 MB, free: 54.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005558/0.3013, allocations: 4.96 MB / 382.3 MB, free: 52.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3013, allocations: 60.45 kB / 382.3 MB, free: 52.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 3.838e-06/0.3013, allocations: 0 / 382.3 MB, free: 52.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.02/0.3213, allocations: 12.32 MB / 394.6 MB, free: 45.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007801/0.3221, allocations: 2.056 MB / 396.7 MB, free: 43.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003287/0.3254, allocations: 3.73 MB / 400.4 MB, free: 40.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.884e-05/0.3255, allocations: 53.7 kB / 400.5 MB, free: 40.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.3268, allocations: 3.705 MB / 404.2 MB, free: 36.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005199/0.3273, allocations: 0.8569 MB / 405 MB, free: 35.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.3285, allocations: 1.451 MB / 406.5 MB, free: 34.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.3286, allocations: 476.8 kB / 407 MB, free: 33.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.3297, allocations: 0.7903 MB / 407.7 MB, free: 32.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/0.3325, allocations: 6.891 MB / 414.6 MB, free: 23.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005083/0.3376, allocations: 8.494 MB / 423.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.542e-05/0.3376, allocations: 40 kB / 423.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.009938/0.3475, allocations: 7.249 MB / 430.4 MB, free: 5.246 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/0.3476, allocations: 68.22 kB / 430.5 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004936/0.3525, allocations: 2.372 MB / 432.9 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004698/0.3572, allocations: 1.761 MB / 434.6 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.3601, allocations: 1.599 MB / 436.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/0.3648, allocations: 4.703 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/0.3684, allocations: 0.5149 MB / 441.4 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003804/0.3688, allocations: 416 kB / 441.8 MB, free: 9.555 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.001653/0.3704, allocations: 0.7201 MB / 442.6 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004557/0.3709, allocations: 413.6 kB / 443 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.3737, allocations: 1.886 MB / 444.9 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002286/0.376, allocations: 1.397 MB / 446.2 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.376, allocations: 8 kB / 446.3 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.3761, allocations: 15.89 kB / 446.3 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.3864, allocations: 7.808 MB / 454.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.3865, allocations: 15.94 kB / 454.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/0.3873, allocations: 363.5 kB / 454.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.3887, allocations: 0.5764 MB / 455 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.3888, allocations: 59.92 kB / 455.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.3919, allocations: 4.164 MB / 459.2 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007974/0.3927, allocations: 1.926 MB / 461.2 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00457/0.3973, allocations: 3.548 MB / 464.7 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.3984, allocations: 0.5716 MB / 465.3 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/0.3987, allocations: 51.98 kB / 465.3 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009748/0.3997, allocations: 211.7 kB / 465.6 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.3999, allocations: 180.3 kB / 465.7 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.676e-05/0.4, allocations: 73.62 kB / 465.8 MB, free: 0.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001965/0.402, allocations: 1.595 MB / 467.4 MB, free: 15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.402, allocations: 0 / 467.4 MB, free: 15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004199/0.4062, allocations: 1.299 MB / 468.7 MB, free: 13.71 MB / 378.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.0004605/0.4066, allocations: 248.2 kB / 468.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005743/0.4124, allocations: 3.972 MB / 472.9 MB, free: 9.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.4124, allocations: 5.969 kB / 472.9 MB, free: 9.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.4142, allocations: 1.469 MB / 474.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.4158, allocations: 470.4 kB / 474.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.4267, allocations: 9.061 MB / 483.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.428, allocations: 1.333 MB / 485.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003162/0.4312, allocations: 1.731 MB / 487 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/0.4317, allocations: 264.4 kB / 487.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4317, allocations: 0 / 487.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of Templates: time 0.1734/0.6052, allocations: 37.04 MB / 0.512 GB, free: 129.7 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.547958760987967]