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.001048/0.001048, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009834/0.0009834, allocations: 166.2 kB / 24.99 MB, free: 8.219 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 1.002/1.002, allocations: 177 MB / 205.2 MB, free: 5.582 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.252/0.252, allocations: 34.86 MB / 296.6 MB, free: 0.5547 MB / 266.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.614e-06/1.614e-06, allocations: 0 / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.453e-05, allocations: 2.312 kB / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002384/0.002409, allocations: 1.851 MB / 380.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.00415, allocations: 1.337 MB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.004263, allocations: 3.938 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.00442, allocations: 27.72 kB / 382 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/0.004483, allocations: 31.72 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.005997, allocations: 0.6853 MB / 382.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.006277, allocations: 235.3 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.006418, allocations: 32.56 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.00663, allocations: 139.6 kB / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.00679, allocations: 147.7 kB / 383.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.006827, allocations: 31.98 kB / 383.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.008216, allocations: 1.216 MB / 384.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.008368, allocations: 115.7 kB / 384.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.008451, allocations: 95.73 kB / 384.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.009635, allocations: 1.122 MB / 385.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.00964, allocations: 4 kB / 385.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00964, allocations: 0 / 385.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.009647, allocations: 3.938 kB / 385.8 MB, free: 11.34 MB / 362.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.0009452/0.01059, allocations: 0.7598 MB / 386.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.01063, allocations: 12.03 kB / 386.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.01078, allocations: 48.69 kB / 386.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.01104, allocations: 232.6 kB / 386.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.01106, allocations: 12.38 kB / 386.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.01111, allocations: 31.89 kB / 386.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.01139, allocations: 229 kB / 387.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.01139, allocations: 4 kB / 387.1 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.01141, allocations: 8 kB / 387.1 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.01142, allocations: 4 kB / 387.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.01156, allocations: 66.28 kB / 387.2 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.01238, allocations: 0.6933 MB / 387.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.01258, allocations: 150 kB / 388 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.01268, allocations: 75.34 kB / 388.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.01271, allocations: 4 kB / 388.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.01273, allocations: 45.77 kB / 388.2 MB, free: 8.809 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.793e-06/0.01274, allocations: 4 kB / 388.2 MB, free: 8.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004412/0.01318, allocations: 242 kB / 388.4 MB, free: 8.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.01321, allocations: 77.11 kB / 388.5 MB, free: 8.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.01345, allocations: 394.3 kB / 388.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01348, allocations: 29.7 kB / 388.9 MB, free: 8.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.01356, allocations: 195.6 kB / 389.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.01362, allocations: 103.2 kB / 389.2 MB, free: 7.738 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.01374, allocations: 143.3 kB / 389.3 MB, free: 7.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.01389, allocations: 0.5196 MB / 389.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.01404, allocations: 101 kB / 389.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.01421, allocations: 173.3 kB / 390.1 MB, free: 6.781 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.0147, allocations: 440.4 kB / 390.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0147, allocations: 0 / 390.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000471/0.01517, allocations: 436.3 kB / 391 MB, free: 5.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.01519, allocations: 4 kB / 391 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.01521, allocations: 11.92 kB / 391 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01522, allocations: 4 kB / 391 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.01551, allocations: 95.88 kB / 391.1 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01551, allocations: 0 / 391.1 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.01562, allocations: 71.33 kB / 391.1 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.01564, allocations: 16 kB / 391.2 MB, free: 5.711 MB / 362.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.000336/0.01597, allocations: 188.1 kB / 391.3 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.01603, allocations: 39.77 kB / 391.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.01608, allocations: 42.77 kB / 391.4 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01609, allocations: 4 kB / 391.4 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01609, allocations: 4 kB / 391.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01609, allocations: 0 / 391.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.01632, allocations: 236.4 kB / 391.7 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.01632, allocations: 3.984 kB / 391.7 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.01653, allocations: 47.92 kB / 391.7 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.01653, allocations: 0 / 391.7 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.01656, allocations: 15.98 kB / 391.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01656, allocations: 0 / 391.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01656, allocations: 0 / 391.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.01703, allocations: 0.5353 MB / 392.3 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.01705, allocations: 31.75 kB / 392.3 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.01709, allocations: 15.98 kB / 392.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.0172, allocations: 8 kB / 392.3 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.01725, allocations: 11.97 kB / 392.3 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.01727, allocations: 19.98 kB / 392.4 MB, free: 4.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.01739, allocations: 227 kB / 392.6 MB, free: 4.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01739, allocations: 0 / 392.6 MB, free: 4.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005538/0.01795, allocations: 263.5 kB / 392.8 MB, free: 3.977 MB / 362.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.000409/0.01836, allocations: 275.4 kB / 393.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000509/0.01887, allocations: 416.2 kB / 393.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01887, allocations: 0 / 393.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01899, allocations: 87.62 kB / 393.6 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.01935, allocations: 56.98 kB / 393.6 MB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.02039, allocations: 0.738 MB / 394.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.014e-05/0.02047, allocations: 116.3 kB / 394.5 MB, free: 2.219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.02058, allocations: 42.25 kB / 394.5 MB, free: 2.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.02066, allocations: 24.5 kB / 394.6 MB, free: 2.152 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.02066, allocations: 0 / 394.6 MB, free: 2.152 MB / 362.7 MB Notification: Performance of Templates: time 0.008832/0.02949, allocations: 6.666 MB / 401.2 MB, free: 11.53 MB / 378.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.207354455953464]