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.001517/0.001517, allocations: 107.1 kB / 17.09 MB, free: 6.016 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.001672/0.001672, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.221/1.221, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1864/0.1864, allocations: 43.53 MB / 314.8 MB, free: 456 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.001336/0.001336, allocations: 67.91 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.1002, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002739/0.1029, allocations: 1.826 MB / 0.4903 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1048, allocations: 1.386 MB / 0.4917 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.1049, allocations: 4 kB / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1051, allocations: 27.72 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.1051, allocations: 27.72 kB / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.1065, allocations: 0.5611 MB / 0.4923 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.1068, allocations: 283.3 kB / 0.4925 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1069, allocations: 52.2 kB / 0.4926 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1071, allocations: 115.6 kB / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.1073, allocations: 167.5 kB / 0.4929 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.1074, allocations: 24 kB / 0.4929 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.1084, allocations: 0.8111 MB / 0.4937 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1086, allocations: 119.7 kB / 0.4938 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1087, allocations: 143.1 kB / 0.4939 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009685/0.1097, allocations: 1.068 MB / 0.495 GB, free: 5.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1097, allocations: 0 / 0.495 GB, free: 5.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1097, allocations: 0 / 0.495 GB, free: 5.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1097, allocations: 3.938 kB / 0.495 GB, free: 5.172 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.001101/0.1108, allocations: 0.7283 MB / 0.4957 GB, free: 4.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1109, allocations: 11.89 kB / 0.4957 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.111, allocations: 32.56 kB / 0.4957 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1113, allocations: 283.9 kB / 0.496 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1113, allocations: 12 kB / 0.496 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.1113, allocations: 20 kB / 0.496 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.1118, allocations: 267.2 kB / 0.4963 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1118, allocations: 7.938 kB / 0.4963 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1118, allocations: 8 kB / 0.4963 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1118, allocations: 4 kB / 0.4963 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.1122, allocations: 231.7 kB / 0.4965 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1133, allocations: 0.7422 MB / 0.4973 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.1137, allocations: 292.9 kB / 0.4975 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.114, allocations: 189.6 kB / 0.4977 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1141, allocations: 7.938 kB / 0.4977 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1141, allocations: 38.5 kB / 0.4978 GB, free: 2.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.734e-06/0.1141, allocations: 8 kB / 0.4978 GB, free: 2.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009031/0.115, allocations: 0.5254 MB / 0.4983 GB, free: 1.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1151, allocations: 89.03 kB / 0.4984 GB, free: 1.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.1154, allocations: 352.5 kB / 0.4987 GB, free: 1.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.1154, allocations: 29.7 kB / 0.4987 GB, free: 1.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.1155, allocations: 136.8 kB / 0.4989 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.1156, allocations: 106.6 kB / 0.499 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.1157, allocations: 121.4 kB / 0.4991 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1158, allocations: 350.8 kB / 0.4994 GB, free: 392 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.1162, allocations: 284.8 kB / 0.4997 GB, free: 108 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.1166, allocations: 339.5 kB / 0.5 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003195/0.1199, allocations: 1.764 MB / 0.5017 GB, free: 13.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1199, allocations: 0 / 0.5017 GB, free: 13.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001006/0.1209, allocations: 0.758 MB / 0.5025 GB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1209, allocations: 8 kB / 0.5025 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.1209, allocations: 4 kB / 0.5025 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.121, allocations: 7.938 kB / 0.5025 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.1215, allocations: 103.9 kB / 0.5026 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1215, allocations: 3.984 kB / 0.5026 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.1217, allocations: 63.12 kB / 0.5026 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.1217, allocations: 12 kB / 0.5027 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.0002221/0.1219, allocations: 198.7 kB / 0.5029 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.122, allocations: 31.53 kB / 0.5029 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1221, allocations: 34.72 kB / 0.5029 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.1221, allocations: 11.92 kB / 0.5029 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1221, allocations: 3.938 kB / 0.5029 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.1222, allocations: 100.7 kB / 0.503 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.1222, allocations: 15.98 kB / 0.503 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.1225, allocations: 8 kB / 0.503 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.1225, allocations: 23.97 kB / 0.5031 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001336/0.1239, allocations: 0.7105 MB / 0.5038 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001025/0.1249, allocations: 0.9153 MB / 0.5047 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002837/0.1252, allocations: 199.8 kB / 0.5048 GB, free: 10.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.1254, allocations: 227 kB / 0.5051 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.1254, allocations: 0 / 0.5051 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.1268, allocations: 0.7937 MB / 0.5058 GB, free: 9.68 MB / 398.1 MB Notification: Performance of SimCode: time 0.001107/0.128, allocations: 1.216 MB / 0.507 GB, free: 8.426 MB / 398.1 MB Notification: Performance of Templates: time 0.01192/0.1399, allocations: 7.671 MB / 0.5145 GB, free: 0.7539 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches