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.001533/0.001533, allocations: 105 kB / 20.44 MB, free: 1.504 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.001656/0.001656, allocations: 215 kB / 23.76 MB, free: 4.727 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.299/1.299, allocations: 207.6 MB / 234.5 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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.2018/0.2018, allocations: 44.24 MB / 331 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] 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.002053/0.002053, allocations: 67.89 kB / 468.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1089, allocations: 61.03 MB / 0.5174 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003079/0.112, allocations: 1.849 MB / 0.5192 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.1143, allocations: 1.408 MB / 0.5205 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.1144, allocations: 4 kB / 0.5205 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.1146, allocations: 31.72 kB / 0.5206 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.1147, allocations: 31.66 kB / 0.5206 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.1163, allocations: 0.6742 MB / 0.5213 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.1167, allocations: 303.2 kB / 0.5216 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1168, allocations: 40.48 kB / 0.5216 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.117, allocations: 123.6 kB / 0.5217 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.1172, allocations: 175.5 kB / 0.5219 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.1173, allocations: 24 kB / 0.5219 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.1193, allocations: 1.36 MB / 0.5232 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.1194, allocations: 119.6 kB / 0.5233 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1196, allocations: 147.2 kB / 0.5235 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.1208, allocations: 1.094 MB / 0.5246 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1208, allocations: 0 / 0.5246 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1208, allocations: 0 / 0.5246 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1208, allocations: 3.938 kB / 0.5246 GB, free: 15.42 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.001203/0.122, allocations: 0.6522 MB / 0.5252 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1221, allocations: 12.03 kB / 0.5252 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.1221, allocations: 36.69 kB / 0.5252 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1225, allocations: 222.2 kB / 0.5255 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1225, allocations: 16 kB / 0.5255 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.1226, allocations: 23.95 kB / 0.5255 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.123, allocations: 275.1 kB / 0.5258 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.123, allocations: 0 / 0.5258 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.1231, allocations: 8 kB / 0.5258 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1231, allocations: 4 kB / 0.5258 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.1235, allocations: 227.8 kB / 0.526 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1247, allocations: 0.718 MB / 0.5267 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.1252, allocations: 280.9 kB / 0.5269 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.1255, allocations: 193.6 kB / 0.5271 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.1255, allocations: 0 / 0.5271 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1255, allocations: 42.94 kB / 0.5272 GB, free: 12.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.082e-06/0.1255, allocations: 0 / 0.5272 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009995/0.1265, allocations: 0.5361 MB / 0.5277 GB, free: 12.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.1266, allocations: 93.03 kB / 0.5278 GB, free: 11.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.1269, allocations: 348.6 kB / 0.5281 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.127, allocations: 29.7 kB / 0.5281 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1271, allocations: 144.9 kB / 0.5283 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.581e-05/0.1272, allocations: 99.12 kB / 0.5284 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.1273, allocations: 121.7 kB / 0.5285 GB, free: 11.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1275, allocations: 350.8 kB / 0.5288 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.1279, allocations: 288.8 kB / 0.5291 GB, free: 10.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.1284, allocations: 347.3 kB / 0.5294 GB, free: 10.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/0.1318, allocations: 1.76 MB / 0.5312 GB, free: 8.438 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1318, allocations: 0 / 0.5312 GB, free: 8.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00112/0.1329, allocations: 0.7699 MB / 0.5319 GB, free: 7.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.133, allocations: 4 kB / 0.5319 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.133, allocations: 4 kB / 0.5319 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.133, allocations: 7.938 kB / 0.5319 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.1334, allocations: 91.88 kB / 0.532 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1335, allocations: 7.984 kB / 0.532 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1336, allocations: 63.41 kB / 0.5321 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.1337, allocations: 19.94 kB / 0.5321 GB, free: 7.465 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.0002486/0.1339, allocations: 193.1 kB / 0.5323 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.134, allocations: 27.81 kB / 0.5323 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.1342, allocations: 42.66 kB / 0.5324 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1342, allocations: 0 / 0.5324 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1342, allocations: 7.984 kB / 0.5324 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1342, allocations: 7.938 kB / 0.5324 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.1347, allocations: 304.5 kB / 0.5327 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1347, allocations: 0 / 0.5327 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.135, allocations: 43.97 kB / 0.5327 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.135, allocations: 4 kB / 0.5327 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.135, allocations: 15.92 kB / 0.5327 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.135, allocations: 4 kB / 0.5327 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.135, allocations: 3.984 kB / 0.5327 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.1361, allocations: 0.7486 MB / 0.5335 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.1361, allocations: 31.89 kB / 0.5335 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.1362, allocations: 15.92 kB / 0.5335 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.1364, allocations: 8 kB / 0.5335 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.1364, allocations: 19.97 kB / 0.5335 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1364, allocations: 7.984 kB / 0.5335 GB, free: 5.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.1367, allocations: 227 kB / 0.5338 GB, free: 5.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1367, allocations: 0 / 0.5338 GB, free: 5.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007527/0.1374, allocations: 251.6 kB / 0.534 GB, free: 5.445 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.0004791/0.1379, allocations: 258.6 kB / 0.5342 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009902/0.1389, allocations: 0.6548 MB / 0.5349 GB, free: 4.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1389, allocations: 4 kB / 0.5349 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.1392, allocations: 192.8 kB / 0.5351 GB, free: 4.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.1397, allocations: 45 kB / 0.5351 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1411, allocations: 0.9994 MB / 0.5361 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.1415, allocations: 0.8067 MB / 0.5369 GB, free: 2.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.1417, allocations: 19.44 kB / 0.5369 GB, free: 2.387 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1417, allocations: 0 / 0.5369 GB, free: 2.387 MB / 414.1 MB Notification: Performance of Templates: time 0.1898/0.3315, allocations: 6.428 MB / 0.5432 GB, free: 26.94 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] [Calling os._exit(0), Time elapsed: 9.066225901944563] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.33926023286767304 0.349762469 0.226500064 Calling exit ...