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.0009214/0.0009214, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009031/0.0009031, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 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 0.884/0.884, allocations: 177.1 MB / 206 MB, free: 4.496 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.1929/0.1929, allocations: 34.27 MB / 296.9 MB, free: 13.94 MB / 282.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.583e-06/1.583e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.368e-05, allocations: 2.312 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00306/0.003084, allocations: 1.833 MB / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.005186, allocations: 1.321 MB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.005312, allocations: 3.938 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.005486, allocations: 31.72 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.126e-05/0.005567, allocations: 35.66 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.007333, allocations: 0.6853 MB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.0076, allocations: 239.3 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.007719, allocations: 32.56 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.007961, allocations: 131.6 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.008154, allocations: 151.7 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.236e-05/0.008217, allocations: 24 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.00999, allocations: 1.231 MB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.01012, allocations: 119.6 kB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.01022, allocations: 91.73 kB / 385.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.01159, allocations: 1.13 MB / 386.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.0116, allocations: 0 / 386.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.0116, allocations: 0 / 386.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.01161, allocations: 0 / 386.3 MB, free: 16.38 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.001066/0.01268, allocations: 0.7559 MB / 387.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.01271, allocations: 8.031 kB / 387.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.01292, allocations: 52.69 kB / 387.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.01318, allocations: 212.7 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.0132, allocations: 20.36 kB / 387.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.01326, allocations: 27.94 kB / 387.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.01356, allocations: 220.9 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01357, allocations: 0 / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.0136, allocations: 12 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.01361, allocations: 4 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.01375, allocations: 51.89 kB / 387.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008764/0.01462, allocations: 0.6353 MB / 388.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.01484, allocations: 146.1 kB / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.01495, allocations: 71.31 kB / 388.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.01497, allocations: 7.938 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.015, allocations: 41.39 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.314e-06/0.015, allocations: 0 / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004957/0.01549, allocations: 213.5 kB / 388.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.01552, allocations: 81.11 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.01578, allocations: 390.2 kB / 389.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.01581, allocations: 33.7 kB / 389.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.01589, allocations: 199.5 kB / 389.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/0.01596, allocations: 107.1 kB / 389.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.01613, allocations: 139.2 kB / 389.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.01622, allocations: 0.5273 MB / 390.2 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.01635, allocations: 76.97 kB / 390.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.01653, allocations: 153.2 kB / 390.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.01702, allocations: 371.8 kB / 390.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01702, allocations: 4 kB / 390.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0005193/0.01754, allocations: 388.3 kB / 391.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.01756, allocations: 7.984 kB / 391.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.01758, allocations: 8 kB / 391.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.01759, allocations: 0 / 391.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.01797, allocations: 83.89 kB / 391.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01798, allocations: 4 kB / 391.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.01813, allocations: 63.41 kB / 391.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.01816, allocations: 4 kB / 391.4 MB, free: 11.05 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.0001744/0.01833, allocations: 208.8 kB / 391.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.01842, allocations: 31.77 kB / 391.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.699e-05/0.01849, allocations: 38.78 kB / 391.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01849, allocations: 4 kB / 391.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01849, allocations: 3.984 kB / 391.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.0185, allocations: 0 / 391.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.01879, allocations: 201 kB / 391.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01879, allocations: 0 / 391.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.01909, allocations: 51.91 kB / 391.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.0191, allocations: 0 / 391.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.01914, allocations: 12 kB / 391.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.01914, allocations: 3.984 kB / 391.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01914, allocations: 0 / 391.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.01964, allocations: 0.5188 MB / 392.4 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.01968, allocations: 39.73 kB / 392.5 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.01973, allocations: 12 kB / 392.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.01993, allocations: 11.98 kB / 392.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.01999, allocations: 19.97 kB / 392.5 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.02002, allocations: 4 kB / 392.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.02013, allocations: 218.9 kB / 392.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02013, allocations: 0 / 392.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009093/0.02104, allocations: 255.7 kB / 393 MB, free: 9.383 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.0005178/0.02156, allocations: 283.3 kB / 393.3 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.02202, allocations: 387.4 kB / 393.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02203, allocations: 0 / 393.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.02216, allocations: 91.66 kB / 393.7 MB, free: 8.598 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.02268, allocations: 37.36 kB / 393.8 MB, free: 8.562 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.02385, allocations: 0.723 MB / 394.5 MB, free: 7.809 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.02396, allocations: 120.1 kB / 394.6 MB, free: 7.668 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.02407, allocations: 21.94 kB / 394.6 MB, free: 7.648 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.02422, allocations: 126.2 kB / 394.7 MB, free: 7.523 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02422, allocations: 0 / 394.7 MB, free: 7.523 MB / 314.7 MB Notification: Performance of Templates: time 0.007775/0.032, allocations: 7.709 MB / 402.5 MB, free: 15.87 MB / 330.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.1178405438549817]