Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001002/0.001002, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001056/0.001056, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9742/0.9742, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.42e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01287/0.0129, allocations: 10.43 MB / 283.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00866/0.02156, allocations: 3.873 MB / 287.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.023, allocations: 75.62 kB / 287.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003237/0.02624, allocations: 2.776 MB / 290.1 MB, free: 332 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1293/0.1556, allocations: 1.832 MB / 292 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.157, allocations: 0.7393 MB / 292.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004513/0.1615, allocations: 4.103 MB / 296.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003449/0.1649, allocations: 3.065 MB / 299.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.1676, allocations: 2.239 MB / 302.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.1698, allocations: 2.122 MB / 304.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004207/0.1702, allocations: 319.4 kB / 304.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.1717, allocations: 1.099 MB / 305.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.1728, allocations: 1.959 MB / 307.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.1739, allocations: 1.232 MB / 308.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.1765, allocations: 4.339 MB / 313.2 MB, free: 7.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1765, allocations: 0 / 313.2 MB, free: 7.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1765, allocations: 4 kB / 313.2 MB, free: 7.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.812e-05/0.1766, allocations: 0 / 313.2 MB, free: 7.359 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.00487/0.1815, allocations: 4.964 MB / 318.1 MB, free: 2.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1815, allocations: 8.031 kB / 318.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004216/0.1857, allocations: 2.458 MB / 320.6 MB, free: 0 / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.1883, allocations: 1.834 MB / 322.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.1885, allocations: 242.7 kB / 322.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005394/0.189, allocations: 399.4 kB / 323.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009464/0.1985, allocations: 6.489 MB / 329.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.1986, allocations: 34.47 kB / 329.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.1989, allocations: 162.3 kB / 329.7 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001683/0.2006, allocations: 1.854 MB / 331.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008355/0.2089, allocations: 3.572 MB / 335.2 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.2421, allocations: 43.85 MB / 379 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005943/0.248, allocations: 2.666 MB / 381.7 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009267/0.2489, allocations: 0.5751 MB / 382.3 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005962/0.2549, allocations: 4.364 MB / 386.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.2549, allocations: 54.33 kB / 386.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 3.557e-06/0.2549, allocations: 0 / 386.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=159): time 0.0191/0.2741, allocations: 9.627 MB / 396.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001225/0.2753, allocations: 2.047 MB / 398.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004621/0.2799, allocations: 3.409 MB / 401.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002344/0.2801, allocations: 49.64 kB / 401.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002262/0.2824, allocations: 3.386 MB / 405.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008419/0.2832, allocations: 0.7005 MB / 405.9 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/0.285, allocations: 1.347 MB / 407.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2851, allocations: 476.8 kB / 407.7 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.2867, allocations: 0.7031 MB / 408.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004686/0.2914, allocations: 6.531 MB / 414.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007661/0.2991, allocations: 7.99 MB / 422.9 MB, free: 2.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/0.2992, allocations: 44 kB / 423 MB, free: 2.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01744/0.3166, allocations: 7.157 MB / 430.1 MB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-05/0.3167, allocations: 65 kB / 430.2 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008085/0.3248, allocations: 2.556 MB / 432.8 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0085/0.3333, allocations: 2.448 MB / 435.2 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/0.3363, allocations: 1.38 MB / 436.6 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1348/0.4711, allocations: 8.39 MB / 445 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/0.4746, allocations: 455.9 kB / 445.4 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000688/0.4753, allocations: 390 kB / 445.8 MB, free: 115.9 MB / 394.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.001348/0.4766, allocations: 0.6764 MB / 446.5 MB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/0.4771, allocations: 356.7 kB / 446.8 MB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.4774, allocations: 348.2 kB / 447.2 MB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002982/0.4804, allocations: 1.495 MB / 448.7 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.4804, allocations: 7.172 kB / 448.7 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.4804, allocations: 7.922 kB / 448.7 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009502/0.4899, allocations: 6.239 MB / 454.9 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.4899, allocations: 1.156 kB / 454.9 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.4904, allocations: 188.6 kB / 455.1 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/0.4931, allocations: 1.177 MB / 456.3 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.871e-05/0.4932, allocations: 36.5 kB / 456.3 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005288/0.4985, allocations: 7.845 MB / 464.2 MB, free: 109.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004971/0.499, allocations: 1.899 MB / 466.1 MB, free: 107.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.5029, allocations: 2.95 MB / 469 MB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.5034, allocations: 291.4 kB / 469.3 MB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.5036, allocations: 28.33 kB / 469.3 MB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007015/0.5043, allocations: 157.5 kB / 469.5 MB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.5045, allocations: 114.7 kB / 469.6 MB, free: 106.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/0.5046, allocations: 45.39 kB / 469.6 MB, free: 106.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001686/0.5063, allocations: 1.418 MB / 471 MB, free: 106.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5063, allocations: 0 / 471 MB, free: 106.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003566/0.5098, allocations: 1.147 MB / 472.2 MB, free: 106.5 MB / 394.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.0003786/0.5102, allocations: 185.7 kB / 472.4 MB, free: 106.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005179/0.5154, allocations: 3.955 MB / 476.3 MB, free: 105.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5154, allocations: 0 / 476.3 MB, free: 105.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.5173, allocations: 1.686 MB / 478 MB, free: 104.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.5187, allocations: 371.3 kB / 478.4 MB, free: 104.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00968/0.5284, allocations: 7.42 MB / 485.8 MB, free: 98.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009455/0.5293, allocations: 1.183 MB / 487 MB, free: 97.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002129/0.5314, allocations: 1.551 MB / 488.5 MB, free: 96.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.5318, allocations: 204.5 kB / 488.7 MB, free: 96.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.903e-06/0.5318, allocations: 0 / 488.7 MB, free: 96.24 MB / 394.7 MB Notification: Performance of Templates: time 0.04667/0.5785, allocations: 37.15 MB / 0.5136 GB, free: 59.67 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.40385135775432]