Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 145.1 kB / 24.54 MB, free: 40 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8937/0.8937, allocations: 173.4 MB / 201.1 MB, free: 9.355 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.484e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01626/0.0163, allocations: 10.45 MB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.02216, allocations: 3.877 MB / 282.3 MB, free: 8.043 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.02336, allocations: 71.62 kB / 282.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.02633, allocations: 2.78 MB / 285.2 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.02983, allocations: 1.878 MB / 287.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.03102, allocations: 0.7405 MB / 287.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1157/0.1467, allocations: 4.04 MB / 291.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004008/0.1507, allocations: 3.077 MB / 294.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.1542, allocations: 2.255 MB / 297.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003031/0.1572, allocations: 2.128 MB / 299.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009794/0.1582, allocations: 317.9 kB / 299.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.1601, allocations: 1.12 MB / 300.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.1615, allocations: 1.966 MB / 302.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.1631, allocations: 1.247 MB / 303.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004485/0.1676, allocations: 4.404 MB / 308.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1676, allocations: 0.5 kB / 308.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1676, allocations: 0.625 kB / 308.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001911/0.1678, allocations: 0 / 308.4 MB, free: 12.18 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.005815/0.1736, allocations: 5.005 MB / 313.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1736, allocations: 13.2 kB / 313.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/0.1774, allocations: 2.395 MB / 315.8 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.1792, allocations: 1.849 MB / 317.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.464e-05/0.1793, allocations: 243.6 kB / 317.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004288/0.1797, allocations: 395.7 kB / 318.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006543/0.1863, allocations: 6.463 MB / 324.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000116/0.1864, allocations: 40.2 kB / 324.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002866/0.1867, allocations: 158.8 kB / 324.9 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001591/0.1883, allocations: 1.862 MB / 326.8 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007979/0.1963, allocations: 3.546 MB / 330.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.228, allocations: 43.86 MB / 374.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005306/0.2333, allocations: 2.641 MB / 376.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007955/0.2341, allocations: 0.5723 MB / 377.4 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005255/0.2394, allocations: 4.342 MB / 381.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.2394, allocations: 50.39 kB / 381.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 4.558e-06/0.2394, allocations: 0 / 381.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01884/0.2583, allocations: 9.613 MB / 391.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001196/0.2595, allocations: 2.054 MB / 393.4 MB, free: 8.586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004532/0.264, allocations: 3.41 MB / 396.8 MB, free: 5.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.2642, allocations: 49.7 kB / 396.9 MB, free: 5.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002046/0.2663, allocations: 3.396 MB / 400.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007164/0.267, allocations: 0.686 MB / 401 MB, free: 1.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/0.2687, allocations: 1.359 MB / 402.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.2688, allocations: 476.8 kB / 402.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.2702, allocations: 0.7031 MB / 403.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004631/0.2749, allocations: 6.537 MB / 410 MB, free: 5.344 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007073/0.2819, allocations: 7.99 MB / 418 MB, free: 10.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003725/0.2823, allocations: 40 kB / 418.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01578/0.2981, allocations: 7.099 MB / 425.2 MB, free: 3.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.2982, allocations: 66.5 kB / 425.2 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007626/0.3058, allocations: 2.48 MB / 427.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1323/0.4381, allocations: 2.348 MB / 430.1 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003379/0.4415, allocations: 1.375 MB / 431.4 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00496/0.4465, allocations: 5.774 MB / 437.2 MB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003678/0.4501, allocations: 452 kB / 437.6 MB, free: 106.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007701/0.4509, allocations: 390.4 kB / 438 MB, free: 106.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.001749/0.4527, allocations: 0.6787 MB / 438.7 MB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005373/0.4532, allocations: 359.2 kB / 439.1 MB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/0.4565, allocations: 1.891 MB / 441 MB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002567/0.4591, allocations: 1.504 MB / 442.5 MB, free: 106 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.4591, allocations: 2.75 kB / 442.5 MB, free: 106 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.4591, allocations: 7.375 kB / 442.5 MB, free: 106 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009236/0.4683, allocations: 6.24 MB / 448.7 MB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.4684, allocations: 3.344 kB / 448.7 MB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.4689, allocations: 194.4 kB / 448.9 MB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002531/0.4714, allocations: 1.16 MB / 450.1 MB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/0.4715, allocations: 36.84 kB / 450.1 MB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.4741, allocations: 5.263 MB / 455.4 MB, free: 100.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004555/0.4745, allocations: 1.911 MB / 457.3 MB, free: 99.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/0.4782, allocations: 2.935 MB / 460.2 MB, free: 98.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/0.4787, allocations: 293.8 kB / 460.5 MB, free: 98.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.4789, allocations: 31.67 kB / 460.5 MB, free: 98.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.4796, allocations: 146.9 kB / 460.7 MB, free: 98.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.4798, allocations: 99.17 kB / 460.8 MB, free: 98.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.4799, allocations: 43.19 kB / 460.8 MB, free: 98.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001638/0.4815, allocations: 1.422 MB / 462.2 MB, free: 98.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4815, allocations: 0 / 462.2 MB, free: 98.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003434/0.4849, allocations: 1.113 MB / 463.3 MB, free: 98.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004028/0.4853, allocations: 195.7 kB / 463.5 MB, free: 98.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004637/0.49, allocations: 3.643 MB / 467.2 MB, free: 95.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.49, allocations: 192 / 467.2 MB, free: 95.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.4916, allocations: 1.369 MB / 468.5 MB, free: 94.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.4928, allocations: 373.5 kB / 468.9 MB, free: 94.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/0.501, allocations: 7.428 MB / 476.3 MB, free: 86.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008212/0.5018, allocations: 1.153 MB / 477.5 MB, free: 85.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002086/0.5039, allocations: 1.555 MB / 479 MB, free: 84.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.5043, allocations: 208.5 kB / 479.2 MB, free: 84.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.134e-06/0.5043, allocations: 0 / 479.2 MB, free: 84.04 MB / 378.7 MB Notification: Performance of Templates: time 0.05067/0.5549, allocations: 34.1 MB / 0.5013 GB, free: 50.48 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.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.132959310896695]