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.001816/0.001816, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002201/0.002201, allocations: 209.8 kB / 23.73 MB, free: 4.387 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2452/0.2452, allocations: 46.95 MB / 360.9 MB, free: 4.051 MB / 286.1 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 0.003521/0.003521, allocations: 68.08 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3842, allocations: 66.04 MB / 0.5611 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003472/0.3876, allocations: 1.793 MB / 0.5628 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.3899, allocations: 1.299 MB / 0.5641 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.39, allocations: 3.938 kB / 0.5641 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.3901, allocations: 31.72 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.3902, allocations: 35.66 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.3921, allocations: 0.6546 MB / 0.5648 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000405/0.3925, allocations: 307.2 kB / 0.5651 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3926, allocations: 32.56 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.3929, allocations: 127.7 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.3931, allocations: 163.5 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.3932, allocations: 24 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.3953, allocations: 1.224 MB / 0.5666 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.3954, allocations: 115.6 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3955, allocations: 115.4 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.3968, allocations: 1.104 MB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3968, allocations: 0 / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3968, allocations: 0 / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3968, allocations: 0 / 0.5679 GB, free: 13.16 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.00133/0.3982, allocations: 0.6638 MB / 0.5686 GB, free: 12.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3982, allocations: 12.03 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.3984, allocations: 40.69 kB / 0.5686 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.3988, allocations: 226.2 kB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.3988, allocations: 19.94 kB / 0.5689 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.3989, allocations: 19.95 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.3994, allocations: 323.1 kB / 0.5692 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3994, allocations: 4 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.3994, allocations: 8 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3994, allocations: 4 kB / 0.5692 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.4, allocations: 227.8 kB / 0.5694 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.4013, allocations: 0.6444 MB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.4018, allocations: 280.9 kB / 0.5703 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.4021, allocations: 197.5 kB / 0.5705 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.4021, allocations: 8 kB / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.4021, allocations: 34.56 kB / 0.5705 GB, free: 10.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 3.386e-06/0.4022, allocations: 3.984 kB / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.00108/0.4032, allocations: 0.5365 MB / 0.5711 GB, free: 9.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.4033, allocations: 81.11 kB / 0.5711 GB, free: 9.691 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.4037, allocations: 352.6 kB / 0.5715 GB, free: 9.336 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.4037, allocations: 37.7 kB / 0.5715 GB, free: 9.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.4038, allocations: 137 kB / 0.5716 GB, free: 9.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.81e-05/0.4039, allocations: 103.1 kB / 0.5717 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.4041, allocations: 129.4 kB / 0.5719 GB, free: 8.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4043, allocations: 350.7 kB / 0.5722 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.4047, allocations: 288.8 kB / 0.5725 GB, free: 8.285 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.4052, allocations: 340.2 kB / 0.5728 GB, free: 7.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.4089, allocations: 1.753 MB / 0.5745 GB, free: 6.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4089, allocations: 4 kB / 0.5745 GB, free: 6.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001198/0.4101, allocations: 0.7687 MB / 0.5753 GB, free: 5.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4101, allocations: 4 kB / 0.5753 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.4101, allocations: 4 kB / 0.5753 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4101, allocations: 4 kB / 0.5753 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.4106, allocations: 99.81 kB / 0.5754 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4106, allocations: 4 kB / 0.5754 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.4108, allocations: 67.34 kB / 0.5754 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.4108, allocations: 16 kB / 0.5755 GB, free: 5.211 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.0002363/0.4111, allocations: 187.1 kB / 0.5756 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.4112, allocations: 27.81 kB / 0.5757 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.4113, allocations: 42.72 kB / 0.5757 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4113, allocations: 7.938 kB / 0.5757 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4113, allocations: 4 kB / 0.5757 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4113, allocations: 3.984 kB / 0.5757 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.4116, allocations: 241.1 kB / 0.5759 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4116, allocations: 0 / 0.5759 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.412, allocations: 47.91 kB / 0.576 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.412, allocations: 3.938 kB / 0.576 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.412, allocations: 19.98 kB / 0.576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.412, allocations: 0 / 0.576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.412, allocations: 7.938 kB / 0.576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4131, allocations: 0.7446 MB / 0.5768 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.4132, allocations: 39.78 kB / 0.5768 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.4132, allocations: 11.98 kB / 0.5768 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.4135, allocations: 11.98 kB / 0.5768 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.4135, allocations: 23.91 kB / 0.5768 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.4135, allocations: 4 kB / 0.5768 GB, free: 3.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.4138, allocations: 223 kB / 0.5771 GB, free: 3.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4138, allocations: 0 / 0.5771 GB, free: 3.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007686/0.4145, allocations: 255.7 kB / 0.5773 GB, free: 3.27 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.0005105/0.4151, allocations: 254.8 kB / 0.5775 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.4161, allocations: 0.6662 MB / 0.5782 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4161, allocations: 0 / 0.5782 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.4164, allocations: 195.8 kB / 0.5784 GB, free: 2.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.4169, allocations: 33.08 kB / 0.5784 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4183, allocations: 0.9525 MB / 0.5793 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.4185, allocations: 199.8 kB / 0.5795 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.4187, allocations: 70.23 kB / 0.5796 GB, free: 0.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.4188, allocations: 23.44 kB / 0.5796 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4188, allocations: 0 / 0.5796 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of Templates: time 0.01344/0.4322, allocations: 6.871 MB / 0.5863 GB, free: 9.98 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.9884857796132565]