Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001303/0.001303, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001488/0.001488, allocations: 214.8 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.222/0.222, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 71.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2825, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003063/0.2856, allocations: 1.8 MB / 0.5636 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.2878, allocations: 1.295 MB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.2879, allocations: 4 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.288, allocations: 27.72 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.355e-05/0.2881, allocations: 39.64 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.2898, allocations: 0.6816 MB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.2902, allocations: 307.2 kB / 0.5659 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.2904, allocations: 40.55 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.2906, allocations: 127.6 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.2909, allocations: 175.5 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.2909, allocations: 27.94 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.2931, allocations: 1.329 MB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.2932, allocations: 123.6 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2934, allocations: 111.4 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.2947, allocations: 1.105 MB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2947, allocations: 0 / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2947, allocations: 0 / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2947, allocations: 4 kB / 0.5688 GB, free: 12.99 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.001283/0.296, allocations: 0.6638 MB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.296, allocations: 8.031 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.2962, allocations: 44.69 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.2966, allocations: 222.2 kB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2966, allocations: 16 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.2967, allocations: 31.94 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.2972, allocations: 327 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2973, allocations: 0 / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.2973, allocations: 4 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2973, allocations: 4 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.2977, allocations: 219.8 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.299, allocations: 0.6482 MB / 0.5709 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.2994, allocations: 292.9 kB / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.2997, allocations: 185.6 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.2998, allocations: 0 / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.2998, allocations: 42.55 kB / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.072e-06/0.2998, allocations: 0 / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001056/0.3009, allocations: 0.5365 MB / 0.572 GB, free: 9.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3009, allocations: 81.11 kB / 0.572 GB, free: 9.523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.3013, allocations: 356.6 kB / 0.5724 GB, free: 9.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.3013, allocations: 29.7 kB / 0.5724 GB, free: 9.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3014, allocations: 144.9 kB / 0.5725 GB, free: 8.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3015, allocations: 107.1 kB / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.3017, allocations: 129.3 kB / 0.5728 GB, free: 8.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3019, allocations: 350.8 kB / 0.5731 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.3023, allocations: 280.9 kB / 0.5734 GB, free: 8.117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.3028, allocations: 340.1 kB / 0.5737 GB, free: 7.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003735/0.3065, allocations: 1.757 MB / 0.5754 GB, free: 6.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3065, allocations: 0 / 0.5754 GB, free: 6.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001216/0.3077, allocations: 0.766 MB / 0.5762 GB, free: 5.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3078, allocations: 4 kB / 0.5762 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.3078, allocations: 11.98 kB / 0.5762 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3078, allocations: 0 / 0.5762 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.3083, allocations: 99.81 kB / 0.5763 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3083, allocations: 7.938 kB / 0.5763 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.3085, allocations: 75.34 kB / 0.5763 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.3086, allocations: 8 kB / 0.5764 GB, free: 5.035 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.0002638/0.3088, allocations: 188.1 kB / 0.5765 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.3089, allocations: 27.81 kB / 0.5766 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.309, allocations: 38.7 kB / 0.5766 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.309, allocations: 7.938 kB / 0.5766 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.309, allocations: 0 / 0.5766 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.309, allocations: 0 / 0.5766 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.3094, allocations: 241.1 kB / 0.5768 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3094, allocations: 4 kB / 0.5768 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.3098, allocations: 51.91 kB / 0.5769 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.3098, allocations: 4 kB / 0.5769 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.3099, allocations: 11.98 kB / 0.5769 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3099, allocations: 8 kB / 0.5769 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3099, allocations: 3.938 kB / 0.5769 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.311, allocations: 0.7523 MB / 0.5776 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.311, allocations: 31.84 kB / 0.5777 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.3111, allocations: 15.98 kB / 0.5777 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.3113, allocations: 8 kB / 0.5777 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.3114, allocations: 15.91 kB / 0.5777 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.3114, allocations: 15.98 kB / 0.5777 GB, free: 3.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.3117, allocations: 223 kB / 0.5779 GB, free: 3.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3117, allocations: 0 / 0.5779 GB, free: 3.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008255/0.3125, allocations: 247.7 kB / 0.5782 GB, free: 3.102 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.0005574/0.313, allocations: 258.8 kB / 0.5784 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.3141, allocations: 0.6612 MB / 0.5791 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3141, allocations: 0 / 0.5791 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.3144, allocations: 199.7 kB / 0.5793 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.3149, allocations: 41.06 kB / 0.5793 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3164, allocations: 0.9818 MB / 0.5803 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.3166, allocations: 203.8 kB / 0.5805 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3167, allocations: 31.38 kB / 0.5805 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3167, allocations: 0 / 0.5805 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of Templates: time 0.01039/0.3271, allocations: 6.555 MB / 0.5869 GB, free: 10.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.250399307988118] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.3357883759890683 0.34984711700000004 0.052080022000000004 Calling exit ...