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.001422/0.001422, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.001557/0.001557, allocations: 168.7 kB / 23.76 MB, free: 4.461 MB / 14.72 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 1.416/1.416, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 178] 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.223/0.223, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 67.91 kB / 407.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1524, allocations: 61.05 MB / 468.8 MB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003532/0.156, allocations: 1.761 MB / 470.6 MB, free: 6.527 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.1583, allocations: 1.287 MB / 471.8 MB, free: 5.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.1584, allocations: 3.938 kB / 471.9 MB, free: 5.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.1586, allocations: 31.72 kB / 471.9 MB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.19e-05/0.1587, allocations: 31.72 kB / 471.9 MB, free: 5.164 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.1606, allocations: 0.6546 MB / 472.6 MB, free: 4.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005052/0.1611, allocations: 303.2 kB / 472.9 MB, free: 4.211 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1613, allocations: 40.42 kB / 472.9 MB, free: 4.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.1615, allocations: 119.6 kB / 473 MB, free: 4.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.1618, allocations: 167.5 kB / 473.2 MB, free: 3.891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.1619, allocations: 27.94 kB / 473.2 MB, free: 3.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.1641, allocations: 1.212 MB / 474.4 MB, free: 2.648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.1642, allocations: 115.7 kB / 474.5 MB, free: 2.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1644, allocations: 119.3 kB / 474.7 MB, free: 2.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.1657, allocations: 1.09 MB / 475.7 MB, free: 1.324 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1657, allocations: 0 / 475.7 MB, free: 1.324 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1657, allocations: 0 / 475.7 MB, free: 1.324 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1657, allocations: 4 kB / 475.7 MB, free: 1.32 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.001355/0.1671, allocations: 0.6599 MB / 476.4 MB, free: 0.6289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1671, allocations: 12.03 kB / 476.4 MB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/0.1672, allocations: 32.7 kB / 476.5 MB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.1676, allocations: 222.2 kB / 476.7 MB, free: 352 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1676, allocations: 20 kB / 476.7 MB, free: 332 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.1677, allocations: 27.94 kB / 476.7 MB, free: 304 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3382/0.5059, allocations: 323.9 kB / 477 MB, free: 50.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.5059, allocations: 0 / 477 MB, free: 50.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.5059, allocations: 5.344 kB / 477 MB, free: 50.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5059, allocations: 2.656 kB / 477 MB, free: 50.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.5065, allocations: 225.8 kB / 477.3 MB, free: 50.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.5078, allocations: 0.6409 MB / 477.9 MB, free: 49.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.5082, allocations: 283.8 kB / 478.2 MB, free: 49.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.5085, allocations: 190.2 kB / 478.4 MB, free: 49.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.5085, allocations: 3.922 kB / 478.4 MB, free: 49.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.5085, allocations: 44.5 kB / 478.4 MB, free: 49.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.5085, allocations: 0 / 478.4 MB, free: 49.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009322/0.5095, allocations: 0.5388 MB / 478.9 MB, free: 49.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.5095, allocations: 83.14 kB / 479 MB, free: 49.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.5098, allocations: 347 kB / 479.4 MB, free: 49.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.5098, allocations: 32.17 kB / 479.4 MB, free: 49.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.5099, allocations: 140.8 kB / 479.5 MB, free: 49.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.51, allocations: 109.2 kB / 479.6 MB, free: 49.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.5101, allocations: 122.7 kB / 479.8 MB, free: 49.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.5102, allocations: 345.4 kB / 480.1 MB, free: 48.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.5105, allocations: 290.3 kB / 480.4 MB, free: 48.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.5109, allocations: 338.9 kB / 480.7 MB, free: 48.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.5142, allocations: 1.764 MB / 482.5 MB, free: 48.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5142, allocations: 0 / 482.5 MB, free: 48.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009386/0.5152, allocations: 0.7681 MB / 483.2 MB, free: 48.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5152, allocations: 7 kB / 483.3 MB, free: 48.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.5152, allocations: 9.719 kB / 483.3 MB, free: 48.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.5152, allocations: 0 / 483.3 MB, free: 48.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.5157, allocations: 99.91 kB / 483.4 MB, free: 48.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.5157, allocations: 3.312 kB / 483.4 MB, free: 48.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.5159, allocations: 68.16 kB / 483.4 MB, free: 48.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.516, allocations: 13.78 kB / 483.4 MB, free: 48.03 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.0002137/0.5162, allocations: 179.1 kB / 483.6 MB, free: 47.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.5162, allocations: 25.5 kB / 483.6 MB, free: 47.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.472e-05/0.5163, allocations: 43.38 kB / 483.7 MB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5163, allocations: 5.719 kB / 483.7 MB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5163, allocations: 1.531 kB / 483.7 MB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5163, allocations: 3.938 kB / 483.7 MB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.5166, allocations: 245.4 kB / 483.9 MB, free: 47.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5166, allocations: 0 / 483.9 MB, free: 47.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.517, allocations: 49.7 kB / 484 MB, free: 47.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.517, allocations: 2.781 kB / 484 MB, free: 47.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.517, allocations: 13.28 kB / 484 MB, free: 47.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.517, allocations: 3.062 kB / 484 MB, free: 47.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.517, allocations: 0 / 484 MB, free: 47.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.5179, allocations: 0.747 MB / 484.8 MB, free: 47.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.518, allocations: 37.94 kB / 484.8 MB, free: 47.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.518, allocations: 17.47 kB / 484.8 MB, free: 47.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.5182, allocations: 11.69 kB / 484.8 MB, free: 47.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.5183, allocations: 12.92 kB / 484.8 MB, free: 47.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.5183, allocations: 13.8 kB / 484.8 MB, free: 47.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.5185, allocations: 223 kB / 485.1 MB, free: 47.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5185, allocations: 3.25 kB / 485.1 MB, free: 47.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009041/0.5194, allocations: 248.4 kB / 485.3 MB, free: 47.11 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.0004754/0.5199, allocations: 265.6 kB / 485.6 MB, free: 47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008513/0.5207, allocations: 0.6571 MB / 486.2 MB, free: 46.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5207, allocations: 0 / 486.2 MB, free: 46.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.521, allocations: 196.4 kB / 486.4 MB, free: 46.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.5215, allocations: 39.8 kB / 486.5 MB, free: 46.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.5227, allocations: 0.9482 MB / 487.4 MB, free: 46.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.5229, allocations: 198.8 kB / 487.6 MB, free: 46.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.523, allocations: 72.2 kB / 487.7 MB, free: 46.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.337e-05/0.5231, allocations: 21.28 kB / 487.7 MB, free: 46.03 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5231, allocations: 0 / 487.7 MB, free: 46.03 MB / 446.1 MB Notification: Performance of Templates: time 0.01153/0.5347, allocations: 6.606 MB / 494.3 MB, free: 45.59 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.703711602953263]