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.001267/0.001267, allocations: 105.4 kB / 17.03 MB, free: 5.664 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.00136/0.00136, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.373/1.373, allocations: 205.1 MB / 223.8 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.211/0.211, allocations: 43.52 MB / 314.7 MB, free: 488 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.002196/0.002196, allocations: 65.61 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1137, allocations: 57.8 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002359/0.1161, allocations: 1.828 MB / 443.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1176, allocations: 1.369 MB / 445.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.1176, allocations: 0 / 445.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.1178, allocations: 39.66 kB / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.651e-05/0.1178, allocations: 35.66 kB / 445.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1189, allocations: 0.5573 MB / 445.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1191, allocations: 271.4 kB / 446.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1193, allocations: 52.22 kB / 446.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1194, allocations: 119.6 kB / 446.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1195, allocations: 167.4 kB / 446.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.1196, allocations: 24 kB / 446.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.1203, allocations: 0.8111 MB / 447.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.1204, allocations: 111.7 kB / 447.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.895e-05/0.1205, allocations: 143.2 kB / 447.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008876/0.1214, allocations: 1.075 MB / 448.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1215, allocations: 0 / 448.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1215, allocations: 0 / 448.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1215, allocations: 4 kB / 448.5 MB, free: 15.53 MB / 334.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.001167/0.1227, allocations: 0.7205 MB / 449.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1227, allocations: 15.88 kB / 449.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.1228, allocations: 28.56 kB / 449.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.1232, allocations: 283.9 kB / 449.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1232, allocations: 12 kB / 449.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.1232, allocations: 24 kB / 449.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.1237, allocations: 271.2 kB / 449.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1237, allocations: 3.938 kB / 449.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.1238, allocations: 4 kB / 449.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1238, allocations: 4 kB / 449.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.1242, allocations: 227.8 kB / 450.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.1254, allocations: 0.7577 MB / 450.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.1258, allocations: 292.9 kB / 451.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.1261, allocations: 189.6 kB / 451.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.1262, allocations: 4 kB / 451.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1262, allocations: 42.48 kB / 451.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.1262, allocations: 0 / 451.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.000942/0.1272, allocations: 0.5371 MB / 451.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1272, allocations: 81.11 kB / 452 MB, free: 11.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.1275, allocations: 348.5 kB / 452.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.1276, allocations: 33.7 kB / 452.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.1277, allocations: 136.8 kB / 452.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.1278, allocations: 106.5 kB / 452.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.1279, allocations: 117.7 kB / 452.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.128, allocations: 350.8 kB / 453.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.1285, allocations: 292.6 kB / 453.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.1289, allocations: 339.5 kB / 453.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/0.1322, allocations: 1.764 MB / 455.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1322, allocations: 0 / 455.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001053/0.1332, allocations: 0.7619 MB / 456.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1333, allocations: 4 kB / 456.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.1333, allocations: 15.92 kB / 456.2 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1333, allocations: 3.938 kB / 456.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.1338, allocations: 95.88 kB / 456.3 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1338, allocations: 4 kB / 456.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.134, allocations: 71.11 kB / 456.4 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.1341, allocations: 12 kB / 456.4 MB, free: 7.375 MB / 334.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.0002529/0.1343, allocations: 191.3 kB / 456.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.1344, allocations: 27.53 kB / 456.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.571e-05/0.1345, allocations: 50.64 kB / 456.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1345, allocations: 4 kB / 456.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1345, allocations: 0 / 456.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1345, allocations: 0 / 456.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.135, allocations: 333.3 kB / 457 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.135, allocations: 4 kB / 457 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.1354, allocations: 51.91 kB / 457.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1354, allocations: 0 / 457.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.1354, allocations: 23.92 kB / 457.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.1354, allocations: 0 / 457.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1354, allocations: 0 / 457.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1364, allocations: 0.7444 MB / 457.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/0.1365, allocations: 104.7 kB / 457.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.1366, allocations: 19.86 kB / 458 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.1368, allocations: 11.98 kB / 458 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.1369, allocations: 19.98 kB / 458 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.1369, allocations: 11.98 kB / 458 MB, free: 5.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.1371, allocations: 219 kB / 458.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 0 / 458.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007315/0.1378, allocations: 252.1 kB / 458.5 MB, free: 5.238 MB / 334.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.000492/0.1383, allocations: 247.1 kB / 458.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009498/0.1393, allocations: 0.7288 MB / 459.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1393, allocations: 4 kB / 459.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.1396, allocations: 199.7 kB / 459.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.1401, allocations: 42.09 kB / 459.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1413, allocations: 0.9243 MB / 460.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1417, allocations: 0.8106 MB / 461.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.1418, allocations: 70.25 kB / 461.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.1419, allocations: 23.44 kB / 461.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1419, allocations: 0 / 461.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of Templates: time 0.01119/0.1531, allocations: 6.498 MB / 468 MB, free: 11.62 MB / 350.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 -s gbode -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