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.00157/0.001569, allocations: 103.1 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001904/0.001904, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 72.86 kB / 416.8 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1309, allocations: 62.44 MB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003788/0.1348, allocations: 1.915 MB / 481.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1375, allocations: 1.474 MB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.1377, allocations: 0 / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.1379, allocations: 27.84 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.138, allocations: 23.78 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.1399, allocations: 495 kB / 483.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.1403, allocations: 267.3 kB / 483.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.1405, allocations: 40.3 kB / 483.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.1408, allocations: 111.5 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.1411, allocations: 167.4 kB / 483.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.1412, allocations: 12 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.1425, allocations: 0.7292 MB / 484.5 MB, free: 500 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.1427, allocations: 107.7 kB / 484.6 MB, free: 392 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.1428, allocations: 135.1 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.1445, allocations: 1.056 MB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.1445, allocations: 8 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1445, allocations: 0 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1446, allocations: 0 / 485.8 MB, free: 15.18 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.001667/0.1462, allocations: 0.7245 MB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.1463, allocations: 12.88 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.1466, allocations: 40.55 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.147, allocations: 283.9 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.147, allocations: 16 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.1471, allocations: 27.91 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.1476, allocations: 263.7 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1477, allocations: 4 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.1477, allocations: 4 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1477, allocations: 8 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.1482, allocations: 227.8 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.1496, allocations: 0.7499 MB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.1501, allocations: 296.9 kB / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.1504, allocations: 193.6 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.1505, allocations: 0 / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.1505, allocations: 50.44 kB / 488.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.282e-06/0.1505, allocations: 0 / 488.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001115/0.1517, allocations: 0.5405 MB / 489.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.1517, allocations: 77.11 kB / 489.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.1521, allocations: 356.5 kB / 489.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.1522, allocations: 29.7 kB / 489.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1523, allocations: 144.8 kB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.1524, allocations: 102.5 kB / 489.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.1526, allocations: 121.7 kB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1528, allocations: 346.8 kB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.1533, allocations: 284.9 kB / 490.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.1537, allocations: 339.5 kB / 491 MB, free: 9.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003606/0.1573, allocations: 1.773 MB / 492.8 MB, free: 7.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1574, allocations: 0 / 492.8 MB, free: 7.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001098/0.1585, allocations: 0.7619 MB / 493.5 MB, free: 7.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1585, allocations: 10.34 kB / 493.5 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.1585, allocations: 11.98 kB / 493.6 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1586, allocations: 4 kB / 493.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.159, allocations: 95.88 kB / 493.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1591, allocations: 0 / 493.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.1593, allocations: 67.11 kB / 493.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.1593, allocations: 12 kB / 493.7 MB, free: 7.012 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.0003586/0.1597, allocations: 187.5 kB / 493.9 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.1598, allocations: 31.56 kB / 493.9 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.16, allocations: 38.7 kB / 494 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.16, allocations: 4 kB / 494 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.16, allocations: 0 / 494 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.16, allocations: 4 kB / 494 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/0.1607, allocations: 341.2 kB / 494.3 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1607, allocations: 3.984 kB / 494.3 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.1612, allocations: 51.86 kB / 494.4 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1612, allocations: 0 / 494.4 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.1613, allocations: 19.98 kB / 494.4 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.1613, allocations: 4 kB / 494.4 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1613, allocations: 0 / 494.4 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.1628, allocations: 0.7427 MB / 495.1 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1629, allocations: 112.7 kB / 495.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.163, allocations: 12 kB / 495.3 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.1632, allocations: 11.98 kB / 495.3 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.1633, allocations: 19.92 kB / 495.3 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.1633, allocations: 11.98 kB / 495.3 MB, free: 5.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.1636, allocations: 223 kB / 495.5 MB, free: 5.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1636, allocations: 0 / 495.5 MB, free: 5.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009625/0.1646, allocations: 251.9 kB / 495.8 MB, free: 4.883 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.0008279/0.1654, allocations: 247.1 kB / 496 MB, free: 4.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1665, allocations: 0.7366 MB / 496.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1665, allocations: 0 / 496.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.1669, allocations: 187.8 kB / 496.9 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.1674, allocations: 45 kB / 497 MB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.1689, allocations: 1.019 MB / 498 MB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.1695, allocations: 0.8031 MB / 498.8 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.1697, allocations: 70.25 kB / 498.9 MB, free: 1.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1698, allocations: 23.42 kB / 498.9 MB, free: 1.668 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1698, allocations: 3.938 kB / 498.9 MB, free: 1.664 MB / 366.1 MB Notification: Performance of Templates: time 0.01447/0.1843, allocations: 6.352 MB / 0.4934 GB, free: 11.32 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