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.001604/0.001605, allocations: 105.7 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001685, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2232/0.2232, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.002107/0.002107, allocations: 69.47 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1389, allocations: 57.8 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003102/0.142, allocations: 1.824 MB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1442, allocations: 1.381 MB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1444, allocations: 4 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.1446, allocations: 27.72 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.777e-05/0.1447, allocations: 35.7 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.1463, allocations: 0.5572 MB / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.1466, allocations: 283.3 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1467, allocations: 56.19 kB / 0.4919 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1469, allocations: 119.6 kB / 0.4921 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.1472, allocations: 171.5 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.1472, allocations: 24 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.1483, allocations: 0.8033 MB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1484, allocations: 119.7 kB / 0.4931 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1486, allocations: 143.1 kB / 0.4933 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.1498, allocations: 1.071 MB / 0.4943 GB, free: 5.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1498, allocations: 0 / 0.4943 GB, free: 5.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1499, allocations: 4 kB / 0.4943 GB, free: 5.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1499, allocations: 0 / 0.4943 GB, free: 5.141 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.001532/0.1514, allocations: 0.7166 MB / 0.495 GB, free: 4.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1515, allocations: 15.89 kB / 0.495 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.155e-05/0.1516, allocations: 28.56 kB / 0.4951 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.152, allocations: 283.9 kB / 0.4953 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.152, allocations: 16 kB / 0.4954 GB, free: 4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.1521, allocations: 24 kB / 0.4954 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.1526, allocations: 271.2 kB / 0.4956 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1526, allocations: 3.938 kB / 0.4956 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.1527, allocations: 7.984 kB / 0.4956 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1527, allocations: 7.938 kB / 0.4957 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.1532, allocations: 227.4 kB / 0.4959 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1546, allocations: 0.7422 MB / 0.4966 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.155, allocations: 292.9 kB / 0.4969 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.1553, allocations: 193.6 kB / 0.4971 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.1554, allocations: 0 / 0.4971 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1554, allocations: 50.44 kB / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.263e-06/0.1554, allocations: 0 / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001014/0.1565, allocations: 0.5289 MB / 0.4976 GB, free: 1.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1565, allocations: 89.05 kB / 0.4977 GB, free: 1.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.1569, allocations: 348.5 kB / 0.498 GB, free: 1.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.157, allocations: 29.7 kB / 0.4981 GB, free: 1.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1571, allocations: 152.8 kB / 0.4982 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.1572, allocations: 98.55 kB / 0.4983 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.1573, allocations: 125.4 kB / 0.4984 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1575, allocations: 350.8 kB / 0.4988 GB, free: 356 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.1579, allocations: 280.9 kB / 0.499 GB, free: 76 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.1583, allocations: 335.5 kB / 0.4994 GB, free: 15.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/0.1619, allocations: 1.768 MB / 0.5011 GB, free: 13.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1619, allocations: 0 / 0.5011 GB, free: 13.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00114/0.1631, allocations: 0.7581 MB / 0.5018 GB, free: 13.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1631, allocations: 7.938 kB / 0.5018 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.1631, allocations: 7.984 kB / 0.5018 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.1632, allocations: 11.94 kB / 0.5018 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.1637, allocations: 91.88 kB / 0.5019 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.1637, allocations: 4 kB / 0.5019 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.164, allocations: 67.11 kB / 0.502 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.164, allocations: 12 kB / 0.502 GB, free: 13 MB / 398.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.0002884/0.1643, allocations: 186.8 kB / 0.5022 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.1644, allocations: 35.52 kB / 0.5022 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.1645, allocations: 42.66 kB / 0.5023 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1645, allocations: 4 kB / 0.5023 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1645, allocations: 0 / 0.5023 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1645, allocations: 0 / 0.5023 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.165, allocations: 329.4 kB / 0.5026 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.165, allocations: 0 / 0.5026 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.1654, allocations: 55.92 kB / 0.5026 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.1654, allocations: 4 kB / 0.5026 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.1655, allocations: 19.86 kB / 0.5027 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1655, allocations: 4 kB / 0.5027 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1655, allocations: 0 / 0.5027 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.1665, allocations: 0.7445 MB / 0.5034 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.1666, allocations: 112.7 kB / 0.5035 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.1667, allocations: 15.94 kB / 0.5035 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.1669, allocations: 11.98 kB / 0.5035 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.167, allocations: 15.92 kB / 0.5035 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.167, allocations: 11.98 kB / 0.5035 GB, free: 11.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.1672, allocations: 223 kB / 0.5038 GB, free: 11.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1672, allocations: 0 / 0.5038 GB, free: 11.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008644/0.1681, allocations: 244 kB / 0.504 GB, free: 10.86 MB / 398.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.0007705/0.1689, allocations: 251.1 kB / 0.5042 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.1699, allocations: 0.7368 MB / 0.505 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1699, allocations: 0 / 0.505 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.1703, allocations: 191.8 kB / 0.5051 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.1708, allocations: 41 kB / 0.5052 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.1722, allocations: 0.9336 MB / 0.5061 GB, free: 8.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.1726, allocations: 0.8067 MB / 0.5069 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1728, allocations: 70.23 kB / 0.5069 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.1729, allocations: 23.42 kB / 0.507 GB, free: 7.738 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1729, allocations: 4 kB / 0.507 GB, free: 7.734 MB / 398.1 MB Notification: Performance of Templates: time 0.01512/0.188, allocations: 6.601 MB / 0.5134 GB, free: 1.129 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches