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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007903/0.0007903, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009989/0.001789, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006973/0.0006973, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001729, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.056/1.056, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08985/1.146, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2829/0.2829, allocations: 34.86 MB / 279.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03926/0.3221, allocations: 13.23 MB / 292.6 MB, free: 6.488 MB / 282.7 MB " [Timeout remaining time 180] 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=5003,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=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 293.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.224e-05, allocations: 2.312 kB / 293.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002436/0.002459, allocations: 1.891 MB / 295.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.004014, allocations: 1.345 MB / 297.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.004106, allocations: 3.938 kB / 297.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.004215, allocations: 31.72 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.004269, allocations: 35.72 kB / 297.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.005448, allocations: 0.6315 MB / 297.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.005698, allocations: 235.3 kB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.005827, allocations: 30.48 kB / 298.1 MB, free: 1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.006056, allocations: 159.6 kB / 298.2 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.006252, allocations: 151.7 kB / 298.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.006294, allocations: 24 kB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.007689, allocations: 1.185 MB / 299.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.007816, allocations: 87.78 kB / 299.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.359e-05/0.00789, allocations: 67.81 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.008951, allocations: 0.9583 MB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.008965, allocations: 4 kB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.008966, allocations: 0 / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.008983, allocations: 0 / 300.7 MB, free: 14.37 MB / 298.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.0008544/0.009837, allocations: 0.7178 MB / 301.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.009877, allocations: 12.92 kB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.01005, allocations: 118 kB / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.01028, allocations: 201.9 kB / 301.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.0103, allocations: 12.38 kB / 301.7 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.01034, allocations: 31.89 kB / 301.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.01057, allocations: 222.1 kB / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.01058, allocations: 0 / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.01059, allocations: 4 kB / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.0106, allocations: 4 kB / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.967e-05/0.01069, allocations: 57.45 kB / 302.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.01126, allocations: 484.7 kB / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.01144, allocations: 213 kB / 302.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.124e-05/0.0115, allocations: 49.7 kB / 302.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.01153, allocations: 7.938 kB / 302.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.01155, allocations: 38.56 kB / 302.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.01155, allocations: 0 / 302.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002878/0.01184, allocations: 164.2 kB / 303 MB, free: 11.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.01187, allocations: 85.05 kB / 303.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.01206, allocations: 307 kB / 303.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01208, allocations: 33.7 kB / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.01214, allocations: 140.9 kB / 303.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-05/0.01223, allocations: 111 kB / 303.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.01232, allocations: 109.6 kB / 303.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.01241, allocations: 354.7 kB / 304.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.01249, allocations: 75.81 kB / 304.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.544e-05/0.01259, allocations: 119.4 kB / 304.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.01295, allocations: 371.2 kB / 304.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01295, allocations: 0 / 304.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002742/0.01322, allocations: 300.7 kB / 304.9 MB, free: 9.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01324, allocations: 4 kB / 305 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.01326, allocations: 4 kB / 305 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.01326, allocations: 4 kB / 305 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.01359, allocations: 111.9 kB / 305.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.01359, allocations: 0 / 305.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.707e-05/0.01368, allocations: 67.36 kB / 305.1 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.01369, allocations: 4 kB / 305.1 MB, free: 9.672 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.0001718/0.01387, allocations: 161.6 kB / 305.3 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.01391, allocations: 15.98 kB / 305.3 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.01396, allocations: 38.78 kB / 305.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01397, allocations: 0 / 305.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01397, allocations: 4 kB / 305.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01397, allocations: 3.984 kB / 305.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.01417, allocations: 153.7 kB / 305.5 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01417, allocations: 0 / 305.5 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.01436, allocations: 55.91 kB / 305.6 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.01439, allocations: 31.69 kB / 305.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01439, allocations: 8 kB / 305.6 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.01442, allocations: 11.98 kB / 305.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01442, allocations: 0 / 305.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01442, allocations: 0 / 305.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.01476, allocations: 486.9 kB / 306.1 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.01479, allocations: 11.98 kB / 306.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.01489, allocations: 11.94 kB / 306.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.01493, allocations: 11.97 kB / 306.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.01494, allocations: 8 kB / 306.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.904e-05/0.01501, allocations: 104.6 kB / 306.2 MB, free: 8.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01501, allocations: 0 / 306.2 MB, free: 8.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007468/0.01576, allocations: 255.7 kB / 306.5 MB, free: 8.277 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.0004215/0.01618, allocations: 287.7 kB / 306.8 MB, free: 7.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.01653, allocations: 343 kB / 307.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.01654, allocations: 4 kB / 307.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.01663, allocations: 82.7 kB / 307.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.01691, allocations: 69.16 kB / 307.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.01807, allocations: 0.6807 MB / 307.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.104e-05/0.01814, allocations: 112.3 kB / 308 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.01822, allocations: 21.95 kB / 308.1 MB, free: 6.613 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.01837, allocations: 103.3 kB / 308.2 MB, free: 6.512 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01837, allocations: 0 / 308.2 MB, free: 6.512 MB / 298.7 MB Notification: Performance of Templates: time 0.009748/0.02812, allocations: 7.582 MB / 315.7 MB, free: 14.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.179451944306493]