Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.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.0007762/0.0007762, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.001922, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001479/0.001479, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006569/0.008048, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9813/0.9813, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09377/1.075, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2516/0.2516, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02318/0.2748, allocations: 13.11 MB / 291.5 MB, free: 7.348 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 3.938 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.214e-05, allocations: 4.812 kB / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002061/0.002083, allocations: 1.893 MB / 294.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.003606, allocations: 1.353 MB / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.003714, allocations: 3.938 kB / 296.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.003831, allocations: 35.66 kB / 296.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.003884, allocations: 31.72 kB / 296.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.005204, allocations: 0.6235 MB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.005438, allocations: 227.3 kB / 297 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.00554, allocations: 42.47 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.00575, allocations: 155.6 kB / 297.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.005899, allocations: 151.7 kB / 297.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.005933, allocations: 24 kB / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.007334, allocations: 1.185 MB / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.007463, allocations: 95.7 kB / 298.6 MB, free: 396 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.007533, allocations: 63.81 kB / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.008572, allocations: 0.9583 MB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.008582, allocations: 0 / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008584, allocations: 0 / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.008596, allocations: 0 / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000913/0.009509, allocations: 0.7256 MB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.00954, allocations: 8.031 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.009714, allocations: 114 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.009944, allocations: 201.9 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.009957, allocations: 12.38 kB / 300.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.01, allocations: 31.89 kB / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.01024, allocations: 218.7 kB / 301 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.01025, allocations: 4 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.01026, allocations: 7.938 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.01027, allocations: 4 kB / 301 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.829e-05/0.01036, allocations: 58.69 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.01091, allocations: 480.7 kB / 301.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.01108, allocations: 213.4 kB / 301.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.01114, allocations: 57.62 kB / 301.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.01116, allocations: 8 kB / 301.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.01119, allocations: 34.56 kB / 301.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.485e-06/0.01119, allocations: 4 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002687/0.01146, allocations: 167.8 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.01149, allocations: 81.05 kB / 302.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.01166, allocations: 314.9 kB / 302.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.01168, allocations: 29.7 kB / 302.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.01173, allocations: 132.9 kB / 302.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.01179, allocations: 107 kB / 302.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/0.01188, allocations: 113.6 kB / 302.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.01196, allocations: 350.7 kB / 303.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.01205, allocations: 79.81 kB / 303.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/0.01215, allocations: 123.4 kB / 303.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.01244, allocations: 353.1 kB / 303.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01244, allocations: 0 / 303.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002713/0.01272, allocations: 300.7 kB / 303.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.01273, allocations: 4 kB / 303.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.01274, allocations: 4 kB / 303.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01276, allocations: 7.938 kB / 303.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.01308, allocations: 107.9 kB / 304 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.01308, allocations: 0 / 304 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.01316, allocations: 67.41 kB / 304.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.01318, allocations: 4 kB / 304.1 MB, free: 10.68 MB / 298.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.01334, allocations: 169 kB / 304.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.01338, allocations: 15.98 kB / 304.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.01343, allocations: 38.78 kB / 304.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01344, allocations: 4 kB / 304.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01344, allocations: 0 / 304.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01344, allocations: 7.984 kB / 304.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.01362, allocations: 153.7 kB / 304.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01362, allocations: 4 kB / 304.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.01381, allocations: 55.91 kB / 304.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.01383, allocations: 35.69 kB / 304.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.01384, allocations: 0 / 304.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.01386, allocations: 15.97 kB / 304.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01387, allocations: 4 kB / 304.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01387, allocations: 0 / 304.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.0142, allocations: 481.7 kB / 305.1 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.01423, allocations: 11.98 kB / 305.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.01433, allocations: 8 kB / 305.1 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.01438, allocations: 19.97 kB / 305.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.01439, allocations: 0 / 305.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.109e-05/0.01446, allocations: 108.6 kB / 305.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01446, allocations: 0 / 305.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006349/0.01509, allocations: 255.7 kB / 305.5 MB, free: 9.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004173/0.01551, allocations: 293.3 kB / 305.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.01586, allocations: 344.4 kB / 306.1 MB, free: 8.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.01587, allocations: 8 kB / 306.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/0.01596, allocations: 78.23 kB / 306.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.01629, allocations: 282.6 kB / 306.4 MB, free: 8.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.0174, allocations: 0.6916 MB / 307.1 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.568e-05/0.01746, allocations: 112.3 kB / 307.2 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.01753, allocations: 25.94 kB / 307.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.01768, allocations: 95.36 kB / 307.4 MB, free: 7.238 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01768, allocations: 0 / 307.4 MB, free: 7.238 MB / 298.7 MB Notification: Performance of Templates: time 0.009441/0.02712, allocations: 7.404 MB / 314.8 MB, free: 15.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.07865805644542]