Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001646/0.001646, allocations: 91.33 kB / 20.43 MB, free: 4.137 MB / 18.57 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.00172/0.00172, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.001/1.001, allocations: 158.6 MB / 185.7 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1338/0.1338, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 347.6 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.806e-05, allocations: 10.31 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002779/0.002807, allocations: 1.837 MB / 349.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.004848, allocations: 1.318 MB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.00496, allocations: 4 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.005134, allocations: 27.72 kB / 350.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.005217, allocations: 39.59 kB / 350.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.00685, allocations: 0.6698 MB / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.007136, allocations: 239.3 kB / 351.8 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.007285, allocations: 36.5 kB / 351.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.007466, allocations: 127.7 kB / 351.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.007651, allocations: 151.7 kB / 352.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.007697, allocations: 28 kB / 352.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.00949, allocations: 1.216 MB / 353.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.009641, allocations: 111.7 kB / 353.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.009744, allocations: 91.72 kB / 353.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.01106, allocations: 1.126 MB / 354.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01106, allocations: 0 / 354.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01106, allocations: 4 kB / 354.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.01107, allocations: 0 / 354.7 MB, free: 2.41 MB / 282.7 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.0009832/0.01205, allocations: 0.7482 MB / 355.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.01209, allocations: 8.031 kB / 355.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.01219, allocations: 48.7 kB / 355.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.01245, allocations: 228.6 kB / 355.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.01247, allocations: 16.38 kB / 355.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.01254, allocations: 27.94 kB / 355.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.01289, allocations: 229 kB / 356 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.0129, allocations: 4 kB / 356 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.01293, allocations: 8 kB / 356 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.01294, allocations: 4 kB / 356 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.01312, allocations: 63.89 kB / 356 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.01398, allocations: 0.701 MB / 356.7 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.01422, allocations: 142 kB / 356.9 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.01438, allocations: 75.33 kB / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.01442, allocations: 7.938 kB / 357 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.01446, allocations: 45.38 kB / 357 MB, free: 15.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.975e-06/0.01446, allocations: 4 kB / 357 MB, free: 15.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006814/0.01514, allocations: 249.6 kB / 357.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.01519, allocations: 77.11 kB / 357.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.01556, allocations: 386.4 kB / 357.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.01559, allocations: 33.7 kB / 357.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.01571, allocations: 191.6 kB / 357.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.491e-05/0.01581, allocations: 103.1 kB / 358 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.01599, allocations: 135.3 kB / 358.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.01618, allocations: 0.5235 MB / 358.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.0164, allocations: 105 kB / 358.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.01667, allocations: 169.3 kB / 358.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.01737, allocations: 439 kB / 359.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.01737, allocations: 0 / 359.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007483/0.01812, allocations: 436.3 kB / 359.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.01816, allocations: 8 kB / 359.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/0.01819, allocations: 7.984 kB / 359.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.01821, allocations: 0 / 359.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.01867, allocations: 95.88 kB / 359.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.01868, allocations: 4 kB / 359.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.01884, allocations: 71.23 kB / 360 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.01888, allocations: 16 kB / 360 MB, free: 12.79 MB / 298.7 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.0002346/0.01911, allocations: 201 kB / 360.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.0192, allocations: 31.81 kB / 360.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-05/0.01927, allocations: 38.77 kB / 360.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01928, allocations: 4 kB / 360.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.01928, allocations: 0 / 360.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.01929, allocations: 8 kB / 360.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.01966, allocations: 240.3 kB / 360.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01966, allocations: 0 / 360.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.01996, allocations: 51.91 kB / 360.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01997, allocations: 4 kB / 360.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.02001, allocations: 11.98 kB / 360.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.02002, allocations: 4 kB / 360.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02002, allocations: 0 / 360.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.0207, allocations: 0.5304 MB / 361.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.02074, allocations: 39.7 kB / 361.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.02079, allocations: 8 kB / 361.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.02098, allocations: 11.98 kB / 361.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.02107, allocations: 19.97 kB / 361.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.02109, allocations: 4 kB / 361.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.02129, allocations: 231 kB / 361.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02129, allocations: 0 / 361.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009188/0.02221, allocations: 251.6 kB / 361.7 MB, free: 11.05 MB / 298.7 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.0005541/0.02276, allocations: 294.5 kB / 362 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000658/0.02342, allocations: 412.3 kB / 362.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02342, allocations: 0 / 362.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.0236, allocations: 91.52 kB / 362.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.02415, allocations: 41.12 kB / 362.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.02558, allocations: 0.7363 MB / 363.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.02569, allocations: 116.3 kB / 363.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.02583, allocations: 46.23 kB / 363.4 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.02594, allocations: 24.5 kB / 363.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.02594, allocations: 0 / 363.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of Templates: time 0.01066/0.03659, allocations: 6.683 MB / 370.1 MB, free: 2.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4483585506677628]