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.001232/0.001232, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001009/0.001009, allocations: 169.3 kB / 24.14 MB, free: 356 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.8902/0.8902, allocations: 158.6 MB / 186 MB, free: 2.758 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.1479/0.1479, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.532e-06/1.532e-06, allocations: 0 / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.944e-05, allocations: 2.312 kB / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00234/0.002359, allocations: 1.871 MB / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1418/0.1441, allocations: 1.311 MB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1443, allocations: 1.469 kB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1444, allocations: 30.94 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.672e-05/0.1445, allocations: 37.09 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.1463, allocations: 0.6465 MB / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.1466, allocations: 234.2 kB / 303.2 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1467, allocations: 31.83 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.1469, allocations: 131.5 kB / 303.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1472, allocations: 151 kB / 303.5 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.1472, allocations: 24.22 kB / 303.6 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.1493, allocations: 1.267 MB / 304.8 MB, free: 18.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.1495, allocations: 120.1 kB / 304.9 MB, free: 18.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.1496, allocations: 92.45 kB / 305 MB, free: 18.69 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.1515, allocations: 1.123 MB / 306.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1515, allocations: 0 / 306.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1515, allocations: 1.656 kB / 306.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1515, allocations: 0 / 306.2 MB, free: 18.41 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.0009575/0.1524, allocations: 0.619 MB / 306.8 MB, free: 17.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.1525, allocations: 10.28 kB / 306.8 MB, free: 17.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.1526, allocations: 26.81 kB / 306.8 MB, free: 17.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1528, allocations: 206.5 kB / 307 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1528, allocations: 15.41 kB / 307 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.1529, allocations: 28.38 kB / 307.1 MB, free: 17.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.1531, allocations: 221.7 kB / 307.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1531, allocations: 0 / 307.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1532, allocations: 5.375 kB / 307.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1532, allocations: 2.812 kB / 307.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.704e-05/0.1533, allocations: 55.78 kB / 307.3 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.1538, allocations: 489.6 kB / 307.8 MB, free: 17.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.154, allocations: 214.3 kB / 308 MB, free: 17.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.913e-05/0.1541, allocations: 51.69 kB / 308.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1541, allocations: 8.594 kB / 308.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.1541, allocations: 33.62 kB / 308.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.943e-06/0.1541, allocations: 1.078 kB / 308.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002893/0.1544, allocations: 165.1 kB / 308.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1544, allocations: 83.27 kB / 308.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1546, allocations: 311.9 kB / 308.7 MB, free: 16.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1547, allocations: 35.92 kB / 308.7 MB, free: 16.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.1547, allocations: 136.5 kB / 308.8 MB, free: 16.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.1548, allocations: 105.5 kB / 308.9 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1549, allocations: 118.4 kB / 309.1 MB, free: 16.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.1549, allocations: 351.7 kB / 309.4 MB, free: 16.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.155, allocations: 77.86 kB / 309.5 MB, free: 16.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1551, allocations: 120.5 kB / 309.6 MB, free: 16.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.1555, allocations: 355.9 kB / 309.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1555, allocations: 0 / 309.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0003768/0.1559, allocations: 300.1 kB / 310.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1559, allocations: 9.719 kB / 310.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.1559, allocations: 2.812 kB / 310.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1559, allocations: 5.344 kB / 310.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.1563, allocations: 99.08 kB / 310.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1563, allocations: 4.031 kB / 310.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.1564, allocations: 64.66 kB / 310.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1564, allocations: 9.188 kB / 310.4 MB, free: 15.71 MB / 282.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.000139/0.1565, allocations: 159.5 kB / 310.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.1566, allocations: 24.48 kB / 310.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.1566, allocations: 40.61 kB / 310.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1566, allocations: 4.062 kB / 310.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1566, allocations: 1.656 kB / 310.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1566, allocations: 0 / 310.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1568, allocations: 146.7 kB / 310.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1568, allocations: 0 / 310.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.157, allocations: 52.56 kB / 310.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.157, allocations: 6.188 kB / 310.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.157, allocations: 12.83 kB / 310.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.157, allocations: 1.062 kB / 310.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.157, allocations: 5.188 kB / 310.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.1574, allocations: 471.1 kB / 311.3 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.1574, allocations: 34.3 kB / 311.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.1574, allocations: 14.61 kB / 311.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.1575, allocations: 6.75 kB / 311.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.1576, allocations: 22.84 kB / 311.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1576, allocations: 6.734 kB / 311.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.1577, allocations: 96.88 kB / 311.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1577, allocations: 0 / 311.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007787/0.1584, allocations: 260 kB / 311.8 MB, free: 14.86 MB / 282.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.0004079/0.1588, allocations: 275.8 kB / 312 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.1592, allocations: 354.4 kB / 312.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.1592, allocations: 2.5 kB / 312.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1594, allocations: 80.14 kB / 312.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1596, allocations: 45.95 kB / 312.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009978/0.1606, allocations: 0.7306 MB / 313.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.153e-05/0.1607, allocations: 108.7 kB / 313.3 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.932e-05/0.1608, allocations: 27.03 kB / 313.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.161, allocations: 96.36 kB / 313.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.161, allocations: 0 / 313.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of Templates: time 0.009359/0.1703, allocations: 7.485 MB / 320.9 MB, free: 8.051 MB / 282.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.2738446639850736]