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.001315/0.001315, allocations: 109 kB / 19.74 MB, free: 1.859 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.001372/0.001372, allocations: 212.7 kB / 23.04 MB, free: 5.023 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.543/1.543, allocations: 207.7 MB / 233.9 MB, free: 9.766 MB / 190.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.241/0.241, allocations: 44.27 MB / 330.4 MB, free: 9.266 MB / 270.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.002219/0.002219, allocations: 72.45 kB / 468.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1458, allocations: 61.04 MB / 0.5167 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003557/0.1494, allocations: 1.772 MB / 0.5185 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1517, allocations: 1.291 MB / 0.5197 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.638e-05/0.1518, allocations: 0 / 0.5197 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.152, allocations: 31.72 kB / 0.5198 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.1521, allocations: 35.66 kB / 0.5198 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.154, allocations: 0.6507 MB / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.1544, allocations: 299.2 kB / 0.5207 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1545, allocations: 36.5 kB / 0.5207 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.1547, allocations: 119.6 kB / 0.5209 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.155, allocations: 175.4 kB / 0.521 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.155, allocations: 24 kB / 0.5211 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.1571, allocations: 1.212 MB / 0.5222 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.1573, allocations: 119.7 kB / 0.5224 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1574, allocations: 107.4 kB / 0.5225 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.1588, allocations: 1.098 MB / 0.5235 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1588, allocations: 0 / 0.5235 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1588, allocations: 0 / 0.5235 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1588, allocations: 0 / 0.5235 GB, free: 15.64 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.001376/0.1602, allocations: 0.6599 MB / 0.5242 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1602, allocations: 8.031 kB / 0.5242 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.368e-05/0.1603, allocations: 36.7 kB / 0.5242 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.1607, allocations: 214.3 kB / 0.5244 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1607, allocations: 16 kB / 0.5244 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.1608, allocations: 23.95 kB / 0.5245 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.1613, allocations: 334.5 kB / 0.5248 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1613, allocations: 3.984 kB / 0.5248 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.1614, allocations: 8 kB / 0.5248 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1614, allocations: 4 kB / 0.5248 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.1618, allocations: 219.8 kB / 0.525 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.1631, allocations: 0.6444 MB / 0.5256 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.1636, allocations: 284.9 kB / 0.5259 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.164, allocations: 193.6 kB / 0.5261 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.164, allocations: 7.938 kB / 0.5261 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.164, allocations: 38.56 kB / 0.5261 GB, free: 12.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.164, allocations: 0 / 0.5261 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001102/0.1651, allocations: 0.5326 MB / 0.5266 GB, free: 12.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.1652, allocations: 81.11 kB / 0.5267 GB, free: 12.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.1657, allocations: 356.6 kB / 0.5271 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.1657, allocations: 29.7 kB / 0.5271 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1658, allocations: 141 kB / 0.5272 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.1659, allocations: 107.1 kB / 0.5273 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.1661, allocations: 121.6 kB / 0.5274 GB, free: 11.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1663, allocations: 350.8 kB / 0.5278 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.1667, allocations: 288.8 kB / 0.5281 GB, free: 10.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.1672, allocations: 339.3 kB / 0.5284 GB, free: 10.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/0.1709, allocations: 1.768 MB / 0.5301 GB, free: 8.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1709, allocations: 0 / 0.5301 GB, free: 8.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001253/0.1721, allocations: 0.7621 MB / 0.5309 GB, free: 7.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.1722, allocations: 8 kB / 0.5309 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.1722, allocations: 7.984 kB / 0.5309 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.1722, allocations: 0 / 0.5309 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.1727, allocations: 107.8 kB / 0.531 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1727, allocations: 0 / 0.531 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.173, allocations: 71.39 kB / 0.531 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.173, allocations: 12 kB / 0.531 GB, free: 7.703 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.0003283/0.1733, allocations: 188 kB / 0.5312 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/0.1734, allocations: 23.81 kB / 0.5313 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.1735, allocations: 42.72 kB / 0.5313 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.1735, allocations: 11.94 kB / 0.5313 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.1736, allocations: 3.984 kB / 0.5313 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.1736, allocations: 3.984 kB / 0.5313 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.174, allocations: 237.1 kB / 0.5315 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.174, allocations: 4 kB / 0.5315 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.1743, allocations: 39.97 kB / 0.5316 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1743, allocations: 4 kB / 0.5316 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.1744, allocations: 15.98 kB / 0.5316 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1744, allocations: 4 kB / 0.5316 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.1744, allocations: 3.938 kB / 0.5316 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1755, allocations: 0.7525 MB / 0.5323 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.1756, allocations: 27.89 kB / 0.5324 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.1756, allocations: 15.98 kB / 0.5324 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.1759, allocations: 11.98 kB / 0.5324 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.1759, allocations: 19.91 kB / 0.5324 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.176, allocations: 8 kB / 0.5324 GB, free: 6.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.1762, allocations: 223 kB / 0.5326 GB, free: 6.012 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1762, allocations: 0 / 0.5326 GB, free: 6.012 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00102/0.1772, allocations: 259.6 kB / 0.5329 GB, free: 5.758 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.0005312/0.1777, allocations: 254.7 kB / 0.5331 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1788, allocations: 0.6549 MB / 0.5338 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1788, allocations: 0 / 0.5338 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.1792, allocations: 195.7 kB / 0.5339 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.1797, allocations: 42.06 kB / 0.534 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1812, allocations: 0.9522 MB / 0.5349 GB, free: 3.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.1814, allocations: 195.8 kB / 0.5351 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.1816, allocations: 78.22 kB / 0.5352 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.1817, allocations: 24.5 kB / 0.5352 GB, free: 3.301 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1817, allocations: 0 / 0.5352 GB, free: 3.301 MB / 414.1 MB Notification: Performance of Templates: time 0.2516/0.4333, allocations: 6.588 MB / 0.5416 GB, free: 28.2 MB / 414.1 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/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.4506407212466]