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.002167/0.002167, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002728/0.002728, allocations: 217.7 kB / 22.99 MB, free: 4.977 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.603/1.603, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2424/0.2424, allocations: 44.27 MB / 330.3 MB, free: 9.301 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.002569/0.002569, allocations: 67.91 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1272, allocations: 61.05 MB / 0.5166 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.004065/0.1312, allocations: 1.772 MB / 0.5184 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.1344, allocations: 1.284 MB / 0.5196 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.1346, allocations: 8 kB / 0.5196 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.1349, allocations: 31.72 kB / 0.5197 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.135, allocations: 31.66 kB / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.1374, allocations: 0.6547 MB / 0.5203 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000537/0.1379, allocations: 299.2 kB / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1381, allocations: 44.48 kB / 0.5207 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.1383, allocations: 111.6 kB / 0.5208 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.1386, allocations: 175.4 kB / 0.5209 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.849e-05/0.1387, allocations: 20 kB / 0.5209 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.1411, allocations: 1.216 MB / 0.5221 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.1414, allocations: 115.7 kB / 0.5222 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.1416, allocations: 115.4 kB / 0.5224 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.1436, allocations: 1.09 MB / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1436, allocations: 7.984 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1436, allocations: 0 / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.1436, allocations: 0 / 0.5234 GB, free: 15.68 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.001804/0.1454, allocations: 0.6521 MB / 0.5241 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.1455, allocations: 8.031 kB / 0.5241 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1456, allocations: 36.7 kB / 0.5241 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.1461, allocations: 222.2 kB / 0.5243 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1461, allocations: 16 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.17e-05/0.1462, allocations: 27.95 kB / 0.5244 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006561/0.1468, allocations: 326.5 kB / 0.5247 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1469, allocations: 0 / 0.5247 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.1469, allocations: 4 kB / 0.5247 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1469, allocations: 8 kB / 0.5247 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/0.1474, allocations: 223.8 kB / 0.5249 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.1489, allocations: 0.6405 MB / 0.5255 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.1494, allocations: 288.9 kB / 0.5258 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.1497, allocations: 189.6 kB / 0.526 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.1498, allocations: 4 kB / 0.526 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1498, allocations: 34.56 kB / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.1498, allocations: 4 kB / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001141/0.1509, allocations: 0.5365 MB / 0.5265 GB, free: 12.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.151, allocations: 85.05 kB / 0.5266 GB, free: 12.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.1514, allocations: 356.5 kB / 0.527 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.1515, allocations: 29.7 kB / 0.527 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1516, allocations: 140.9 kB / 0.5271 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1517, allocations: 107.1 kB / 0.5272 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.1519, allocations: 117.7 kB / 0.5273 GB, free: 11.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.1521, allocations: 350.8 kB / 0.5277 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.1526, allocations: 288.8 kB / 0.528 GB, free: 10.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005579/0.1531, allocations: 339.3 kB / 0.5283 GB, free: 10.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/0.1571, allocations: 1.764 MB / 0.53 GB, free: 8.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1571, allocations: 0 / 0.53 GB, free: 8.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001347/0.1584, allocations: 0.766 MB / 0.5307 GB, free: 7.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.1584, allocations: 4 kB / 0.5308 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/0.1585, allocations: 11.97 kB / 0.5308 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.1585, allocations: 4 kB / 0.5308 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.159, allocations: 103.8 kB / 0.5309 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.159, allocations: 4 kB / 0.5309 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1593, allocations: 63.39 kB / 0.5309 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.1593, allocations: 16 kB / 0.5309 GB, free: 7.746 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.0003387/0.1597, allocations: 192 kB / 0.5311 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.1598, allocations: 27.8 kB / 0.5312 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.1599, allocations: 38.72 kB / 0.5312 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.1599, allocations: 7.938 kB / 0.5312 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.1599, allocations: 0 / 0.5312 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1599, allocations: 0 / 0.5312 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.1604, allocations: 241.1 kB / 0.5314 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1604, allocations: 4 kB / 0.5314 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.1608, allocations: 43.97 kB / 0.5315 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1608, allocations: 0 / 0.5315 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.1608, allocations: 19.98 kB / 0.5315 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.1608, allocations: 7.938 kB / 0.5315 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1608, allocations: 7.938 kB / 0.5315 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.162, allocations: 0.7408 MB / 0.5322 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1621, allocations: 31.89 kB / 0.5323 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.598e-05/0.1622, allocations: 15.98 kB / 0.5323 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.1624, allocations: 8 kB / 0.5323 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.1625, allocations: 23.91 kB / 0.5323 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.1625, allocations: 7.984 kB / 0.5323 GB, free: 6.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002718/0.1628, allocations: 223 kB / 0.5325 GB, free: 6.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1628, allocations: 0 / 0.5325 GB, free: 6.055 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009505/0.1637, allocations: 255.6 kB / 0.5328 GB, free: 5.805 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.0008337/0.1646, allocations: 250.7 kB / 0.533 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.1657, allocations: 0.6557 MB / 0.5337 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1657, allocations: 7.938 kB / 0.5337 GB, free: 4.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.166, allocations: 191.8 kB / 0.5338 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.1666, allocations: 38.44 kB / 0.5339 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.1682, allocations: 0.9725 MB / 0.5348 GB, free: 3.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1684, allocations: 199.7 kB / 0.535 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.1686, allocations: 66.25 kB / 0.5351 GB, free: 3.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.1687, allocations: 19.44 kB / 0.5351 GB, free: 3.344 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1687, allocations: 4 kB / 0.5351 GB, free: 3.34 MB / 414.1 MB Notification: Performance of Templates: time 0.2572/0.4259, allocations: 6.849 MB / 0.5418 GB, free: 28.21 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.869178665801883]