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.001062/0.001062, allocations: 106.3 kB / 16.41 MB, free: 6.508 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.001066/0.001067, allocations: 194.2 kB / 17.34 MB, free: 5.738 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.414/1.414, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2388/0.2388, allocations: 43.53 MB / 314.1 MB, free: 440 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.001305/0.001305, allocations: 69.47 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003017/0.1312, allocations: 1.832 MB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.1333, allocations: 1.381 MB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.1334, allocations: 4 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1336, allocations: 27.72 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.727e-05/0.1337, allocations: 31.66 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1351, allocations: 0.5611 MB / 0.4916 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.1355, allocations: 287.3 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1357, allocations: 44.28 kB / 0.4919 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1358, allocations: 111.6 kB / 0.492 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.1361, allocations: 171.5 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.1362, allocations: 24 kB / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1374, allocations: 0.8111 MB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.1375, allocations: 115.7 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.1377, allocations: 147.1 kB / 0.4933 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.1389, allocations: 1.067 MB / 0.4943 GB, free: 5.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1389, allocations: 0 / 0.4943 GB, free: 5.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1389, allocations: 0 / 0.4943 GB, free: 5.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.139, allocations: 0 / 0.4943 GB, free: 5.148 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.001261/0.1402, allocations: 0.7391 MB / 0.495 GB, free: 4.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1403, allocations: 11.89 kB / 0.495 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.1404, allocations: 36.7 kB / 0.4951 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1407, allocations: 280 kB / 0.4953 GB, free: 4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1407, allocations: 16 kB / 0.4954 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.1408, allocations: 31.86 kB / 0.4954 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.1413, allocations: 267.2 kB / 0.4956 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1413, allocations: 4 kB / 0.4957 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1413, allocations: 11.94 kB / 0.4957 GB, free: 3.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1413, allocations: 4 kB / 0.4957 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.1418, allocations: 227.6 kB / 0.4959 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.143, allocations: 0.7501 MB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.1435, allocations: 292.9 kB / 0.4969 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.1438, allocations: 189.6 kB / 0.4971 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.1438, allocations: 4 kB / 0.4971 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1439, allocations: 42.5 kB / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.283e-06/0.1439, allocations: 4 kB / 0.4971 GB, free: 2.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001017/0.1449, allocations: 0.5295 MB / 0.4976 GB, free: 1.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.145, allocations: 85.05 kB / 0.4977 GB, free: 1.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.1453, allocations: 356.6 kB / 0.4981 GB, free: 1.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.1454, allocations: 29.7 kB / 0.4981 GB, free: 1.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1455, allocations: 144.9 kB / 0.4982 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.1456, allocations: 99.19 kB / 0.4983 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.1457, allocations: 129.4 kB / 0.4984 GB, free: 0.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1459, allocations: 346.8 kB / 0.4988 GB, free: 328 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.1464, allocations: 284.8 kB / 0.499 GB, free: 44 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.1468, allocations: 339.6 kB / 0.4994 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003531/0.1504, allocations: 1.76 MB / 0.5011 GB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1504, allocations: 0 / 0.5011 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00105/0.1515, allocations: 0.7699 MB / 0.5018 GB, free: 13.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1515, allocations: 4 kB / 0.5018 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.1515, allocations: 4 kB / 0.5019 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1515, allocations: 7.938 kB / 0.5019 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.152, allocations: 103.9 kB / 0.502 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.152, allocations: 0 / 0.502 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1522, allocations: 71.33 kB / 0.502 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.1523, allocations: 12 kB / 0.502 GB, free: 12.95 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.0002531/0.1525, allocations: 190.8 kB / 0.5022 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.1526, allocations: 31.8 kB / 0.5022 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.1527, allocations: 42.66 kB / 0.5023 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1527, allocations: 0 / 0.5023 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.1527, allocations: 0 / 0.5023 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1528, allocations: 7.984 kB / 0.5023 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.1532, allocations: 337.2 kB / 0.5026 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1532, allocations: 0 / 0.5026 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.1535, allocations: 51.91 kB / 0.5027 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1536, allocations: 4 kB / 0.5027 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.1536, allocations: 23.86 kB / 0.5027 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1536, allocations: 7.938 kB / 0.5027 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1536, allocations: 0 / 0.5027 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1547, allocations: 0.7409 MB / 0.5034 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.1549, allocations: 109 kB / 0.5035 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.581e-05/0.155, allocations: 23.92 kB / 0.5036 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.1553, allocations: 8 kB / 0.5036 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.1554, allocations: 15.97 kB / 0.5036 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1554, allocations: 8 kB / 0.5036 GB, free: 11.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.1556, allocations: 219 kB / 0.5038 GB, free: 11.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1556, allocations: 0 / 0.5038 GB, free: 11.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009328/0.1566, allocations: 255.6 kB / 0.504 GB, free: 10.8 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.0005535/0.1571, allocations: 254.8 kB / 0.5043 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009903/0.1581, allocations: 0.733 MB / 0.505 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1582, allocations: 0 / 0.505 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.1585, allocations: 187.8 kB / 0.5052 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.159, allocations: 49 kB / 0.5052 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.1607, allocations: 0.952 MB / 0.5062 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.1612, allocations: 0.8028 MB / 0.5069 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.1613, allocations: 74.22 kB / 0.507 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/0.1614, allocations: 23.44 kB / 0.507 GB, free: 7.66 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1615, allocations: 0 / 0.507 GB, free: 7.66 MB / 398.1 MB Notification: Performance of Templates: time 0.01119/0.1726, allocations: 6.553 MB / 0.5134 GB, free: 1.105 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