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.001071/0.001071, allocations: 91.31 kB / 20.42 MB, free: 4.141 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.001106/0.001106, allocations: 169.3 kB / 23.8 MB, free: 0.7695 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 0.9347/0.9347, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.1388/0.1388, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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 1.754e-06/1.754e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.824e-05, allocations: 16.22 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001748/0.001767, allocations: 1.83 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.003138, allocations: 1.314 MB / 350.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.003219, allocations: 7.938 kB / 350.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.003399, allocations: 27.72 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.003455, allocations: 39.64 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.004765, allocations: 0.6698 MB / 351.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.004976, allocations: 239.2 kB / 351.8 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.005106, allocations: 32.52 kB / 351.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.00524, allocations: 131.7 kB / 351.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.005382, allocations: 151.7 kB / 352.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.005417, allocations: 28 kB / 352.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.006418, allocations: 1.216 MB / 353.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.006512, allocations: 111.7 kB / 353.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.006592, allocations: 99.66 kB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007319/0.007324, allocations: 1.122 MB / 354.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007327, allocations: 0 / 354.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007327, allocations: 0 / 354.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.007333, allocations: 0 / 354.7 MB, free: 2.434 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.0007063/0.008039, allocations: 0.756 MB / 355.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.008084, allocations: 8.031 kB / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.008158, allocations: 44.7 kB / 355.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.008362, allocations: 224.6 kB / 355.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.008379, allocations: 12.38 kB / 355.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.008426, allocations: 27.94 kB / 355.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.008701, allocations: 233 kB / 356 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.008712, allocations: 4 kB / 356 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.00873, allocations: 4 kB / 356 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.00874, allocations: 7.938 kB / 356 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.008861, allocations: 66.06 kB / 356 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.009533, allocations: 0.701 MB / 356.7 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.009715, allocations: 150 kB / 356.9 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.009825, allocations: 83.27 kB / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.009847, allocations: 4 kB / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.009871, allocations: 37.39 kB / 357 MB, free: 15.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.009872, allocations: 0 / 357 MB, free: 15.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.000424/0.0103, allocations: 245.6 kB / 357.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.01033, allocations: 81.11 kB / 357.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.01058, allocations: 386.4 kB / 357.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.0106, allocations: 29.7 kB / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.274e-05/0.01068, allocations: 191.6 kB / 357.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/0.01075, allocations: 111.1 kB / 358 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.01086, allocations: 135.3 kB / 358.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.011, allocations: 0.5235 MB / 358.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.01114, allocations: 105 kB / 358.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.01131, allocations: 173.2 kB / 359 MB, free: 13.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.01179, allocations: 439 kB / 359.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.01179, allocations: 0 / 359.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000482/0.01228, allocations: 432.3 kB / 359.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.01229, allocations: 4 kB / 359.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.01231, allocations: 7.984 kB / 359.8 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.01233, allocations: 4 kB / 359.8 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.01264, allocations: 95.88 kB / 359.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.01265, allocations: 0 / 359.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01275, allocations: 71.3 kB / 360 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.01278, allocations: 12 kB / 360 MB, free: 12.82 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.0001855/0.01296, allocations: 198.4 kB / 360.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.01302, allocations: 39.75 kB / 360.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.01307, allocations: 42.77 kB / 360.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01307, allocations: 4 kB / 360.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01308, allocations: 0 / 360.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01308, allocations: 4 kB / 360.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.01332, allocations: 232.4 kB / 360.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01332, allocations: 3.938 kB / 360.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.01353, allocations: 51.97 kB / 360.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01353, allocations: 0 / 360.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.01357, allocations: 15.98 kB / 360.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01357, allocations: 0 / 360.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01358, allocations: 0 / 360.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.01408, allocations: 0.5343 MB / 361.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.01411, allocations: 35.69 kB / 361.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.01415, allocations: 16 kB / 361.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.01425, allocations: 11.98 kB / 361.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.01431, allocations: 15.97 kB / 361.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.01432, allocations: 4 kB / 361.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.01447, allocations: 231 kB / 361.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01447, allocations: 0 / 361.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005167/0.01499, allocations: 251.6 kB / 361.7 MB, free: 11.07 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.0004207/0.01541, allocations: 286.6 kB / 361.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005274/0.01594, allocations: 416.2 kB / 362.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01594, allocations: 4 kB / 362.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.01606, allocations: 91.52 kB / 362.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.0164, allocations: 43.47 kB / 362.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.01751, allocations: 0.7297 MB / 363.2 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.131e-05/0.01759, allocations: 124.2 kB / 363.3 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.492e-05/0.01768, allocations: 37.91 kB / 363.4 MB, free: 9.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.01775, allocations: 28.48 kB / 363.4 MB, free: 9.25 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01775, allocations: 0 / 363.4 MB, free: 9.25 MB / 298.7 MB Notification: Performance of Templates: time 0.01009/0.02785, allocations: 7.557 MB / 371 MB, free: 1.727 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","",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.1958077158778906]