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.000912/0.000912, 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.0008831/0.0008831, 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.8878/0.8878, 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.1309/0.1309, 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.323e-06/1.323e-06, allocations: 0 / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.71e-05, allocations: 2.312 kB / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.005444/0.005461, allocations: 1.828 MB / 300.9 MB, free: 384 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.148/0.1534, allocations: 1.308 MB / 302.2 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1536, allocations: 2.281 kB / 302.2 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.1537, allocations: 32.31 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.538e-05/0.1538, allocations: 37.92 kB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.156, allocations: 0.6828 MB / 302.9 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.1564, allocations: 235.6 kB / 303.2 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1565, allocations: 38.36 kB / 303.2 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.1568, allocations: 135.4 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.157, allocations: 147.3 kB / 303.5 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.1571, allocations: 23.12 kB / 303.5 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.1594, allocations: 1.222 MB / 304.7 MB, free: 18.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.1596, allocations: 119.8 kB / 304.9 MB, free: 18.81 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.1598, allocations: 87.97 kB / 304.9 MB, free: 18.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.1621, allocations: 1.135 MB / 306.1 MB, free: 18.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1621, allocations: 0 / 306.1 MB, free: 18.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1621, allocations: 0.7812 kB / 306.1 MB, free: 18.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1621, allocations: 0.75 kB / 306.1 MB, free: 18.48 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.001241/0.1633, allocations: 0.6126 MB / 306.7 MB, free: 18.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1633, allocations: 9.875 kB / 306.7 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.462e-05/0.1634, allocations: 28.45 kB / 306.7 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1637, allocations: 206.4 kB / 306.9 MB, free: 17.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1637, allocations: 15.47 kB / 306.9 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.1637, allocations: 24.14 kB / 307 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.164, allocations: 224.4 kB / 307.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.164, allocations: 1.094 kB / 307.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.1641, allocations: 5.781 kB / 307.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1641, allocations: 3.531 kB / 307.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1642, allocations: 52.94 kB / 307.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.1649, allocations: 481.2 kB / 307.7 MB, free: 17.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1651, allocations: 214.1 kB / 307.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.1652, allocations: 60.75 kB / 308 MB, free: 17.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1653, allocations: 7.531 kB / 308 MB, free: 17.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1653, allocations: 38.31 kB / 308 MB, free: 17.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/0.1653, allocations: 3.938 kB / 308 MB, free: 17.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003842/0.1657, allocations: 159.6 kB / 308.2 MB, free: 17.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1657, allocations: 90.67 kB / 308.3 MB, free: 16.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1659, allocations: 306.6 kB / 308.6 MB, free: 16.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.166, allocations: 32.02 kB / 308.6 MB, free: 16.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.166, allocations: 132.5 kB / 308.7 MB, free: 16.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.1661, allocations: 104.6 kB / 308.8 MB, free: 16.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.1662, allocations: 117.8 kB / 309 MB, free: 16.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.1663, allocations: 354.3 kB / 309.3 MB, free: 16.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1664, allocations: 78.22 kB / 309.4 MB, free: 16.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.1666, allocations: 120.6 kB / 309.5 MB, free: 16.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/0.167, allocations: 360.8 kB / 309.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.167, allocations: 0 / 309.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004583/0.1675, allocations: 291.6 kB / 310.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1675, allocations: 6.281 kB / 310.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.1675, allocations: 6.484 kB / 310.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1675, allocations: 1.406 kB / 310.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.1679, allocations: 91.58 kB / 310.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1679, allocations: 8 kB / 310.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.168, allocations: 61.94 kB / 310.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.1681, allocations: 14 kB / 310.3 MB, free: 15.8 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.0002148/0.1683, allocations: 154.7 kB / 310.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.1683, allocations: 23.89 kB / 310.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/0.1684, allocations: 38 kB / 310.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1684, allocations: 2.719 kB / 310.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1684, allocations: 1.312 kB / 310.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1684, allocations: 6.781 kB / 310.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1687, allocations: 153.6 kB / 310.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1687, allocations: 1.844 kB / 310.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.1689, allocations: 45.17 kB / 310.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.169, allocations: 5.344 kB / 310.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.169, allocations: 12.86 kB / 310.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.169, allocations: 1.312 kB / 310.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.169, allocations: 5.344 kB / 310.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.1694, allocations: 467.5 kB / 311.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.1695, allocations: 33.41 kB / 311.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.1695, allocations: 9.312 kB / 311.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1697, allocations: 11.58 kB / 311.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.1697, allocations: 13.38 kB / 311.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.1697, allocations: 11.66 kB / 311.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.908e-05/0.1698, allocations: 100.3 kB / 311.4 MB, free: 15 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1698, allocations: 1.375 kB / 311.4 MB, free: 15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001222/0.1711, allocations: 255.5 kB / 311.6 MB, free: 14.96 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.0005466/0.1716, allocations: 282.2 kB / 311.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004794/0.1721, allocations: 350 kB / 312.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.1721, allocations: 3.75 kB / 312.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1722, allocations: 71.69 kB / 312.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1726, allocations: 46.56 kB / 312.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1736, allocations: 0.7312 MB / 313.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.974e-05/0.1736, allocations: 120.4 kB / 313.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.612e-05/0.1737, allocations: 24.42 kB / 313.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.1739, allocations: 95.89 kB / 313.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1739, allocations: 1.219 kB / 313.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of Templates: time 0.01086/0.1848, allocations: 7.492 MB / 320.8 MB, free: 8.164 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.167405794840306]