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.001506/0.001506, allocations: 88.34 kB / 22.22 MB, free: 2.281 MB / 18.57 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.001269/0.001269, allocations: 169.3 kB / 25.61 MB, free: 8.914 MB / 18.57 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 0.9995/0.9995, allocations: 177 MB / 205.9 MB, free: 4.426 MB / 186.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.1926/0.1926, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.533e-06/1.533e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.054e-05, allocations: 2.312 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002298/0.002329, allocations: 1.845 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.003745, allocations: 1.314 MB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.00385, allocations: 7.938 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.004023, allocations: 35.7 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.004075, allocations: 27.67 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.005383, allocations: 0.6815 MB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.005572, allocations: 243.2 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.005672, allocations: 28.58 kB / 384.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.005837, allocations: 139.7 kB / 384.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.005967, allocations: 147.7 kB / 384.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.006, allocations: 24 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.00704, allocations: 1.228 MB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.00714, allocations: 123.6 kB / 385.8 MB, free: 16.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.007202, allocations: 91.72 kB / 385.9 MB, free: 16.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008524/0.008055, allocations: 1.126 MB / 387 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.008057, allocations: 0 / 387 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008058, allocations: 4 kB / 387 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.008065, allocations: 0 / 387 MB, free: 15.68 MB / 314.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.0006699/0.008735, allocations: 0.748 MB / 387.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.008764, allocations: 8.031 kB / 387.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.008893, allocations: 52.69 kB / 387.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.00908, allocations: 224.7 kB / 388.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.009092, allocations: 16.36 kB / 388.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.009138, allocations: 27.92 kB / 388.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.009332, allocations: 224.9 kB / 388.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.009341, allocations: 0 / 388.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.009356, allocations: 8 kB / 388.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.009362, allocations: 8 kB / 388.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.00944, allocations: 49.62 kB / 388.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.009978, allocations: 0.643 MB / 389 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.01012, allocations: 142 kB / 389.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.01018, allocations: 59.34 kB / 389.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.0102, allocations: 8 kB / 389.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.01022, allocations: 37.39 kB / 389.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.01022, allocations: 0 / 389.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003037/0.01052, allocations: 219.8 kB / 389.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.01054, allocations: 85.11 kB / 389.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.01069, allocations: 386.2 kB / 390 MB, free: 12.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.01071, allocations: 33.7 kB / 390 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.01077, allocations: 207.5 kB / 390.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.01081, allocations: 103.2 kB / 390.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.01092, allocations: 139.2 kB / 390.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.01097, allocations: 0.5273 MB / 391 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.01105, allocations: 88.89 kB / 391 MB, free: 11.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.01116, allocations: 145.2 kB / 391.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.01143, allocations: 368.3 kB / 391.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01143, allocations: 4 kB / 391.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000293/0.01173, allocations: 384.2 kB / 391.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01174, allocations: 8 kB / 391.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.01175, allocations: 4 kB / 391.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.01177, allocations: 4 kB / 391.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.01202, allocations: 83.89 kB / 392 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.006e-06/0.01203, allocations: 4 kB / 392 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.962e-05/0.01213, allocations: 59.41 kB / 392.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.01215, allocations: 15.98 kB / 392.1 MB, free: 10.36 MB / 314.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.0001691/0.01232, allocations: 199.8 kB / 392.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.01238, allocations: 39.77 kB / 392.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.01242, allocations: 46.7 kB / 392.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01243, allocations: 0 / 392.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01243, allocations: 7.938 kB / 392.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01244, allocations: 0 / 392.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.01262, allocations: 197 kB / 392.6 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01262, allocations: 0 / 392.6 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.01281, allocations: 39.97 kB / 392.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01281, allocations: 4 kB / 392.6 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.01284, allocations: 19.97 kB / 392.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01284, allocations: 4 kB / 392.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01284, allocations: 0 / 392.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.01316, allocations: 0.5148 MB / 393.2 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.01318, allocations: 27.75 kB / 393.2 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.01321, allocations: 15.98 kB / 393.2 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01332, allocations: 16 kB / 393.2 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.01335, allocations: 15.97 kB / 393.2 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01337, allocations: 4 kB / 393.2 MB, free: 9.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.01343, allocations: 222.9 kB / 393.5 MB, free: 8.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01343, allocations: 0 / 393.5 MB, free: 8.941 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005576/0.01399, allocations: 247.7 kB / 393.7 MB, free: 8.699 MB / 314.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.0003417/0.01433, allocations: 283.4 kB / 394 MB, free: 8.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.01465, allocations: 395.7 kB / 394.4 MB, free: 8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01465, allocations: 3.938 kB / 394.4 MB, free: 7.996 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.01474, allocations: 89.72 kB / 394.5 MB, free: 7.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.01505, allocations: 37.12 kB / 394.5 MB, free: 7.875 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.01585, allocations: 0.7199 MB / 395.2 MB, free: 7.125 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.325e-05/0.01592, allocations: 124.1 kB / 395.3 MB, free: 6.984 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.01599, allocations: 25.94 kB / 395.4 MB, free: 6.961 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.01612, allocations: 118.2 kB / 395.5 MB, free: 6.844 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01612, allocations: 3.938 kB / 395.5 MB, free: 6.84 MB / 314.7 MB Notification: Performance of Templates: time 0.009739/0.02586, allocations: 7.711 MB / 403.2 MB, free: 15.18 MB / 330.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 -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.7495446102693677]