Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009277/0.0009277, allocations: 94.5 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 205.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2625/0.2625, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 11.98 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 63.57 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002026/0.1282, allocations: 1.561 MB / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1303, allocations: 1.451 MB / 486.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.1304, allocations: 0 / 486.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.1305, allocations: 23.8 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.1306, allocations: 23.78 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1319, allocations: 491.1 kB / 486.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.1322, allocations: 271.3 kB / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1323, allocations: 40.28 kB / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.1326, allocations: 107.5 kB / 487 MB, free: 212 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.1328, allocations: 155.5 kB / 487.2 MB, free: 56 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.1329, allocations: 12 kB / 487.2 MB, free: 44 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.134, allocations: 0.7292 MB / 487.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.1341, allocations: 107.7 kB / 488 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1343, allocations: 152.8 kB / 488.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.1354, allocations: 1.048 MB / 489.2 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1354, allocations: 7.938 kB / 489.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1354, allocations: 0 / 489.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1354, allocations: 4 kB / 489.2 MB, free: 13.99 MB / 366.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.001213/0.1367, allocations: 0.6816 MB / 489.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1367, allocations: 8.875 kB / 489.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.1369, allocations: 40.55 kB / 490 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.1373, allocations: 284 kB / 490.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1373, allocations: 16 kB / 490.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.1374, allocations: 31.88 kB / 490.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.1379, allocations: 275.7 kB / 490.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1379, allocations: 0 / 490.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.1379, allocations: 4 kB / 490.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.138, allocations: 4 kB / 490.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.1384, allocations: 239.8 kB / 490.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1397, allocations: 0.7616 MB / 491.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.1402, allocations: 297 kB / 491.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.1405, allocations: 193.5 kB / 492 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.1405, allocations: 4.438 kB / 492 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1406, allocations: 50.44 kB / 492.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.1406, allocations: 0 / 492.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001039/0.1416, allocations: 0.5399 MB / 492.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.1417, allocations: 81.11 kB / 492.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.1421, allocations: 356.5 kB / 493 MB, free: 9.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.1421, allocations: 29.7 kB / 493.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.1422, allocations: 140.8 kB / 493.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.1423, allocations: 102.5 kB / 493.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.1424, allocations: 85.67 kB / 493.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1426, allocations: 346.8 kB / 493.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.143, allocations: 288.8 kB / 494 MB, free: 8.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.1435, allocations: 347.5 kB / 494.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/0.1471, allocations: 1.781 MB / 496.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1472, allocations: 4 kB / 496.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001168/0.1483, allocations: 0.7774 MB / 496.9 MB, free: 6.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1484, allocations: 4 kB / 496.9 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.1484, allocations: 8 kB / 496.9 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1484, allocations: 3.938 kB / 496.9 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.1489, allocations: 99.88 kB / 497 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.149, allocations: 3.984 kB / 497 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.1492, allocations: 67.12 kB / 497.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.1492, allocations: 12 kB / 497.1 MB, free: 5.824 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.0002595/0.1495, allocations: 183.1 kB / 497.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.1496, allocations: 27.56 kB / 497.3 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.1497, allocations: 46.64 kB / 497.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1497, allocations: 4 kB / 497.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1497, allocations: 7.984 kB / 497.4 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.1497, allocations: 0 / 497.4 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.1502, allocations: 337.3 kB / 497.7 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1502, allocations: 0 / 497.7 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.1505, allocations: 55.84 kB / 497.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1506, allocations: 0 / 497.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.1506, allocations: 15.98 kB / 497.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1506, allocations: 0 / 497.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1506, allocations: 4 kB / 497.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1517, allocations: 0.7612 MB / 498.5 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.1518, allocations: 108.8 kB / 498.6 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.1518, allocations: 19.98 kB / 498.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.1521, allocations: 8 kB / 498.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.1522, allocations: 15.97 kB / 498.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1522, allocations: 8 kB / 498.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.1524, allocations: 223 kB / 498.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1524, allocations: 0 / 498.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008454/0.1533, allocations: 255.9 kB / 499.2 MB, free: 3.68 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.0005118/0.1538, allocations: 255.1 kB / 499.4 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009852/0.1548, allocations: 0.7375 MB / 0.4884 GB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1548, allocations: 0 / 0.4884 GB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.1551, allocations: 195.8 kB / 0.4886 GB, free: 2.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.1557, allocations: 41.45 kB / 0.4887 GB, free: 2.426 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.1571, allocations: 1.072 MB / 0.4897 GB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.1575, allocations: 0.8109 MB / 0.4905 GB, free: 500 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.1577, allocations: 70.23 kB / 0.4906 GB, free: 424 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.965e-05/0.1578, allocations: 23.42 kB / 0.4906 GB, free: 400 kB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1578, allocations: 0 / 0.4906 GB, free: 400 kB / 366.1 MB Notification: Performance of Templates: time 0.01186/0.1696, allocations: 6.295 MB / 0.4967 GB, free: 10.11 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches