Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00107/0.00107, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001016/0.001016, allocations: 170.4 kB / 24.91 MB, free: 9.191 MB / 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.9953/0.9953, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2742/0.2742, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.717e-05, allocations: 4.984 kB / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002234/0.002252, allocations: 1.836 MB / 325.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.003863, allocations: 1.345 MB / 326.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.003952, allocations: 3.938 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.004078, allocations: 35.7 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.004134, allocations: 35.66 kB / 326.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.005475, allocations: 0.6899 MB / 327.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.005701, allocations: 240 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.005809, allocations: 46.45 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.005988, allocations: 135.7 kB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.006131, allocations: 147.7 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.006168, allocations: 24 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.007557, allocations: 1.235 MB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.00769, allocations: 115.7 kB / 329.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.007767, allocations: 95.67 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.009035, allocations: 1.126 MB / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.009038, allocations: 4 kB / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.009039, allocations: 0 / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.009044, allocations: 4 kB / 330.3 MB, free: 2.605 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.0007553/0.009799, allocations: 0.6212 MB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.00983, allocations: 8.031 kB / 330.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.009951, allocations: 36.84 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.01015, allocations: 206 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.01016, allocations: 12.38 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.01021, allocations: 27.89 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.01043, allocations: 222.1 kB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.01044, allocations: 0 / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.01059, allocations: 8 kB / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.01059, allocations: 4 kB / 331.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.01068, allocations: 45.64 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.0113, allocations: 484.8 kB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.01149, allocations: 208.2 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.01157, allocations: 66.12 kB / 332.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.01159, allocations: 7.938 kB / 332.2 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.01161, allocations: 34.56 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.01162, allocations: 4 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002794/0.0119, allocations: 165.7 kB / 332.4 MB, free: 340 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.01193, allocations: 85.05 kB / 332.5 MB, free: 236 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.01212, allocations: 302.9 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.01214, allocations: 33.7 kB / 332.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.0122, allocations: 144.7 kB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.01227, allocations: 99.16 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.0124, allocations: 117.6 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.0125, allocations: 350.7 kB / 333.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.01263, allocations: 79.81 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.01277, allocations: 127.4 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.01308, allocations: 354.1 kB / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01309, allocations: 4 kB / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002765/0.01336, allocations: 296.7 kB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.01338, allocations: 11.98 kB / 334.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.01339, allocations: 0 / 334.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.0134, allocations: 4 kB / 334.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.01363, allocations: 87.89 kB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.01363, allocations: 0 / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.01372, allocations: 67.36 kB / 334.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.01374, allocations: 8 kB / 334.6 MB, free: 14.12 MB / 314.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.0001338/0.01387, allocations: 156.8 kB / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.01391, allocations: 27.92 kB / 334.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.01396, allocations: 34.78 kB / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01396, allocations: 4 kB / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01396, allocations: 3.984 kB / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01397, allocations: 0 / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.01414, allocations: 157.7 kB / 334.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01414, allocations: 0 / 334.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.01446, allocations: 47.97 kB / 335 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01447, allocations: 3.938 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.01449, allocations: 8 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01449, allocations: 15.92 kB / 335 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01449, allocations: 0 / 335 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.01481, allocations: 472.9 kB / 335.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.01484, allocations: 35.64 kB / 335.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.01487, allocations: 15.98 kB / 335.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.01497, allocations: 8 kB / 335.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.015, allocations: 15.97 kB / 335.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.01501, allocations: 4 kB / 335.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.866e-05/0.01508, allocations: 100.6 kB / 335.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01508, allocations: 4 kB / 335.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005278/0.01561, allocations: 251.7 kB / 335.9 MB, free: 12.73 MB / 314.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.00033/0.01594, allocations: 276.5 kB / 336.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.01626, allocations: 352.3 kB / 336.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.01626, allocations: 0 / 336.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.543e-05/0.01634, allocations: 68.78 kB / 336.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.01657, allocations: 49.06 kB / 336.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.01739, allocations: 0.7463 MB / 337.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.391e-05/0.01745, allocations: 112.2 kB / 337.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.723e-05/0.01752, allocations: 29.92 kB / 337.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.01766, allocations: 99.36 kB / 337.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01766, allocations: 0 / 337.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of Templates: time 0.008642/0.0263, allocations: 7.489 MB / 345.1 MB, free: 3.504 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.200461836066097]