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.002208/0.002208, allocations: 107 kB / 21.18 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.002657/0.002657, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.2277/0.2277, allocations: 46.96 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.002026/0.002026, allocations: 63.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3437, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003306/0.347, allocations: 1.8 MB / 0.5636 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.3494, allocations: 1.295 MB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.3495, allocations: 0 / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.3497, allocations: 31.66 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/0.3498, allocations: 31.72 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.3517, allocations: 0.6936 MB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.3521, allocations: 303.3 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.3523, allocations: 40.47 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.3525, allocations: 123.6 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.3528, allocations: 175.4 kB / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.3528, allocations: 24 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.3549, allocations: 1.329 MB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.355, allocations: 123.6 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.3552, allocations: 115.4 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.3566, allocations: 1.105 MB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3566, allocations: 0 / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3566, allocations: 3.938 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3566, allocations: 0 / 0.5688 GB, free: 12.95 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.001347/0.358, allocations: 0.6638 MB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.358, allocations: 15.97 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.3582, allocations: 40.69 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.3586, allocations: 226.2 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3587, allocations: 16 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.3587, allocations: 23.95 kB / 0.5698 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.3593, allocations: 323 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3593, allocations: 4 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3593, allocations: 8 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.3593, allocations: 4 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.3597, allocations: 223.8 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.361, allocations: 0.6444 MB / 0.5709 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.3614, allocations: 284.9 kB / 0.5712 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.3618, allocations: 181.6 kB / 0.5714 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.3618, allocations: 8.422 kB / 0.5714 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3618, allocations: 38.56 kB / 0.5714 GB, free: 10.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.3618, allocations: 3.938 kB / 0.5714 GB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001043/0.3629, allocations: 0.5407 MB / 0.572 GB, free: 9.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.3629, allocations: 81.11 kB / 0.572 GB, free: 9.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.3633, allocations: 352.6 kB / 0.5724 GB, free: 9.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.3633, allocations: 37.64 kB / 0.5724 GB, free: 9.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3635, allocations: 140.9 kB / 0.5725 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.3636, allocations: 107.1 kB / 0.5726 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.3637, allocations: 125.4 kB / 0.5728 GB, free: 8.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3639, allocations: 350.8 kB / 0.5731 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.3643, allocations: 284.8 kB / 0.5734 GB, free: 8.078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.3648, allocations: 336.2 kB / 0.5737 GB, free: 7.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/0.3686, allocations: 1.749 MB / 0.5754 GB, free: 5.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3686, allocations: 0 / 0.5754 GB, free: 5.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001212/0.3698, allocations: 0.7699 MB / 0.5761 GB, free: 5.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3698, allocations: 4 kB / 0.5762 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.3698, allocations: 7.984 kB / 0.5762 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3699, allocations: 7.984 kB / 0.5762 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.3704, allocations: 99.81 kB / 0.5763 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3704, allocations: 7.938 kB / 0.5763 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.3706, allocations: 71.34 kB / 0.5763 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.3706, allocations: 16 kB / 0.5764 GB, free: 4.996 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.0002863/0.3709, allocations: 184.2 kB / 0.5765 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/0.371, allocations: 31.73 kB / 0.5766 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.3711, allocations: 38.72 kB / 0.5766 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.3711, allocations: 7.938 kB / 0.5766 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.3711, allocations: 0 / 0.5766 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3711, allocations: 4 kB / 0.5766 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.3715, allocations: 245.1 kB / 0.5768 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3715, allocations: 0 / 0.5768 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.3719, allocations: 43.97 kB / 0.5769 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.3719, allocations: 4 kB / 0.5769 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.3719, allocations: 15.98 kB / 0.5769 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3719, allocations: 4 kB / 0.5769 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3719, allocations: 7.875 kB / 0.5769 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.373, allocations: 0.7368 MB / 0.5776 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.3731, allocations: 39.84 kB / 0.5777 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.3731, allocations: 15.98 kB / 0.5777 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3733, allocations: 8 kB / 0.5777 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.3734, allocations: 19.91 kB / 0.5777 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.3734, allocations: 11.98 kB / 0.5777 GB, free: 3.531 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.3736, allocations: 219 kB / 0.5779 GB, free: 3.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3736, allocations: 0 / 0.5779 GB, free: 3.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008909/0.3745, allocations: 251.7 kB / 0.5782 GB, free: 3.07 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.000548/0.3751, allocations: 262.7 kB / 0.5784 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.3762, allocations: 0.6651 MB / 0.5791 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3762, allocations: 0 / 0.5791 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.3765, allocations: 191.8 kB / 0.5793 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.377, allocations: 37.06 kB / 0.5793 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3784, allocations: 0.9512 MB / 0.5802 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.3786, allocations: 199.8 kB / 0.5804 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.3788, allocations: 74.23 kB / 0.5805 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.3789, allocations: 23.38 kB / 0.5805 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3789, allocations: 0 / 0.5805 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of Templates: time 0.01241/0.3913, allocations: 6.962 MB / 0.5873 GB, free: 9.684 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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.227106066988199] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.3998267559945816 0.413590631 0.053818412 Calling exit ...