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.0009424/0.0009424, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001248/0.001248, allocations: 164.3 kB / 24.82 MB, free: 9.324 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.938/0.938, allocations: 177 MB / 205.1 MB, free: 5.484 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.249/0.249, allocations: 34.87 MB / 296.6 MB, free: 0.5234 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.924e-06/1.924e-06, allocations: 0 / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.627e-05, allocations: 2.312 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003242/0.003269, allocations: 1.854 MB / 381.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.005473, allocations: 1.31 MB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.005604, allocations: 11.94 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.005771, allocations: 35.7 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.843e-05/0.00586, allocations: 35.66 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.007945, allocations: 0.6815 MB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.00825, allocations: 235.3 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.008372, allocations: 28.58 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.008625, allocations: 143.6 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.008823, allocations: 147.7 kB / 383.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.00887, allocations: 24 kB / 383.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.01065, allocations: 1.228 MB / 384.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.01083, allocations: 119.7 kB / 385.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.832e-05/0.01092, allocations: 91.73 kB / 385.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.01245, allocations: 1.133 MB / 386.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.01245, allocations: 0 / 386.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.01245, allocations: 3.984 kB / 386.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.01246, allocations: 3.938 kB / 386.3 MB, free: 10.75 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.001103/0.01356, allocations: 0.752 MB / 387 MB, free: 9.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.01361, allocations: 8.031 kB / 387 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.0138, allocations: 48.69 kB / 387.1 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.01409, allocations: 220.7 kB / 387.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.01411, allocations: 16.38 kB / 387.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.01417, allocations: 27.89 kB / 387.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.01451, allocations: 221 kB / 387.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.01452, allocations: 0 / 387.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.01454, allocations: 4 kB / 387.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.01455, allocations: 12 kB / 387.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.01469, allocations: 57.86 kB / 387.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009086/0.0156, allocations: 0.6314 MB / 388.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.01582, allocations: 142 kB / 388.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.01592, allocations: 63.34 kB / 388.5 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.01595, allocations: 7.938 kB / 388.5 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.01598, allocations: 41.83 kB / 388.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.575e-06/0.01599, allocations: 0 / 388.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004886/0.01647, allocations: 214 kB / 388.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.01651, allocations: 85.11 kB / 388.8 MB, free: 8.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.01682, allocations: 394.1 kB / 389.2 MB, free: 7.625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.01685, allocations: 33.7 kB / 389.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.01696, allocations: 195.6 kB / 389.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.01705, allocations: 103.2 kB / 389.5 MB, free: 7.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.01722, allocations: 139.2 kB / 389.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000509/0.01773, allocations: 0.5274 MB / 390.2 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.01788, allocations: 80.95 kB / 390.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.01806, allocations: 149.2 kB / 390.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.01853, allocations: 376.4 kB / 390.8 MB, free: 5.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01854, allocations: 0 / 390.8 MB, free: 5.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0005056/0.01904, allocations: 388.3 kB / 391.2 MB, free: 5.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.01906, allocations: 4 kB / 391.2 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.01909, allocations: 15.92 kB / 391.2 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.0191, allocations: 0 / 391.2 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.01945, allocations: 87.89 kB / 391.3 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.01946, allocations: 4 kB / 391.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.01959, allocations: 63.41 kB / 391.3 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.01962, allocations: 4 kB / 391.3 MB, free: 5.434 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.0002054/0.01982, allocations: 208 kB / 391.5 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.0199, allocations: 31.77 kB / 391.6 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.01997, allocations: 38.78 kB / 391.6 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.01997, allocations: 4 kB / 391.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01998, allocations: 0 / 391.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01998, allocations: 3.984 kB / 391.6 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.0203, allocations: 197 kB / 391.8 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.0203, allocations: 4 kB / 391.8 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/0.02076, allocations: 43.92 kB / 391.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.02077, allocations: 0 / 391.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.02084, allocations: 19.98 kB / 391.9 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.02084, allocations: 0 / 391.9 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.02084, allocations: 0 / 391.9 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.02136, allocations: 0.5219 MB / 392.4 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.02139, allocations: 31.75 kB / 392.4 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.02146, allocations: 11.98 kB / 392.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.02166, allocations: 12 kB / 392.4 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.0217, allocations: 23.95 kB / 392.5 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.02172, allocations: 4 kB / 392.5 MB, free: 4.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.02183, allocations: 218.9 kB / 392.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02183, allocations: 0 / 392.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006483/0.02248, allocations: 263.6 kB / 392.9 MB, free: 3.766 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.0003639/0.02284, allocations: 275.4 kB / 393.2 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.0232, allocations: 384.3 kB / 393.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.0232, allocations: 4 kB / 393.6 MB, free: 3.082 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.02329, allocations: 83.45 kB / 393.7 MB, free: 2.996 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.02359, allocations: 49.11 kB / 393.7 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008863/0.02448, allocations: 0.7178 MB / 394.4 MB, free: 2.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.02455, allocations: 116.3 kB / 394.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.449e-05/0.02463, allocations: 29.92 kB / 394.6 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.02477, allocations: 118.2 kB / 394.7 MB, free: 1.918 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02478, allocations: 0 / 394.7 MB, free: 1.918 MB / 362.7 MB Notification: Performance of Templates: time 0.00846/0.03324, allocations: 7.662 MB / 402.4 MB, free: 10.3 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.090684630908072]