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.001747/0.001747, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001545/0.001545, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.594/1.594, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2367/0.2367, allocations: 46.89 MB / 361.1 MB, free: 4.613 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.002407/0.002407, allocations: 76.16 kB / 0.4967 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3885, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003196/0.3917, allocations: 1.866 MB / 0.563 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3939, allocations: 1.42 MB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.394, allocations: 4 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.3941, allocations: 31.72 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.3942, allocations: 35.66 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.3957, allocations: 0.5805 MB / 0.565 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.396, allocations: 279.4 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3961, allocations: 36.28 kB / 0.5653 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.3963, allocations: 115.6 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.3965, allocations: 183.4 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.3966, allocations: 20 kB / 0.5656 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.398, allocations: 0.928 MB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3981, allocations: 123.6 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.3982, allocations: 147.1 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.3994, allocations: 1.077 MB / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3994, allocations: 0 / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3994, allocations: 0 / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3994, allocations: 4 kB / 0.5679 GB, free: 14.16 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.001275/0.4007, allocations: 0.7391 MB / 0.5686 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.4008, allocations: 8.031 kB / 0.5686 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.4009, allocations: 40.7 kB / 0.5686 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.4013, allocations: 292 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.4013, allocations: 12 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.4014, allocations: 23.95 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.4019, allocations: 267.2 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4019, allocations: 0 / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.4019, allocations: 4 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4019, allocations: 4 kB / 0.5692 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.4023, allocations: 231.8 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.4036, allocations: 0.758 MB / 0.5702 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.4041, allocations: 285 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.4045, allocations: 197.9 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.4045, allocations: 3.938 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.4045, allocations: 38.5 kB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.343e-06/0.4045, allocations: 0 / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001112/0.4056, allocations: 0.54 MB / 0.5712 GB, free: 10.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.4057, allocations: 81.11 kB / 0.5713 GB, free: 10.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.4061, allocations: 344.5 kB / 0.5716 GB, free: 10.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.4061, allocations: 37.7 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4062, allocations: 140.9 kB / 0.5718 GB, free: 9.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.572e-05/0.4063, allocations: 107.1 kB / 0.5719 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.4065, allocations: 125.4 kB / 0.572 GB, free: 9.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4067, allocations: 350.8 kB / 0.5723 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.4071, allocations: 288.8 kB / 0.5726 GB, free: 9.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.4076, allocations: 339.3 kB / 0.5729 GB, free: 8.723 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/0.4113, allocations: 1.762 MB / 0.5746 GB, free: 6.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4113, allocations: 4 kB / 0.5746 GB, free: 6.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001252/0.4126, allocations: 0.7659 MB / 0.5754 GB, free: 6.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4126, allocations: 6.188 kB / 0.5754 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.4126, allocations: 11.98 kB / 0.5754 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.4127, allocations: 3.938 kB / 0.5754 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.4132, allocations: 95.88 kB / 0.5755 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4132, allocations: 4 kB / 0.5755 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.4134, allocations: 75.34 kB / 0.5756 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.4134, allocations: 12 kB / 0.5756 GB, free: 5.969 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.4137, allocations: 176.3 kB / 0.5758 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.4138, allocations: 23.81 kB / 0.5758 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.4139, allocations: 46.66 kB / 0.5758 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4139, allocations: 4 kB / 0.5758 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4139, allocations: 0 / 0.5758 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4139, allocations: 0 / 0.5758 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.4144, allocations: 345.3 kB / 0.5762 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4144, allocations: 0 / 0.5762 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.4148, allocations: 51.91 kB / 0.5762 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4148, allocations: 0 / 0.5762 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.4148, allocations: 15.94 kB / 0.5762 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4148, allocations: 3.984 kB / 0.5762 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4148, allocations: 0 / 0.5762 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.416, allocations: 0.7523 MB / 0.577 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.4161, allocations: 109 kB / 0.5771 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.4161, allocations: 19.92 kB / 0.5771 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4164, allocations: 12 kB / 0.5771 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.4164, allocations: 19.97 kB / 0.5771 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.4165, allocations: 11.94 kB / 0.5771 GB, free: 4.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002448/0.4167, allocations: 227 kB / 0.5774 GB, free: 4.066 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4167, allocations: 0 / 0.5774 GB, free: 4.066 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009353/0.4176, allocations: 247.7 kB / 0.5776 GB, free: 3.824 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.0005875/0.4182, allocations: 251.7 kB / 0.5778 GB, free: 3.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.4194, allocations: 0.6657 MB / 0.5785 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4194, allocations: 0 / 0.5785 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.4197, allocations: 187.8 kB / 0.5787 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.4202, allocations: 49 kB / 0.5787 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.4217, allocations: 0.946 MB / 0.5796 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.4223, allocations: 0.8106 MB / 0.5804 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.4225, allocations: 74.23 kB / 0.5805 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.4226, allocations: 27.44 kB / 0.5805 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4226, allocations: 0 / 0.5805 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of Templates: time 0.01355/0.4361, allocations: 6.619 MB / 0.587 GB, free: 10.13 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 -s cvode -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: 5.398375917691737] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.44521685503423214 0.45922020500000005 0.05672660400000001 Calling exit ...