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.0009796/0.0009796, allocations: 111.2 kB / 16.41 MB, free: 6.027 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.001035/0.001035, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.446/1.446, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.1996/0.1996, allocations: 43.53 MB / 314.1 MB, free: 464 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.001396/0.001396, allocations: 67.89 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1156, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002751/0.1184, allocations: 1.82 MB / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1202, allocations: 1.381 MB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.1203, allocations: 3.938 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.1204, allocations: 31.72 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.1205, allocations: 31.72 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1217, allocations: 0.5611 MB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.122, allocations: 283.3 kB / 0.4919 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1221, allocations: 52.2 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.1222, allocations: 115.6 kB / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1224, allocations: 171.5 kB / 0.4922 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.1225, allocations: 24 kB / 0.4922 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009415/0.1234, allocations: 0.8072 MB / 0.493 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1236, allocations: 115.7 kB / 0.4931 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1237, allocations: 147.1 kB / 0.4933 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009167/0.1246, allocations: 1.064 MB / 0.4943 GB, free: 5.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1246, allocations: 0 / 0.4943 GB, free: 5.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1246, allocations: 0 / 0.4943 GB, free: 5.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1246, allocations: 0 / 0.4943 GB, free: 5.191 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.001023/0.1257, allocations: 0.7322 MB / 0.495 GB, free: 4.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1257, allocations: 11.89 kB / 0.495 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.1258, allocations: 36.5 kB / 0.4951 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.1261, allocations: 276 kB / 0.4953 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1261, allocations: 12 kB / 0.4953 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.1262, allocations: 27.92 kB / 0.4954 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.1266, allocations: 267.2 kB / 0.4956 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1266, allocations: 4 kB / 0.4956 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1266, allocations: 11.94 kB / 0.4956 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1266, allocations: 4 kB / 0.4956 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.127, allocations: 223.8 kB / 0.4959 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.128, allocations: 0.7499 MB / 0.4966 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.1285, allocations: 296.9 kB / 0.4969 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.1288, allocations: 189.6 kB / 0.4971 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.1288, allocations: 4 kB / 0.4971 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1288, allocations: 42.44 kB / 0.4971 GB, free: 2.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.1289, allocations: 4 kB / 0.4971 GB, free: 2.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009314/0.1298, allocations: 0.5289 MB / 0.4976 GB, free: 1.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.1299, allocations: 88.98 kB / 0.4977 GB, free: 1.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.1302, allocations: 352.5 kB / 0.498 GB, free: 1.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1302, allocations: 33.7 kB / 0.4981 GB, free: 1.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.1303, allocations: 140.8 kB / 0.4982 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.1304, allocations: 102.6 kB / 0.4983 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.1305, allocations: 121.4 kB / 0.4984 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1306, allocations: 350.8 kB / 0.4988 GB, free: 396 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.131, allocations: 284.8 kB / 0.499 GB, free: 112 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.1315, allocations: 339.6 kB / 0.4994 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.1346, allocations: 1.76 MB / 0.5011 GB, free: 14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1346, allocations: 0 / 0.5011 GB, free: 14 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001001/0.1356, allocations: 0.762 MB / 0.5018 GB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1356, allocations: 4 kB / 0.5018 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.1357, allocations: 4 kB / 0.5018 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1357, allocations: 7.938 kB / 0.5018 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.1361, allocations: 99.88 kB / 0.5019 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1362, allocations: 3.938 kB / 0.5019 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.1363, allocations: 67.11 kB / 0.502 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.1364, allocations: 12 kB / 0.502 GB, free: 13.03 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.0002123/0.1366, allocations: 198.5 kB / 0.5022 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.1366, allocations: 31.53 kB / 0.5022 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.1367, allocations: 46.66 kB / 0.5023 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1368, allocations: 0 / 0.5023 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1368, allocations: 4 kB / 0.5023 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1368, allocations: 3.984 kB / 0.5023 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.1372, allocations: 329.3 kB / 0.5026 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1372, allocations: 3.938 kB / 0.5026 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.1375, allocations: 51.91 kB / 0.5026 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1375, allocations: 8 kB / 0.5027 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.1375, allocations: 15.92 kB / 0.5027 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1376, allocations: 7.938 kB / 0.5027 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1376, allocations: 0 / 0.5027 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.1385, allocations: 0.7367 MB / 0.5034 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.1385, allocations: 108.8 kB / 0.5035 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.1386, allocations: 23.92 kB / 0.5035 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1388, allocations: 4 kB / 0.5035 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.1388, allocations: 19.97 kB / 0.5035 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.1389, allocations: 4 kB / 0.5035 GB, free: 11.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.1391, allocations: 223 kB / 0.5038 GB, free: 11.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.534e-06/0.1391, allocations: 0 / 0.5038 GB, free: 11.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007795/0.1399, allocations: 251.9 kB / 0.504 GB, free: 10.89 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.0004542/0.1403, allocations: 247.2 kB / 0.5042 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009574/0.1413, allocations: 0.7329 MB / 0.505 GB, free: 9.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1413, allocations: 0 / 0.505 GB, free: 9.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.1416, allocations: 187.8 kB / 0.5051 GB, free: 9.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.1421, allocations: 49 kB / 0.5052 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1433, allocations: 0.9336 MB / 0.5061 GB, free: 8.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1437, allocations: 0.8107 MB / 0.5069 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.1438, allocations: 74.22 kB / 0.507 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.1439, allocations: 19.44 kB / 0.507 GB, free: 7.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1439, allocations: 0 / 0.507 GB, free: 7.77 MB / 398.1 MB Notification: Performance of Templates: time 0.01042/0.1543, allocations: 6.56 MB / 0.5134 GB, free: 1.211 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