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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 99.59 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 186.5 kB / 16.92 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 223.1 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5177/0.5177, allocations: 43.56 MB / 315 MB, free: 8.711 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006031/0.0006029, allocations: 16 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1601, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002227/0.1624, allocations: 1.537 MB / 445 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1651, allocations: 1.432 MB / 446.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.1653, allocations: 0 / 446.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.1655, allocations: 27.78 kB / 446.4 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1656, allocations: 15.84 kB / 446.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.1677, allocations: 487 kB / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.1682, allocations: 267.3 kB / 447.2 MB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1684, allocations: 48.27 kB / 447.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.1687, allocations: 87.62 kB / 447.3 MB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.1691, allocations: 163.4 kB / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/0.1691, allocations: 12 kB / 447.5 MB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.1705, allocations: 0.7253 MB / 448.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.1707, allocations: 103.7 kB / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.1709, allocations: 160.8 kB / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.1721, allocations: 1.041 MB / 449.5 MB, free: 6.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1721, allocations: 0 / 449.5 MB, free: 6.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.1721, allocations: 0 / 449.5 MB, free: 6.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1722, allocations: 0 / 449.5 MB, free: 6.574 MB / 382.1 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.001201/0.1734, allocations: 0.6816 MB / 450.2 MB, free: 5.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1734, allocations: 8.031 kB / 450.2 MB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.1735, allocations: 28.56 kB / 450.2 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.1738, allocations: 288 kB / 450.5 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1738, allocations: 12 kB / 450.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/0.1739, allocations: 35.83 kB / 450.6 MB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.1744, allocations: 279.1 kB / 450.8 MB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1745, allocations: 0 / 450.8 MB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.1745, allocations: 4 kB / 450.8 MB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1745, allocations: 4 kB / 450.8 MB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.1749, allocations: 239.6 kB / 451.1 MB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.1762, allocations: 0.7577 MB / 451.8 MB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.1767, allocations: 296.9 kB / 452.1 MB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.177, allocations: 197.6 kB / 452.3 MB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.177, allocations: 8 kB / 452.3 MB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.177, allocations: 38.5 kB / 452.4 MB, free: 3.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.1771, allocations: 0 / 452.4 MB, free: 3.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009824/0.178, allocations: 0.5481 MB / 452.9 MB, free: 2.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.1781, allocations: 89.03 kB / 453 MB, free: 2.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.1785, allocations: 348.5 kB / 453.3 MB, free: 2.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.1785, allocations: 33.7 kB / 453.4 MB, free: 2.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.619e-05/0.1786, allocations: 136.8 kB / 453.5 MB, free: 2.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.556e-05/0.1787, allocations: 98.56 kB / 453.6 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.1788, allocations: 85.66 kB / 453.7 MB, free: 2.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.179, allocations: 346.8 kB / 454 MB, free: 1.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.1794, allocations: 296.8 kB / 454.3 MB, free: 1.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.1799, allocations: 347.2 kB / 454.6 MB, free: 1.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2851/0.465, allocations: 1.77 MB / 456.4 MB, free: 45.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.4651, allocations: 2.625 kB / 456.4 MB, free: 45.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001197/0.4663, allocations: 0.7751 MB / 457.2 MB, free: 45.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4663, allocations: 9.469 kB / 457.2 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.4663, allocations: 5.812 kB / 457.2 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.4664, allocations: 4.375 kB / 457.2 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.4668, allocations: 99.81 kB / 457.3 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4669, allocations: 0 / 457.3 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.4671, allocations: 69.09 kB / 457.4 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.4671, allocations: 11.81 kB / 457.4 MB, free: 45.56 MB / 382.1 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.0002492/0.4674, allocations: 184.7 kB / 457.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.4674, allocations: 25.91 kB / 457.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.4675, allocations: 39.44 kB / 457.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.4676, allocations: 2.938 kB / 457.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4676, allocations: 0 / 457.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.4676, allocations: 5.297 kB / 457.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.4679, allocations: 340 kB / 458 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.468, allocations: 6.484 kB / 458 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.4683, allocations: 49.62 kB / 458 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4683, allocations: 2.906 kB / 458 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.4683, allocations: 16.56 kB / 458.1 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4683, allocations: 2.75 kB / 458.1 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4683, allocations: 0 / 458.1 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.4692, allocations: 0.7559 MB / 458.8 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.4693, allocations: 108.2 kB / 458.9 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.4693, allocations: 15.06 kB / 458.9 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.4696, allocations: 16.59 kB / 458.9 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.4696, allocations: 14.83 kB / 459 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.4697, allocations: 8.438 kB / 459 MB, free: 44.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.4698, allocations: 225 kB / 459.2 MB, free: 44.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4698, allocations: 0 / 459.2 MB, free: 44.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008227/0.4707, allocations: 248.9 kB / 459.4 MB, free: 44.86 MB / 382.1 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.0004907/0.4712, allocations: 257.5 kB / 459.7 MB, free: 44.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009031/0.4721, allocations: 0.7503 MB / 460.4 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4721, allocations: 0 / 460.4 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.4724, allocations: 201.2 kB / 460.6 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.4729, allocations: 40.27 kB / 460.7 MB, free: 44.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.474, allocations: 1.063 MB / 461.7 MB, free: 44.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.4743, allocations: 0.8095 MB / 462.5 MB, free: 43.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.4744, allocations: 68.56 kB / 462.6 MB, free: 43.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.4745, allocations: 22.19 kB / 462.6 MB, free: 43.46 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4745, allocations: 1.719 kB / 462.6 MB, free: 43.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01059/0.4851, allocations: 6.295 MB / 468.9 MB, free: 43.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches