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.001837/0.001837, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002249/0.002249, allocations: 203.7 kB / 23.73 MB, free: 4.379 MB / 14.72 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.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2537/0.2537, allocations: 46.94 MB / 360.8 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002353/0.002353, allocations: 71.89 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3845, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.004021/0.3886, allocations: 1.789 MB / 0.5628 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.3911, allocations: 1.295 MB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3912, allocations: 4 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3914, allocations: 31.72 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.874e-05/0.3915, allocations: 35.64 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.3939, allocations: 0.6859 MB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006497/0.3945, allocations: 307.2 kB / 0.5651 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.3947, allocations: 40.55 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.395, allocations: 123.6 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.3952, allocations: 175.4 kB / 0.5654 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.3953, allocations: 24 kB / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.3975, allocations: 1.329 MB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.3976, allocations: 123.6 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3978, allocations: 119.4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.3995, allocations: 1.097 MB / 0.5681 GB, free: 12.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3995, allocations: 3.938 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3995, allocations: 0 / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3995, allocations: 0 / 0.5681 GB, free: 12.98 MB / 414.1 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.001397/0.4009, allocations: 0.6677 MB / 0.5687 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.401, allocations: 12.03 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.4012, allocations: 40.69 kB / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.4016, allocations: 226.2 kB / 0.569 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4016, allocations: 16 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.4017, allocations: 27.94 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.4022, allocations: 323 kB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4022, allocations: 0 / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.4022, allocations: 12 kB / 0.5694 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.4022, allocations: 4 kB / 0.5694 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.4027, allocations: 226.8 kB / 0.5696 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.4039, allocations: 0.6405 MB / 0.5702 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.4044, allocations: 284.9 kB / 0.5705 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.4047, allocations: 181.6 kB / 0.5706 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.4048, allocations: 4.438 kB / 0.5706 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.4048, allocations: 46.48 kB / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.4048, allocations: 0 / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001121/0.4059, allocations: 0.5407 MB / 0.5712 GB, free: 9.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.406, allocations: 81.11 kB / 0.5713 GB, free: 9.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.4064, allocations: 348.6 kB / 0.5716 GB, free: 9.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.4064, allocations: 37.7 kB / 0.5717 GB, free: 9.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.4065, allocations: 140.9 kB / 0.5718 GB, free: 8.977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.4066, allocations: 107.1 kB / 0.5719 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.4068, allocations: 125.4 kB / 0.572 GB, free: 8.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.407, allocations: 354.8 kB / 0.5724 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.4074, allocations: 284.8 kB / 0.5726 GB, free: 8.109 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/0.4079, allocations: 340.2 kB / 0.573 GB, free: 7.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/0.4117, allocations: 1.749 MB / 0.5747 GB, free: 6.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4117, allocations: 0 / 0.5747 GB, free: 6.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001378/0.4131, allocations: 0.7699 MB / 0.5754 GB, free: 5.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4131, allocations: 4 kB / 0.5754 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.4131, allocations: 7.984 kB / 0.5754 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4132, allocations: 4 kB / 0.5754 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.4137, allocations: 103.8 kB / 0.5755 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4137, allocations: 4 kB / 0.5755 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.414, allocations: 67.34 kB / 0.5756 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.414, allocations: 16 kB / 0.5756 GB, free: 5.031 MB / 414.1 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.0004351/0.4144, allocations: 186.7 kB / 0.5758 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.4145, allocations: 23.81 kB / 0.5758 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.4146, allocations: 42.7 kB / 0.5759 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.4147, allocations: 7.938 kB / 0.5759 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.4147, allocations: 0 / 0.5759 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4147, allocations: 0 / 0.5759 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.4151, allocations: 249 kB / 0.5761 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.4151, allocations: 4 kB / 0.5761 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.4155, allocations: 43.97 kB / 0.5761 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.4155, allocations: 4 kB / 0.5761 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.4155, allocations: 15.98 kB / 0.5762 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4155, allocations: 4 kB / 0.5762 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4155, allocations: 3.938 kB / 0.5762 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.4167, allocations: 0.7407 MB / 0.5769 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.4168, allocations: 39.84 kB / 0.5769 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.4168, allocations: 15.98 kB / 0.5769 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.4171, allocations: 4 kB / 0.577 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.4171, allocations: 23.91 kB / 0.577 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.4172, allocations: 7.984 kB / 0.577 GB, free: 3.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.4175, allocations: 223 kB / 0.5772 GB, free: 3.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4175, allocations: 0 / 0.5772 GB, free: 3.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001034/0.4185, allocations: 251.7 kB / 0.5774 GB, free: 3.102 MB / 414.1 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.0006373/0.4191, allocations: 270.7 kB / 0.5777 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.4203, allocations: 0.6623 MB / 0.5783 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4203, allocations: 0 / 0.5783 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.4207, allocations: 195.8 kB / 0.5785 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.4212, allocations: 37.06 kB / 0.5786 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4227, allocations: 0.947 MB / 0.5795 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.423, allocations: 199.8 kB / 0.5797 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000193/0.4232, allocations: 70.23 kB / 0.5797 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.4233, allocations: 27.42 kB / 0.5798 GB, free: 0.625 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4233, allocations: 0 / 0.5798 GB, free: 0.625 MB / 414.1 MB Notification: Performance of Templates: time 0.01388/0.4371, allocations: 6.961 MB / 0.5866 GB, free: 9.707 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.91785482596606]