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.001336/0.001336, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001525/0.001525, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.086/1.086, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2766/0.2766, allocations: 34.25 MB / 295.7 MB, free: 0.7109 MB / 266.7 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 1.633e-06/1.633e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.68e-05, allocations: 5.828 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002532/0.002559, allocations: 1.849 MB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.004284, allocations: 1.341 MB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.004404, allocations: 7.938 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.004561, allocations: 31.66 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.004624, allocations: 27.72 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.006179, allocations: 0.6815 MB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.006439, allocations: 239.2 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.006565, allocations: 36.52 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.00678, allocations: 147.6 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.006934, allocations: 147.7 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.006969, allocations: 20 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.008309, allocations: 1.216 MB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.00845, allocations: 119.6 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.008534, allocations: 91.73 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.00989, allocations: 1.13 MB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.009894, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.009895, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.009902, allocations: 0 / 385.1 MB, free: 11.55 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.0009051/0.01081, allocations: 0.7676 MB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.01084, allocations: 8.031 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.011, allocations: 44.75 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.01126, allocations: 232.6 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.01128, allocations: 16.38 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.01133, allocations: 27.89 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.01162, allocations: 237 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.01162, allocations: 0 / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.01164, allocations: 8 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01165, allocations: 4 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.01178, allocations: 63.89 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000801/0.01258, allocations: 0.6972 MB / 387.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.01279, allocations: 142 kB / 387.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.01289, allocations: 71.34 kB / 387.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.01292, allocations: 8 kB / 387.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.01294, allocations: 49.31 kB / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.01295, allocations: 0 / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004371/0.01338, allocations: 238.4 kB / 387.7 MB, free: 8.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.01342, allocations: 81.11 kB / 387.8 MB, free: 8.672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.01368, allocations: 394.3 kB / 388.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.01371, allocations: 33.7 kB / 388.2 MB, free: 8.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.01379, allocations: 191.6 kB / 388.4 MB, free: 8.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.01385, allocations: 99.19 kB / 388.5 MB, free: 7.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.01397, allocations: 135.3 kB / 388.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.01411, allocations: 0.5313 MB / 389.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.01425, allocations: 101 kB / 389.2 MB, free: 7.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.01443, allocations: 169.3 kB / 389.4 MB, free: 6.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.0149, allocations: 432.1 kB / 389.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01491, allocations: 0 / 389.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004668/0.01537, allocations: 436.3 kB / 390.2 MB, free: 6.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.01539, allocations: 8 kB / 390.3 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.01541, allocations: 7.984 kB / 390.3 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.01543, allocations: 4 kB / 390.3 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.01573, allocations: 95.88 kB / 390.4 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.01573, allocations: 7.984 kB / 390.4 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01584, allocations: 71.33 kB / 390.4 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.01586, allocations: 12 kB / 390.4 MB, free: 5.922 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.0001696/0.01602, allocations: 190.8 kB / 390.6 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.01608, allocations: 35.77 kB / 390.7 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.01614, allocations: 50.7 kB / 390.7 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01614, allocations: 4 kB / 390.7 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.01615, allocations: 4 kB / 390.7 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01615, allocations: 0 / 390.7 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.01638, allocations: 240.3 kB / 391 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01639, allocations: 0 / 391 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.01658, allocations: 51.91 kB / 391 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01659, allocations: 0 / 391 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.01662, allocations: 15.98 kB / 391 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01662, allocations: 0 / 391 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01663, allocations: 0 / 391 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.01712, allocations: 0.5368 MB / 391.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.01715, allocations: 31.69 kB / 391.6 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.01718, allocations: 11.98 kB / 391.6 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.0173, allocations: 8 kB / 391.6 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.01735, allocations: 19.97 kB / 391.6 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.01737, allocations: 4 kB / 391.6 MB, free: 4.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.01751, allocations: 231 kB / 391.9 MB, free: 4.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01751, allocations: 0 / 391.9 MB, free: 4.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008426/0.01835, allocations: 255.6 kB / 392.1 MB, free: 4.191 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.0004253/0.01878, allocations: 283.4 kB / 392.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004633/0.01924, allocations: 423.4 kB / 392.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01924, allocations: 0 / 392.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.01936, allocations: 87.52 kB / 392.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.01969, allocations: 48.5 kB / 392.9 MB, free: 3.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.02084, allocations: 0.7339 MB / 393.7 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.393e-05/0.02093, allocations: 116.3 kB / 393.8 MB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.02104, allocations: 54.16 kB / 393.8 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.02112, allocations: 24.5 kB / 393.9 MB, free: 2.352 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02112, allocations: 4 kB / 393.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of Templates: time 0.009473/0.03059, allocations: 6.664 MB / 400.5 MB, free: 11.73 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] 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","",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.3964232839643955]