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.001068/0.001068, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001299/0.001299, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.328/1.328, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2093/0.2093, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 69 kB / 408.4 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 60.83 MB / 469.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003479/0.1288, allocations: 1.816 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.1314, allocations: 1.341 MB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.1316, allocations: 3.938 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1318, allocations: 27.73 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.1319, allocations: 31.72 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.1337, allocations: 0.5639 MB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.1341, allocations: 279.3 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1342, allocations: 44.28 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.1345, allocations: 119.6 kB / 473.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1347, allocations: 163.5 kB / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.1348, allocations: 24 kB / 473.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.1359, allocations: 0.7681 MB / 474.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.136, allocations: 111.7 kB / 474.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.1362, allocations: 139.2 kB / 474.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.1378, allocations: 1.064 MB / 475.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1378, allocations: 4 kB / 475.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.1378, allocations: 0 / 475.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.1378, allocations: 11.88 kB / 475.7 MB, free: 7.887 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.001414/0.1392, allocations: 0.7167 MB / 476.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1393, allocations: 12.03 kB / 476.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.086e-05/0.1394, allocations: 28.56 kB / 476.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1397, allocations: 276 kB / 476.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1397, allocations: 23.94 kB / 476.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.1398, allocations: 31.89 kB / 476.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.1403, allocations: 263.2 kB / 477.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1403, allocations: 4 kB / 477.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.1403, allocations: 4 kB / 477.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1403, allocations: 4 kB / 477.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.1408, allocations: 223.8 kB / 477.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.142, allocations: 0.7616 MB / 478.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.1425, allocations: 288.9 kB / 478.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.1428, allocations: 189.6 kB / 478.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1428, allocations: 0 / 478.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.1429, allocations: 58.8 kB / 478.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.032e-06/0.1429, allocations: 0 / 478.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009768/0.1439, allocations: 0.5327 MB / 479.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1439, allocations: 85.05 kB / 479.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.1442, allocations: 348.5 kB / 479.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.1443, allocations: 33.7 kB / 479.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.1444, allocations: 144.8 kB / 479.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/0.1445, allocations: 98.55 kB / 479.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1446, allocations: 125.7 kB / 479.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1448, allocations: 350.8 kB / 480.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.1452, allocations: 280.9 kB / 480.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.1456, allocations: 335.5 kB / 480.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.1489, allocations: 1.768 MB / 482.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1489, allocations: 0 / 482.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001084/0.15, allocations: 0.7658 MB / 483.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1501, allocations: 4 kB / 483.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.1501, allocations: 11.98 kB / 483.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1501, allocations: 0 / 483.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.1506, allocations: 95.88 kB / 483.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.1506, allocations: 11.92 kB / 483.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.1509, allocations: 67.11 kB / 483.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.1509, allocations: 15.94 kB / 483.6 MB, free: 15.73 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.0003211/0.1512, allocations: 185.2 kB / 483.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1513, allocations: 27.56 kB / 483.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.1515, allocations: 46.69 kB / 483.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.1515, allocations: 4 kB / 483.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1515, allocations: 4 kB / 483.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1515, allocations: 0 / 483.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.152, allocations: 337.2 kB / 484.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.152, allocations: 7.984 kB / 484.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.1524, allocations: 47.86 kB / 484.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1524, allocations: 4 kB / 484.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.1524, allocations: 11.98 kB / 484.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1525, allocations: 4 kB / 484.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1525, allocations: 0 / 484.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1536, allocations: 0.7369 MB / 485 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.1537, allocations: 112.7 kB / 485.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.1537, allocations: 12 kB / 485.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.1539, allocations: 11.98 kB / 485.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.154, allocations: 11.98 kB / 485.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.1541, allocations: 19.98 kB / 485.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.1543, allocations: 219 kB / 485.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1543, allocations: 7.875 kB / 485.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001019/0.1553, allocations: 251.9 kB / 485.7 MB, free: 13.61 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.0008016/0.1561, allocations: 259 kB / 485.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.1573, allocations: 0.7497 MB / 486.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1573, allocations: 8 kB / 486.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.1576, allocations: 191.8 kB / 486.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.1581, allocations: 51.66 kB / 486.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1594, allocations: 0.9232 MB / 487.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1598, allocations: 0.8067 MB / 488.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.16, allocations: 74.22 kB / 488.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.1601, allocations: 23.44 kB / 488.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1601, allocations: 0 / 488.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of Templates: time 0.0131/0.1732, allocations: 6.514 MB / 495.2 MB, free: 3.953 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