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.0007905/0.0007905, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007506/0.0007506, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 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 0.8359/0.8359, allocations: 158.6 MB / 185.7 MB, free: 3.031 MB / 170.7 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.1447/0.1447, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 408.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.12e-05, allocations: 6.078 kB / 408.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002539/0.00257, allocations: 1.772 MB / 409.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.004486, allocations: 1.28 MB / 411.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.004587, allocations: 4 kB / 411.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.004755, allocations: 27.72 kB / 411.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.454e-05/0.00481, allocations: 43.59 kB / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.006142, allocations: 0.6699 MB / 411.9 MB, free: 13.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.00638, allocations: 235.3 kB / 412.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.006503, allocations: 28.58 kB / 412.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.006654, allocations: 143.5 kB / 412.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.006799, allocations: 143.7 kB / 412.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.00683, allocations: 20 kB / 412.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.008073, allocations: 1.212 MB / 413.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.008205, allocations: 115.7 kB / 413.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.008306, allocations: 95.67 kB / 413.9 MB, free: 11.94 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.009465, allocations: 1.192 MB / 415.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.009469, allocations: 4 kB / 415.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.009472, allocations: 4 kB / 415.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.009479, allocations: 3.938 kB / 415.1 MB, free: 10.73 MB / 394.7 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.0009436/0.01042, allocations: 0.6483 MB / 415.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.01047, allocations: 8.031 kB / 415.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.01053, allocations: 36.7 kB / 415.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.01078, allocations: 225.8 kB / 416 MB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.0108, allocations: 16.38 kB / 416 MB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.01085, allocations: 27.89 kB / 416 MB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.01124, allocations: 326.5 kB / 416.4 MB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.01125, allocations: 3.938 kB / 416.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.01127, allocations: 4 kB / 416.4 MB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.01127, allocations: 4 kB / 416.4 MB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.01155, allocations: 227.8 kB / 416.6 MB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.01232, allocations: 0.6445 MB / 417.2 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.01262, allocations: 280.9 kB / 417.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.01281, allocations: 189.6 kB / 417.7 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.01284, allocations: 4 kB / 417.7 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.01286, allocations: 39 kB / 417.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.355e-06/0.01287, allocations: 0 / 417.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009787/0.01384, allocations: 0.5407 MB / 418.3 MB, free: 7.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.01389, allocations: 85.11 kB / 418.4 MB, free: 7.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.01414, allocations: 348.5 kB / 418.7 MB, free: 6.926 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.01417, allocations: 33.64 kB / 418.7 MB, free: 6.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.01424, allocations: 148.9 kB / 418.9 MB, free: 6.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.0143, allocations: 99.12 kB / 419 MB, free: 6.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.0144, allocations: 121.7 kB / 419.1 MB, free: 6.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.0145, allocations: 346.8 kB / 419.4 MB, free: 6.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.01478, allocations: 288.8 kB / 419.7 MB, free: 5.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.01506, allocations: 343 kB / 420 MB, free: 5.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.01707, allocations: 1.756 MB / 421.8 MB, free: 3.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01707, allocations: 0 / 421.8 MB, free: 3.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007083/0.01778, allocations: 0.7659 MB / 422.6 MB, free: 3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.0178, allocations: 8 kB / 422.6 MB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.01783, allocations: 11.98 kB / 422.6 MB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01784, allocations: 4 kB / 422.6 MB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.01813, allocations: 91.88 kB / 422.7 MB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01813, allocations: 0 / 422.7 MB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01824, allocations: 79.31 kB / 422.8 MB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.01826, allocations: 11.94 kB / 422.8 MB, free: 2.797 MB / 394.7 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.0002096/0.01847, allocations: 196.7 kB / 423 MB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.01852, allocations: 27.81 kB / 423 MB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.01857, allocations: 38.78 kB / 423 MB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01858, allocations: 0 / 423 MB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01858, allocations: 0 / 423 MB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01859, allocations: 7.984 kB / 423 MB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.01883, allocations: 245 kB / 423.3 MB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01883, allocations: 0 / 423.3 MB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.01902, allocations: 47.97 kB / 423.3 MB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01903, allocations: 4 kB / 423.3 MB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.01905, allocations: 15.98 kB / 423.3 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01905, allocations: 0 / 423.3 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.01905, allocations: 7.875 kB / 423.3 MB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.01976, allocations: 0.7446 MB / 424.1 MB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.01979, allocations: 27.89 kB / 424.1 MB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.01982, allocations: 15.98 kB / 424.1 MB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.01993, allocations: 8 kB / 424.1 MB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.01998, allocations: 23.97 kB / 424.2 MB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.01999, allocations: 7.984 kB / 424.2 MB, free: 1.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.02013, allocations: 219 kB / 424.4 MB, free: 1.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02013, allocations: 0 / 424.4 MB, free: 1.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006598/0.02079, allocations: 259.6 kB / 424.6 MB, free: 0.8633 MB / 394.7 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.0004238/0.02122, allocations: 286.7 kB / 424.9 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009232/0.02214, allocations: 0.6631 MB / 425.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02214, allocations: 4 kB / 425.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.02233, allocations: 187.8 kB / 425.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.02264, allocations: 41.12 kB / 425.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009313/0.02357, allocations: 0.8999 MB / 426.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.02371, allocations: 199.8 kB / 426.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.02379, allocations: 24.5 kB / 426.9 MB, free: 14.48 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02379, allocations: 3.938 kB / 426.9 MB, free: 14.48 MB / 410.7 MB Notification: Performance of Templates: time 0.007436/0.03123, allocations: 6.748 MB / 433.7 MB, free: 7.75 MB / 410.7 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: 6.627643994987011] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.03685805480927229 0.046269585 0.034757203 Calling exit ...