Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001404/0.001404, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001492/0.001492, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.9104/0.9104, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1423/0.1423, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 347.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.793e-05, allocations: 8.281 kB / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002036/0.002064, allocations: 1.842 MB / 349.5 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.003877, allocations: 1.314 MB / 350.8 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.004, allocations: 0 / 350.8 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.004149, allocations: 31.72 kB / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.00422, allocations: 39.59 kB / 350.9 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.005584, allocations: 0.6698 MB / 351.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.005783, allocations: 235.3 kB / 351.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005889, allocations: 32.52 kB / 351.8 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.006032, allocations: 131.7 kB / 351.9 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.006169, allocations: 147.7 kB / 352.1 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.006203, allocations: 28 kB / 352.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.007489, allocations: 1.22 MB / 353.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.00759, allocations: 111.7 kB / 353.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.00767, allocations: 91.73 kB / 353.5 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.008596, allocations: 1.126 MB / 354.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.008598, allocations: 0 / 354.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.008599, allocations: 0 / 354.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.008604, allocations: 0 / 354.7 MB, free: 2.766 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007987/0.009402, allocations: 0.7482 MB / 355.4 MB, free: 1.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.009437, allocations: 12.03 kB / 355.4 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.518e-05/0.009522, allocations: 48.69 kB / 355.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.009753, allocations: 224.6 kB / 355.7 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.009768, allocations: 16.38 kB / 355.7 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.009818, allocations: 27.94 kB / 355.7 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.01011, allocations: 229 kB / 355.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01012, allocations: 8 kB / 356 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.01014, allocations: 4 kB / 356 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.01015, allocations: 4 kB / 356 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.0103, allocations: 66.14 kB / 356 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007603/0.01106, allocations: 0.701 MB / 356.7 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.01128, allocations: 146.1 kB / 356.9 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.01139, allocations: 75.27 kB / 356.9 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.01142, allocations: 4 kB / 356.9 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.01144, allocations: 41.39 kB / 357 MB, free: 260 kB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.01144, allocations: 4 kB / 357 MB, free: 256 kB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004855/0.01193, allocations: 245.6 kB / 357.2 MB, free: 4 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.01199, allocations: 81.11 kB / 357.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.01229, allocations: 386.4 kB / 357.7 MB, free: 15.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.01232, allocations: 29.7 kB / 357.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.01242, allocations: 191.6 kB / 357.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.102e-05/0.0125, allocations: 107.1 kB / 358 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.01266, allocations: 135.3 kB / 358.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.01282, allocations: 0.5274 MB / 358.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.01301, allocations: 101 kB / 358.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.01324, allocations: 169.3 kB / 358.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.01384, allocations: 439 kB / 359.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.01385, allocations: 4 kB / 359.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006172/0.01446, allocations: 432.3 kB / 359.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01448, allocations: 8 kB / 359.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.0145, allocations: 7.984 kB / 359.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01451, allocations: 4 kB / 359.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.01486, allocations: 95.88 kB / 359.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.01487, allocations: 0 / 359.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.01499, allocations: 75.23 kB / 360 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.01501, allocations: 16 kB / 360 MB, free: 13.15 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.0001692/0.01518, allocations: 190.4 kB / 360.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.01526, allocations: 31.81 kB / 360.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.241e-05/0.01532, allocations: 42.77 kB / 360.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01532, allocations: 0 / 360.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01533, allocations: 4 kB / 360.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01533, allocations: 4 kB / 360.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.01568, allocations: 236.4 kB / 360.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01568, allocations: 0 / 360.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.01594, allocations: 55.91 kB / 360.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01594, allocations: 0 / 360.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.01598, allocations: 11.98 kB / 360.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01598, allocations: 7.984 kB / 360.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01598, allocations: 0 / 360.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.01652, allocations: 0.5343 MB / 361.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.01655, allocations: 35.7 kB / 361.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.01659, allocations: 8 kB / 361.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.01676, allocations: 11.98 kB / 361.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.01682, allocations: 23.95 kB / 361.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.01684, allocations: 4 kB / 361.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.01699, allocations: 231 kB / 361.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01699, allocations: 0 / 361.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005869/0.01758, allocations: 251.6 kB / 361.6 MB, free: 11.41 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.0004233/0.018, allocations: 290.6 kB / 361.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.01863, allocations: 412.3 kB / 362.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01863, allocations: 0 / 362.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01877, allocations: 92.61 kB / 362.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.0192, allocations: 43.47 kB / 362.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.0204, allocations: 0.7362 MB / 363.2 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.0205, allocations: 116.3 kB / 363.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000131/0.02064, allocations: 46.23 kB / 363.4 MB, free: 9.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.11e-05/0.02073, allocations: 24.5 kB / 363.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02073, allocations: 0 / 363.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of Templates: time 0.01021/0.03094, allocations: 6.687 MB / 370.1 MB, free: 2.926 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.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: 3.5100234509445727]