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.001057/0.001057, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.002729, allocations: 449.7 kB / 10.37 MB, free: 328 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.001063/0.001063, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004936/0.005998, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.129/1.129, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1299/1.259, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2932/0.2932, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02955/0.3227, allocations: 12.53 MB / 289.3 MB, free: 8.656 MB / 282.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.733e-06/1.733e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.929e-05, allocations: 4.141 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002404/0.002423, allocations: 1.89 MB / 292.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.004061, allocations: 1.341 MB / 293.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.729e-05/0.004158, allocations: 7.938 kB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.004269, allocations: 35.66 kB / 293.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.004372, allocations: 35.7 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.005689, allocations: 0.6275 MB / 294.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.005951, allocations: 232 kB / 294.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.006079, allocations: 34.48 kB / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.006323, allocations: 161.5 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.006502, allocations: 151.7 kB / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.006538, allocations: 24 kB / 295.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.00798, allocations: 1.185 MB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.008124, allocations: 91.7 kB / 296.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.073e-05/0.008204, allocations: 67.81 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.009288, allocations: 0.9583 MB / 297.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.009302, allocations: 4 kB / 297.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009303, allocations: 0 / 297.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.009324, allocations: 0 / 297.4 MB, free: 1.445 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.001074/0.0104, allocations: 0.7251 MB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.01044, allocations: 8.031 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.01065, allocations: 114 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.01091, allocations: 194 kB / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.01093, allocations: 16.38 kB / 298.5 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.01098, allocations: 31.88 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.01124, allocations: 222.7 kB / 298.7 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.01125, allocations: 0 / 298.7 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.01127, allocations: 8 kB / 298.7 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.01127, allocations: 4 kB / 298.7 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.01138, allocations: 50.36 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.01198, allocations: 480.7 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.01217, allocations: 216.2 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.79e-05/0.01224, allocations: 55.56 kB / 299.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.01226, allocations: 11.94 kB / 299.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.01229, allocations: 30.56 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.214e-06/0.01229, allocations: 4 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003018/0.0126, allocations: 162.8 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.01264, allocations: 85.05 kB / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.01285, allocations: 311 kB / 300.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.01287, allocations: 29.7 kB / 300.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.01294, allocations: 140.8 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.01301, allocations: 99.09 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.01312, allocations: 121.5 kB / 300.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01323, allocations: 350.7 kB / 300.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.01333, allocations: 83.81 kB / 300.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.01343, allocations: 119.4 kB / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.01376, allocations: 358.3 kB / 301.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01376, allocations: 4 kB / 301.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002949/0.01406, allocations: 300.7 kB / 301.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01407, allocations: 11.94 kB / 301.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.01409, allocations: 0 / 301.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.01411, allocations: 4 kB / 301.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.01445, allocations: 107.9 kB / 301.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01445, allocations: 8 kB / 301.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/0.01454, allocations: 63.36 kB / 301.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01456, allocations: 8 kB / 301.9 MB, free: 12.75 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.0001645/0.01472, allocations: 149 kB / 302 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.01477, allocations: 19.98 kB / 302 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.01482, allocations: 38.78 kB / 302.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01482, allocations: 8 kB / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01483, allocations: 0 / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01483, allocations: 3.984 kB / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.01502, allocations: 153.7 kB / 302.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01502, allocations: 4 kB / 302.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.01522, allocations: 51.91 kB / 302.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.01525, allocations: 35.69 kB / 302.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01525, allocations: 0 / 302.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.01528, allocations: 15.98 kB / 302.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.01528, allocations: 4 kB / 302.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01529, allocations: 4 kB / 302.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.01565, allocations: 480.7 kB / 302.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.01569, allocations: 15.98 kB / 302.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.01578, allocations: 4 kB / 302.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.01583, allocations: 19.97 kB / 302.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.01585, allocations: 8 kB / 302.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.771e-05/0.01592, allocations: 100.6 kB / 303 MB, free: 11.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01592, allocations: 3.938 kB / 303 MB, free: 11.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005913/0.01652, allocations: 247.7 kB / 303.2 MB, free: 11.36 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.0004119/0.01693, allocations: 293.4 kB / 303.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.01731, allocations: 346.3 kB / 303.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.01732, allocations: 4 kB / 303.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.0174, allocations: 72.69 kB / 303.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.01769, allocations: 66.03 kB / 304 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.0189, allocations: 0.6891 MB / 304.7 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.404e-05/0.01899, allocations: 116.3 kB / 304.8 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002413/0.01923, allocations: 21.94 kB / 304.8 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.01942, allocations: 103.3 kB / 304.9 MB, free: 9.586 MB / 298.7 MB Notification: Performance of SimCode: time 2.204e-06/0.01943, allocations: 0 / 304.9 MB, free: 9.586 MB / 298.7 MB Notification: Performance of Templates: time 0.01175/0.03118, allocations: 7.576 MB / 312.5 MB, free: 2.055 MB / 298.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 -ignoreHideResult -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.411752361804247]