Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002737/0.002737, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.003108/0.003108, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2544/0.2544, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.637e-05, allocations: 6.25 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002867/0.002903, allocations: 1.815 MB / 348.7 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.004758, allocations: 1.314 MB / 350 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.004842, allocations: 0 / 350 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.005015, allocations: 31.72 kB / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.005088, allocations: 31.66 kB / 350.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.006764, allocations: 0.6737 MB / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.006985, allocations: 231.3 kB / 351 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.007112, allocations: 36.56 kB / 351 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.007295, allocations: 135.6 kB / 351.2 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.007456, allocations: 151.7 kB / 351.3 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.007502, allocations: 24 kB / 351.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.009089, allocations: 1.216 MB / 352.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.009202, allocations: 119.6 kB / 352.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.009308, allocations: 87.73 kB / 352.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.01041, allocations: 1.204 MB / 354 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01042, allocations: 0 / 354 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01042, allocations: 0 / 354 MB, free: 2.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.01043, allocations: 0 / 354 MB, free: 2.73 MB / 282.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.001133/0.01156, allocations: 0.7673 MB / 354.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.0116, allocations: 8.031 kB / 354.7 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.01171, allocations: 44.7 kB / 354.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.01204, allocations: 220.7 kB / 355 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.01206, allocations: 12.38 kB / 355 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.01212, allocations: 35.83 kB / 355.1 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.01248, allocations: 228.3 kB / 355.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.0125, allocations: 0 / 355.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.01252, allocations: 12 kB / 355.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.01253, allocations: 7.984 kB / 355.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.01278, allocations: 91.89 kB / 355.4 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.01386, allocations: 0.7324 MB / 356.1 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.01416, allocations: 162 kB / 356.3 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.01432, allocations: 87.34 kB / 356.4 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.01436, allocations: 11.97 kB / 356.4 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.01439, allocations: 45.33 kB / 356.4 MB, free: 112 kB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.074e-06/0.01439, allocations: 4 kB / 356.4 MB, free: 108 kB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.000821/0.01521, allocations: 281.6 kB / 356.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.01528, allocations: 81.11 kB / 356.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.0158, allocations: 422.3 kB / 357.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.01585, allocations: 37.7 kB / 357.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.01604, allocations: 203.6 kB / 357.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.01617, allocations: 111.1 kB / 357.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.01643, allocations: 155.3 kB / 357.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003791/0.0168, allocations: 0.5391 MB / 358.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.01712, allocations: 124.9 kB / 358.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.01749, allocations: 201.3 kB / 358.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.0185, allocations: 494.9 kB / 359 MB, free: 13.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.0185, allocations: 0 / 359 MB, free: 13.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009519/0.01946, allocations: 464.2 kB / 359.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.01948, allocations: 4 kB / 359.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.01951, allocations: 7.984 kB / 359.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.01954, allocations: 4 kB / 359.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.02012, allocations: 103.9 kB / 359.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.02012, allocations: 0 / 359.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.02037, allocations: 71.3 kB / 359.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.02042, allocations: 15.98 kB / 359.7 MB, free: 12.74 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.0003747/0.02079, allocations: 191.8 kB / 359.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.02093, allocations: 35.81 kB / 359.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.02109, allocations: 46.77 kB / 359.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.02109, allocations: 4 kB / 360 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.0211, allocations: 0 / 360 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.02111, allocations: 0 / 360 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.02159, allocations: 264.3 kB / 360.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02159, allocations: 0 / 360.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.02199, allocations: 51.91 kB / 360.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.022, allocations: 0 / 360.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-05/0.02209, allocations: 15.98 kB / 360.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.02209, allocations: 3.984 kB / 360.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.02209, allocations: 4 kB / 360.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.0231, allocations: 0.589 MB / 360.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.02315, allocations: 31.7 kB / 360.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.02321, allocations: 15.98 kB / 360.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.02343, allocations: 4 kB / 360.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.02352, allocations: 15.97 kB / 360.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.02355, allocations: 11.98 kB / 361 MB, free: 11.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003691/0.02392, allocations: 243 kB / 361.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02392, allocations: 4 kB / 361.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00113/0.02505, allocations: 251.6 kB / 361.4 MB, free: 10.91 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.0006811/0.02573, allocations: 286.7 kB / 361.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009341/0.02666, allocations: 461 kB / 362.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.02667, allocations: 0 / 362.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.02693, allocations: 103.6 kB / 362.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.02748, allocations: 49.23 kB / 362.3 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.02916, allocations: 0.7477 MB / 363.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.02942, allocations: 187.5 kB / 363.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.02961, allocations: 50.23 kB / 363.3 MB, free: 8.961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.02973, allocations: 20.5 kB / 363.3 MB, free: 8.941 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02973, allocations: 0 / 363.3 MB, free: 8.941 MB / 298.7 MB Notification: Performance of Templates: time 0.01645/0.04618, allocations: 6.686 MB / 370 MB, free: 2.281 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9480420319596305]