Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00557/0.00557, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.5 MB / 258.9 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2291/0.2291, allocations: 46.92 MB / 362.3 MB, free: 4.219 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 79.86 kB / 0.4982 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3947, allocations: 66.08 MB / 0.5627 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003109/0.3978, allocations: 1.871 MB / 0.5646 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.4001, allocations: 1.42 MB / 0.5659 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.4002, allocations: 7.938 kB / 0.5659 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.4004, allocations: 27.72 kB / 0.566 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.4004, allocations: 31.66 kB / 0.566 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.4022, allocations: 0.6859 MB / 0.5667 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.4026, allocations: 307.2 kB / 0.567 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.4028, allocations: 36.56 kB / 0.567 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.403, allocations: 127.6 kB / 0.5671 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.4033, allocations: 171.5 kB / 0.5673 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.4033, allocations: 27.98 kB / 0.5673 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.4054, allocations: 1.361 MB / 0.5686 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.4056, allocations: 123.6 kB / 0.5688 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.4057, allocations: 143.2 kB / 0.5689 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.407, allocations: 1.108 MB / 0.57 GB, free: 12.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.407, allocations: 0 / 0.57 GB, free: 12.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.407, allocations: 0 / 0.57 GB, free: 12.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.407, allocations: 0 / 0.57 GB, free: 12.82 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.00129/0.4083, allocations: 0.6638 MB / 0.5706 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4084, allocations: 12.03 kB / 0.5706 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.4086, allocations: 36.7 kB / 0.5707 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.4089, allocations: 230.2 kB / 0.5709 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.409, allocations: 19.94 kB / 0.5709 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.409, allocations: 27.95 kB / 0.5709 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.4095, allocations: 267.7 kB / 0.5712 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4095, allocations: 7.922 kB / 0.5712 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.4096, allocations: 4 kB / 0.5712 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.4096, allocations: 8 kB / 0.5712 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.41, allocations: 219.8 kB / 0.5714 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.4112, allocations: 0.7296 MB / 0.5721 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.4117, allocations: 288.8 kB / 0.5724 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.412, allocations: 189.6 kB / 0.5726 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.4121, allocations: 4 kB / 0.5726 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.4121, allocations: 38.5 kB / 0.5726 GB, free: 9.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.4121, allocations: 0 / 0.5726 GB, free: 9.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001052/0.4132, allocations: 0.5366 MB / 0.5732 GB, free: 9.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.4132, allocations: 85.11 kB / 0.5732 GB, free: 9.309 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.4136, allocations: 352.6 kB / 0.5736 GB, free: 8.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.4136, allocations: 29.7 kB / 0.5736 GB, free: 8.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.4137, allocations: 137 kB / 0.5737 GB, free: 8.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/0.4138, allocations: 111.1 kB / 0.5738 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.414, allocations: 125.4 kB / 0.574 GB, free: 8.539 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4141, allocations: 346.8 kB / 0.5743 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/0.4146, allocations: 288.9 kB / 0.5746 GB, free: 7.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.415, allocations: 344 kB / 0.5749 GB, free: 7.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.4185, allocations: 1.754 MB / 0.5766 GB, free: 5.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4185, allocations: 0 / 0.5766 GB, free: 5.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001169/0.4197, allocations: 0.7732 MB / 0.5774 GB, free: 5.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4197, allocations: 4 kB / 0.5774 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.4197, allocations: 8 kB / 0.5774 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4197, allocations: 3.938 kB / 0.5774 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.4202, allocations: 99.86 kB / 0.5775 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4202, allocations: 4 kB / 0.5775 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.4204, allocations: 67.34 kB / 0.5775 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.4205, allocations: 16 kB / 0.5776 GB, free: 4.828 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.0002574/0.4207, allocations: 184.4 kB / 0.5777 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.4208, allocations: 23.81 kB / 0.5778 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.4209, allocations: 46.64 kB / 0.5778 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4209, allocations: 4 kB / 0.5778 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4209, allocations: 4 kB / 0.5778 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4209, allocations: 0 / 0.5778 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.4214, allocations: 312.4 kB / 0.5781 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4214, allocations: 0 / 0.5781 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.4217, allocations: 51.91 kB / 0.5782 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4217, allocations: 3.938 kB / 0.5782 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.4218, allocations: 19.92 kB / 0.5782 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4218, allocations: 0 / 0.5782 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4218, allocations: 0 / 0.5782 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.4228, allocations: 0.7562 MB / 0.5789 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.4229, allocations: 39.78 kB / 0.579 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.423, allocations: 19.92 kB / 0.579 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.4232, allocations: 11.98 kB / 0.579 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.4232, allocations: 11.97 kB / 0.579 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.4232, allocations: 12 kB / 0.579 GB, free: 3.262 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.4235, allocations: 223 kB / 0.5792 GB, free: 3.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4235, allocations: 0 / 0.5792 GB, free: 3.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008366/0.4243, allocations: 251.7 kB / 0.5795 GB, free: 2.797 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.0004995/0.4248, allocations: 246.8 kB / 0.5797 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.4258, allocations: 0.6632 MB / 0.5803 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4258, allocations: 4 kB / 0.5803 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.4261, allocations: 195.7 kB / 0.5805 GB, free: 1.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.4266, allocations: 45.44 kB / 0.5806 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.428, allocations: 0.9942 MB / 0.5815 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.4285, allocations: 0.8106 MB / 0.5823 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.4286, allocations: 23.44 kB / 0.5824 GB, free: 15.73 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4286, allocations: 0 / 0.5824 GB, free: 15.73 MB / 430.1 MB Notification: Performance of Templates: time 0.01028/0.4389, allocations: 6.448 MB / 0.5887 GB, free: 9.344 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.223984372103587] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.44720902806147933 0.46193494799999996 0.051759151 Calling exit ...