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.002031/0.002031, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001812/0.001812, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.462/1.462, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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.2075/0.2075, allocations: 34.27 MB / 295.5 MB, free: 14.56 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.002132/0.002132, allocations: 71.88 kB / 443.2 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3077, allocations: 66 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00246/0.3102, allocations: 1.802 MB / 0.499 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3119, allocations: 1.295 MB / 0.5002 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.312, allocations: 7.031 kB / 0.5003 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.3121, allocations: 29.55 kB / 0.5003 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.3121, allocations: 34.12 kB / 0.5003 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.3135, allocations: 0.6652 MB / 0.501 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.3138, allocations: 300 kB / 0.5013 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.3139, allocations: 32.75 kB / 0.5013 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.3141, allocations: 129.8 kB / 0.5014 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.3143, allocations: 170.1 kB / 0.5016 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.3143, allocations: 22.16 kB / 0.5016 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.3159, allocations: 1.22 MB / 0.5028 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.316, allocations: 119.7 kB / 0.5029 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.3161, allocations: 116 kB / 0.503 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009087/0.317, allocations: 1.094 MB / 0.5041 GB, free: 26.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.317, allocations: 0 / 0.5041 GB, free: 26.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.317, allocations: 0 / 0.5041 GB, free: 26.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3171, allocations: 0 / 0.5041 GB, free: 26.59 MB / 446.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.001062/0.3181, allocations: 0.6693 MB / 0.5047 GB, free: 26.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3182, allocations: 9.375 kB / 0.5047 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.3183, allocations: 42.12 kB / 0.5048 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.3186, allocations: 228.6 kB / 0.505 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3186, allocations: 18.03 kB / 0.505 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.3187, allocations: 26.89 kB / 0.505 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.3191, allocations: 324.5 kB / 0.5053 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3191, allocations: 0 / 0.5053 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.3192, allocations: 4 kB / 0.5054 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3192, allocations: 3.219 kB / 0.5054 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.3195, allocations: 221.3 kB / 0.5056 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/0.3205, allocations: 0.6472 MB / 0.5062 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.3209, allocations: 289.5 kB / 0.5065 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.3212, allocations: 189.1 kB / 0.5067 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3212, allocations: 6.781 kB / 0.5067 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.3212, allocations: 34.31 kB / 0.5067 GB, free: 24.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.3212, allocations: 0 / 0.5067 GB, free: 24.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009132/0.3221, allocations: 0.5397 MB / 0.5072 GB, free: 24.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.3221, allocations: 80.17 kB / 0.5073 GB, free: 24.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.3224, allocations: 354.1 kB / 0.5076 GB, free: 24.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.3225, allocations: 36.64 kB / 0.5077 GB, free: 24.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.3225, allocations: 138.3 kB / 0.5078 GB, free: 24.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.3226, allocations: 107.8 kB / 0.5079 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.3227, allocations: 124.1 kB / 0.508 GB, free: 24.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.3228, allocations: 351.2 kB / 0.5084 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.3232, allocations: 286.5 kB / 0.5086 GB, free: 23.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.3236, allocations: 341.7 kB / 0.509 GB, free: 23.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/0.3271, allocations: 1.753 MB / 0.5107 GB, free: 23.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3271, allocations: 0 / 0.5107 GB, free: 23.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001106/0.3282, allocations: 0.7645 MB / 0.5114 GB, free: 22.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3282, allocations: 10.38 kB / 0.5114 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.3282, allocations: 6.141 kB / 0.5114 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.3282, allocations: 2.906 kB / 0.5114 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.3288, allocations: 104.7 kB / 0.5115 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3288, allocations: 2.531 kB / 0.5115 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.329, allocations: 68.81 kB / 0.5116 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.329, allocations: 13.67 kB / 0.5116 GB, free: 22.78 MB / 446.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.0002098/0.3292, allocations: 185.1 kB / 0.5118 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.3293, allocations: 31.59 kB / 0.5118 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.4e-05/0.3294, allocations: 39.25 kB / 0.5119 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3294, allocations: 10.25 kB / 0.5119 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3294, allocations: 1.844 kB / 0.5119 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3294, allocations: 2.734 kB / 0.5119 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.3297, allocations: 243.2 kB / 0.5121 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3297, allocations: 0 / 0.5121 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.3301, allocations: 46.95 kB / 0.5122 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3301, allocations: 2.062 kB / 0.5122 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.3301, allocations: 17.23 kB / 0.5122 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3301, allocations: 6.344 kB / 0.5122 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3301, allocations: 3.938 kB / 0.5122 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.3312, allocations: 0.7467 MB / 0.5129 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.3313, allocations: 34.02 kB / 0.5129 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.3313, allocations: 17.59 kB / 0.513 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.3316, allocations: 6.156 kB / 0.513 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.3316, allocations: 22.31 kB / 0.513 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.3316, allocations: 7.484 kB / 0.513 GB, free: 21.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.3318, allocations: 222.6 kB / 0.5132 GB, free: 21.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3318, allocations: 7.938 kB / 0.5132 GB, free: 21.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008605/0.3327, allocations: 253 kB / 0.5135 GB, free: 21.78 MB / 446.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.0004459/0.3331, allocations: 252 kB / 0.5137 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009475/0.3341, allocations: 0.6617 MB / 0.5143 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3341, allocations: 0 / 0.5143 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.3344, allocations: 197.9 kB / 0.5145 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.3349, allocations: 41.14 kB / 0.5146 GB, free: 21.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3361, allocations: 0.9561 MB / 0.5155 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.3363, allocations: 206.6 kB / 0.5157 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.3365, allocations: 65.58 kB / 0.5158 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.3366, allocations: 22.97 kB / 0.5158 GB, free: 20.65 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3366, allocations: 0 / 0.5158 GB, free: 20.65 MB / 446.1 MB Notification: Performance of Templates: time 0.01341/0.35, allocations: 6.599 MB / 0.5222 GB, free: 20.16 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/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.364473338006064]