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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 106.4 kB / 18.32 MB, free: 3.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002391/0.002391, allocations: 186 kB / 21.49 MB, free: 0.8242 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.632/1.632, allocations: 207.6 MB / 232.1 MB, free: 3.172 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.3661/0.3661, allocations: 44.24 MB / 328.4 MB, free: 6.219 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 75.03 kB / 465.5 MB, free: 45.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1378, allocations: 61.01 MB / 0.5142 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003279/0.1411, allocations: 1.86 MB / 0.516 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1433, allocations: 1.394 MB / 0.5174 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1434, allocations: 1.438 kB / 0.5174 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.1436, allocations: 38.83 kB / 0.5174 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.1437, allocations: 30.75 kB / 0.5174 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.1452, allocations: 0.5592 MB / 0.518 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.1455, allocations: 275.3 kB / 0.5182 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.1456, allocations: 40.22 kB / 0.5183 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.1457, allocations: 107.6 kB / 0.5184 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.1458, allocations: 183.4 kB / 0.5186 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.1459, allocations: 28 kB / 0.5186 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009127/0.1468, allocations: 0.9318 MB / 0.5195 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-05/0.1469, allocations: 115.7 kB / 0.5196 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.862e-05/0.147, allocations: 139.2 kB / 0.5197 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000876/0.1479, allocations: 1.071 MB / 0.5208 GB, free: 6.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1479, allocations: 0 / 0.5208 GB, free: 6.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1479, allocations: 0 / 0.5208 GB, free: 6.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1479, allocations: 4 kB / 0.5208 GB, free: 6.477 MB / 382.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.001165/0.149, allocations: 0.7313 MB / 0.5215 GB, free: 5.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1491, allocations: 19.84 kB / 0.5215 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.1492, allocations: 32.7 kB / 0.5216 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.1494, allocations: 280.1 kB / 0.5218 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1495, allocations: 16 kB / 0.5218 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.1495, allocations: 27.95 kB / 0.5219 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.1499, allocations: 271.1 kB / 0.5221 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1499, allocations: 4 kB / 0.5221 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.15, allocations: 4 kB / 0.5221 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.15, allocations: 4 kB / 0.5221 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.1503, allocations: 227.8 kB / 0.5223 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009688/0.1513, allocations: 0.7501 MB / 0.5231 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.1517, allocations: 288.9 kB / 0.5234 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.1519, allocations: 189.6 kB / 0.5235 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.1519, allocations: 8 kB / 0.5235 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1519, allocations: 34.5 kB / 0.5236 GB, free: 3.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.1519, allocations: 0 / 0.5236 GB, free: 3.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008102/0.1528, allocations: 0.5366 MB / 0.5241 GB, free: 2.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.1528, allocations: 77.11 kB / 0.5242 GB, free: 2.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.153, allocations: 352.6 kB / 0.5245 GB, free: 2.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.153, allocations: 41.64 kB / 0.5246 GB, free: 2.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.1531, allocations: 140.9 kB / 0.5247 GB, free: 2.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.1532, allocations: 103.1 kB / 0.5248 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1533, allocations: 121.7 kB / 0.5249 GB, free: 2.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.1533, allocations: 350.7 kB / 0.5252 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.1537, allocations: 284.9 kB / 0.5255 GB, free: 1.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.154, allocations: 343.5 kB / 0.5258 GB, free: 1.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.1571, allocations: 1.753 MB / 0.5275 GB, free: 15.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1571, allocations: 0 / 0.5275 GB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001256/0.1584, allocations: 0.7621 MB / 0.5283 GB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.1584, allocations: 12 kB / 0.5283 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.1584, allocations: 11.98 kB / 0.5283 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.1584, allocations: 3.938 kB / 0.5283 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.1589, allocations: 99.88 kB / 0.5284 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1589, allocations: 0 / 0.5284 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.1591, allocations: 67.39 kB / 0.5285 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.1592, allocations: 12 kB / 0.5285 GB, free: 14.31 MB / 398.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.0002918/0.1595, allocations: 193 kB / 0.5287 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.1595, allocations: 23.81 kB / 0.5287 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.1596, allocations: 46.64 kB / 0.5287 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1597, allocations: 4 kB / 0.5287 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1597, allocations: 0 / 0.5287 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1597, allocations: 0 / 0.5287 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.1601, allocations: 341.3 kB / 0.5291 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1602, allocations: 0 / 0.5291 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.1605, allocations: 39.98 kB / 0.5291 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1605, allocations: 0 / 0.5291 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.1605, allocations: 23.92 kB / 0.5291 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1605, allocations: 3.938 kB / 0.5291 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.1606, allocations: 3.938 kB / 0.5291 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.1616, allocations: 0.7533 MB / 0.5299 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.313e-05/0.1617, allocations: 104.9 kB / 0.53 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.1618, allocations: 11.94 kB / 0.53 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.162, allocations: 15.98 kB / 0.53 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.162, allocations: 15.98 kB / 0.53 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.1621, allocations: 7.984 kB / 0.53 GB, free: 12.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.1623, allocations: 219 kB / 0.5302 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1623, allocations: 4 kB / 0.5302 GB, free: 12.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008451/0.1631, allocations: 259.7 kB / 0.5305 GB, free: 12.17 MB / 398.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.0005356/0.1637, allocations: 254.8 kB / 0.5307 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.1647, allocations: 0.6547 MB / 0.5314 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1647, allocations: 0 / 0.5314 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.1651, allocations: 200 kB / 0.5316 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.1655, allocations: 48.73 kB / 0.5316 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.167, allocations: 0.9503 MB / 0.5325 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.1675, allocations: 0.8106 MB / 0.5333 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.1676, allocations: 66.25 kB / 0.5334 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.1677, allocations: 23.38 kB / 0.5334 GB, free: 9.098 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1677, allocations: 0 / 0.5334 GB, free: 9.098 MB / 398.1 MB Notification: Performance of Templates: time 0.01319/0.1809, allocations: 6.626 MB / 0.5399 GB, free: 2.469 MB / 398.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.807111239992082]