Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001164/0.001164, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2072/0.2072, allocations: 44.17 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.31 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1206, allocations: 60.84 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003534/0.1241, allocations: 1.827 MB / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1262, allocations: 1.341 MB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.1263, allocations: 3.938 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.1265, allocations: 31.73 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/0.1266, allocations: 31.66 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.1281, allocations: 0.565 MB / 474.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.1284, allocations: 275.3 kB / 474.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1286, allocations: 44.3 kB / 474.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.1288, allocations: 115.6 kB / 474.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.129, allocations: 171.4 kB / 475.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.129, allocations: 24 kB / 475.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.1301, allocations: 0.8072 MB / 475.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1303, allocations: 119.6 kB / 476 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.1304, allocations: 143.2 kB / 476.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1316, allocations: 1.064 MB / 477.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1316, allocations: 4 kB / 477.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1316, allocations: 0 / 477.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1316, allocations: 0 / 477.2 MB, free: 7.098 MB / 350.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.001211/0.1328, allocations: 0.7283 MB / 478 MB, free: 6.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1329, allocations: 12.03 kB / 478 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.1329, allocations: 28.56 kB / 478 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1333, allocations: 284 kB / 478.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1333, allocations: 12 kB / 478.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.1334, allocations: 35.84 kB / 478.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.1339, allocations: 275.2 kB / 478.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1339, allocations: 0 / 478.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1339, allocations: 4 kB / 478.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1339, allocations: 4 kB / 478.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.1343, allocations: 219.8 kB / 478.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1356, allocations: 0.7577 MB / 479.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.136, allocations: 280.9 kB / 479.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.1363, allocations: 197.6 kB / 480 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.1364, allocations: 4 kB / 480.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1364, allocations: 42.44 kB / 480.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.1364, allocations: 0 / 480.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009602/0.1374, allocations: 0.5286 MB / 480.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.1374, allocations: 89.03 kB / 480.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.1378, allocations: 348.5 kB / 481.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.1378, allocations: 33.7 kB / 481.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.1379, allocations: 140.8 kB / 481.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.541e-05/0.138, allocations: 102.5 kB / 481.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.1381, allocations: 117.7 kB / 481.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1383, allocations: 350.8 kB / 481.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.1387, allocations: 288.8 kB / 482.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.1391, allocations: 339.5 kB / 482.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.1425, allocations: 1.756 MB / 484.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1425, allocations: 3.938 kB / 484.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001103/0.1436, allocations: 0.7658 MB / 484.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1436, allocations: 4 kB / 484.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.1436, allocations: 8 kB / 484.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1437, allocations: 3.938 kB / 484.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.1442, allocations: 95.88 kB / 485 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.1442, allocations: 11.92 kB / 485 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1444, allocations: 59.12 kB / 485.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.1444, allocations: 19.98 kB / 485.1 MB, free: 14.95 MB / 366.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.0002408/0.1447, allocations: 184 kB / 485.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.1448, allocations: 23.62 kB / 485.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.755e-05/0.1448, allocations: 42.66 kB / 485.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.1449, allocations: 11.98 kB / 485.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1449, allocations: 3.938 kB / 485.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1449, allocations: 4 kB / 485.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.1453, allocations: 333.3 kB / 485.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1453, allocations: 4 kB / 485.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.1457, allocations: 39.97 kB / 485.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1457, allocations: 7.938 kB / 485.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.1457, allocations: 19.92 kB / 485.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1457, allocations: 4 kB / 485.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1457, allocations: 0 / 485.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009598/0.1467, allocations: 0.7354 MB / 486.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.1468, allocations: 104.8 kB / 486.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.1468, allocations: 19.92 kB / 486.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.1471, allocations: 8 kB / 486.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.1471, allocations: 19.97 kB / 486.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1472, allocations: 8 kB / 486.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.1474, allocations: 223 kB / 486.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1474, allocations: 0 / 486.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007886/0.1482, allocations: 255.9 kB / 487.1 MB, free: 12.84 MB / 366.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.0006407/0.1488, allocations: 251 kB / 487.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.15, allocations: 0.7365 MB / 488.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.15, allocations: 0 / 488.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.1504, allocations: 200.7 kB / 488.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.1509, allocations: 44.94 kB / 488.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.1526, allocations: 0.9235 MB / 489.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.153, allocations: 0.8067 MB / 490.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.1532, allocations: 70.23 kB / 490.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.1533, allocations: 23.44 kB / 490.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1533, allocations: 7.938 kB / 490.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of Templates: time 0.01138/0.1647, allocations: 6.495 MB / 496.7 MB, free: 3.215 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches