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.0009225/0.0009222, allocations: 95.62 kB / 17.35 MB, free: 6.367 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.001155/0.001156, allocations: 177.1 kB / 18.25 MB, free: 5.527 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.392/1.392, allocations: 223.3 MB / 242.3 MB, free: 14.49 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.1988/0.1988, allocations: 44.24 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 11.98 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1243, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003087/0.1274, allocations: 1.533 MB / 473.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.1302, allocations: 1.388 MB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.791e-05/0.1303, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1305, allocations: 19.86 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.345e-05/0.1306, allocations: 31.78 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.1318, allocations: 479.1 kB / 475.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.1321, allocations: 275.2 kB / 476 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1323, allocations: 44.28 kB / 476 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.1325, allocations: 91.62 kB / 476.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.1327, allocations: 155.5 kB / 476.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.1327, allocations: 12 kB / 476.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1338, allocations: 0.7329 MB / 477 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1339, allocations: 103.7 kB / 477.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.134, allocations: 148.9 kB / 477.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.1351, allocations: 1.044 MB / 478.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1351, allocations: 0 / 478.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.25e-06/0.1352, allocations: 3.984 kB / 478.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1352, allocations: 7.938 kB / 478.3 MB, free: 7.246 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.001194/0.1364, allocations: 0.67 MB / 479 MB, free: 6.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1364, allocations: 8.031 kB / 479 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.1365, allocations: 36.47 kB / 479 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1368, allocations: 283.9 kB / 479.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.1369, allocations: 16 kB / 479.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.1369, allocations: 23.91 kB / 479.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.1374, allocations: 287.6 kB / 479.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1375, allocations: 0 / 479.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.1375, allocations: 8 kB / 479.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1375, allocations: 0 / 479.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.1379, allocations: 230.9 kB / 479.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1392, allocations: 0.7655 MB / 480.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.1396, allocations: 296.9 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.14, allocations: 193.6 kB / 481.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.14, allocations: 0 / 481.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.14, allocations: 42.94 kB / 481.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.263e-06/0.14, allocations: 0 / 481.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001017/0.1411, allocations: 0.5477 MB / 481.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.1411, allocations: 85.11 kB / 481.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.1414, allocations: 344.5 kB / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.1415, allocations: 33.7 kB / 482.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.1416, allocations: 144.8 kB / 482.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.1417, allocations: 94.56 kB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-05/0.1418, allocations: 93.59 kB / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1419, allocations: 342.8 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.1424, allocations: 292.8 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.1429, allocations: 343.5 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/0.1465, allocations: 1.772 MB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1465, allocations: 0 / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001173/0.1477, allocations: 0.7775 MB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1477, allocations: 4 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.1478, allocations: 8 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1478, allocations: 4 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.1483, allocations: 95.88 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1483, allocations: 4 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.1485, allocations: 67.11 kB / 486.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.1486, allocations: 15.94 kB / 486.1 MB, free: 15.12 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.0002681/0.1489, allocations: 186.5 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/0.1489, allocations: 35.5 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.1491, allocations: 42.72 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1491, allocations: 3.938 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.1491, allocations: 4 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1491, allocations: 3.984 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.1495, allocations: 341.2 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1495, allocations: 0 / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.1499, allocations: 55.91 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1499, allocations: 0 / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.15, allocations: 15.98 kB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.15, allocations: 0 / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.15, allocations: 0 / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.1511, allocations: 0.7485 MB / 487.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.1512, allocations: 112.8 kB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.1512, allocations: 15.98 kB / 487.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.1515, allocations: 16 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.1515, allocations: 15.97 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.1516, allocations: 8 kB / 487.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.1518, allocations: 215 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1518, allocations: 0 / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008229/0.1526, allocations: 255.9 kB / 488.2 MB, free: 12.98 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.0005129/0.1531, allocations: 263 kB / 488.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.1542, allocations: 0.7366 MB / 489.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1542, allocations: 0 / 489.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.1545, allocations: 204.8 kB / 489.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.1551, allocations: 45.02 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1564, allocations: 1.056 MB / 490.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.1568, allocations: 0.807 MB / 491.3 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.157, allocations: 70.25 kB / 491.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.1571, allocations: 19.44 kB / 491.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1571, allocations: 0 / 491.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of Templates: time 0.01158/0.1687, allocations: 6.303 MB / 497.7 MB, free: 3.426 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches