Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002408/0.002408, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2559/0.2559, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 63.89 kB / 0.4914 GB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1441, allocations: 65.99 MB / 0.5558 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00309/0.1472, allocations: 1.863 MB / 0.5577 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.1494, allocations: 1.42 MB / 0.559 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1495, allocations: 3.938 kB / 0.5591 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.1497, allocations: 31.72 kB / 0.5591 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.1498, allocations: 31.72 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.1517, allocations: 0.5689 MB / 0.5597 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.1522, allocations: 283.3 kB / 0.5599 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1523, allocations: 40.27 kB / 0.56 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.1527, allocations: 131.5 kB / 0.5601 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.153, allocations: 175.5 kB / 0.5603 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.339e-05/0.1531, allocations: 24 kB / 0.5603 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.1551, allocations: 0.928 MB / 0.5612 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.1553, allocations: 123.6 kB / 0.5613 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.1554, allocations: 147.2 kB / 0.5615 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.1567, allocations: 1.075 MB / 0.5625 GB, free: 14.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1568, allocations: 4 kB / 0.5625 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1568, allocations: 3.938 kB / 0.5625 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1568, allocations: 0 / 0.5625 GB, free: 14.52 MB / 430.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.001447/0.1582, allocations: 0.743 MB / 0.5632 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1582, allocations: 8.031 kB / 0.5632 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.1585, allocations: 40.7 kB / 0.5633 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1588, allocations: 276.2 kB / 0.5636 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1588, allocations: 15.94 kB / 0.5636 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.1589, allocations: 27.95 kB / 0.5636 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.1594, allocations: 271.2 kB / 0.5639 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1594, allocations: 0 / 0.5639 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.1594, allocations: 4 kB / 0.5639 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1594, allocations: 4 kB / 0.5639 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.1599, allocations: 231.7 kB / 0.5641 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.1613, allocations: 0.7579 MB / 0.5648 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.1618, allocations: 284.9 kB / 0.5651 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.1621, allocations: 185.6 kB / 0.5653 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.1622, allocations: 8 kB / 0.5653 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.1622, allocations: 46.44 kB / 0.5653 GB, free: 11.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.283e-06/0.1622, allocations: 0 / 0.5653 GB, free: 11.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001145/0.1633, allocations: 0.5366 MB / 0.5658 GB, free: 10.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.1634, allocations: 81.11 kB / 0.5659 GB, free: 10.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.1639, allocations: 348.6 kB / 0.5663 GB, free: 10.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.1639, allocations: 37.64 kB / 0.5663 GB, free: 10.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.164, allocations: 144.9 kB / 0.5664 GB, free: 10.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.1641, allocations: 111 kB / 0.5665 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.1643, allocations: 121.4 kB / 0.5667 GB, free: 10.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.1645, allocations: 350.8 kB / 0.567 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.165, allocations: 284.8 kB / 0.5673 GB, free: 9.418 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.1655, allocations: 335.5 kB / 0.5676 GB, free: 9.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/0.1695, allocations: 1.765 MB / 0.5693 GB, free: 7.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1695, allocations: 0 / 0.5693 GB, free: 7.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001202/0.1707, allocations: 0.7621 MB / 0.57 GB, free: 6.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1707, allocations: 7.984 kB / 0.5701 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.1708, allocations: 4 kB / 0.5701 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1708, allocations: 11.94 kB / 0.5701 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.1713, allocations: 99.81 kB / 0.5702 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1713, allocations: 4 kB / 0.5702 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.1715, allocations: 67.34 kB / 0.5702 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.1716, allocations: 16 kB / 0.5702 GB, free: 6.332 MB / 430.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.0003036/0.1719, allocations: 191.3 kB / 0.5704 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.1719, allocations: 23.81 kB / 0.5705 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.1721, allocations: 42.66 kB / 0.5705 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1721, allocations: 4 kB / 0.5705 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1721, allocations: 0 / 0.5705 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1721, allocations: 3.984 kB / 0.5705 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.1726, allocations: 337.3 kB / 0.5708 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1726, allocations: 4 kB / 0.5708 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.173, allocations: 55.91 kB / 0.5709 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.173, allocations: 0 / 0.5709 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.173, allocations: 19.92 kB / 0.5709 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1731, allocations: 0 / 0.5709 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1731, allocations: 0 / 0.5709 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.1742, allocations: 0.7446 MB / 0.5716 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.1743, allocations: 113 kB / 0.5717 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.1743, allocations: 19.92 kB / 0.5718 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.1746, allocations: 4 kB / 0.5718 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.1746, allocations: 19.97 kB / 0.5718 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.1746, allocations: 8 kB / 0.5718 GB, free: 4.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.1749, allocations: 223 kB / 0.572 GB, free: 4.438 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1749, allocations: 0 / 0.572 GB, free: 4.438 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009054/0.1758, allocations: 255.7 kB / 0.5722 GB, free: 4.188 MB / 430.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.0005939/0.1764, allocations: 250.9 kB / 0.5725 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.1775, allocations: 0.6662 MB / 0.5731 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1775, allocations: 0 / 0.5731 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.1779, allocations: 187.8 kB / 0.5733 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.1784, allocations: 56.92 kB / 0.5734 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.1798, allocations: 0.9446 MB / 0.5743 GB, free: 2.035 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.1803, allocations: 0.8106 MB / 0.5751 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.1805, allocations: 70.23 kB / 0.5751 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-05/0.1806, allocations: 19.44 kB / 0.5752 GB, free: 1.105 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1806, allocations: 4 kB / 0.5752 GB, free: 1.102 MB / 430.1 MB Notification: Performance of Templates: time 0.01303/0.1937, allocations: 6.582 MB / 0.5816 GB, free: 10.54 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.1661489978432655]