Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001566/0.001566, allocations: 105.1 kB / 21.18 MB, free: 0.7656 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.001744/0.001744, allocations: 213.7 kB / 24.49 MB, free: 4.152 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.41/1.41, allocations: 230.5 MB / 258.1 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.94 MB / 361.5 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 79.88 kB / 0.4974 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3922, allocations: 66.07 MB / 0.5619 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003277/0.3955, allocations: 1.871 MB / 0.5638 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.3977, allocations: 1.42 MB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.3978, allocations: 0 / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.398, allocations: 35.66 kB / 0.5652 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.3981, allocations: 35.7 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.3997, allocations: 0.6858 MB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.4002, allocations: 307.2 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4003, allocations: 40.55 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.4005, allocations: 127.6 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.4008, allocations: 171.5 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.4008, allocations: 20 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.4028, allocations: 1.372 MB / 0.5679 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.403, allocations: 119.6 kB / 0.568 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.4031, allocations: 139.2 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.4044, allocations: 1.112 MB / 0.5692 GB, free: 12.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4044, allocations: 0 / 0.5692 GB, free: 12.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4044, allocations: 0 / 0.5692 GB, free: 12.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.4044, allocations: 4 kB / 0.5692 GB, free: 12.77 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.00123/0.4057, allocations: 0.6638 MB / 0.5699 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4057, allocations: 8.031 kB / 0.5699 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.4059, allocations: 40.7 kB / 0.5699 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.4063, allocations: 226.2 kB / 0.5701 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.4063, allocations: 16 kB / 0.5701 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.4064, allocations: 23.95 kB / 0.5702 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.4069, allocations: 283.1 kB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4069, allocations: 0 / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.4069, allocations: 4 kB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4069, allocations: 4 kB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.4073, allocations: 223.8 kB / 0.5706 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.4086, allocations: 0.7256 MB / 0.5714 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.4091, allocations: 292.9 kB / 0.5716 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.4094, allocations: 185.6 kB / 0.5718 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.4094, allocations: 4 kB / 0.5718 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.4094, allocations: 34.5 kB / 0.5718 GB, free: 9.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.4094, allocations: 0 / 0.5718 GB, free: 9.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001009/0.4104, allocations: 0.5444 MB / 0.5724 GB, free: 9.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.4105, allocations: 77.11 kB / 0.5725 GB, free: 9.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.4109, allocations: 356.5 kB / 0.5728 GB, free: 8.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.4109, allocations: 33.7 kB / 0.5728 GB, free: 8.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.411, allocations: 137 kB / 0.573 GB, free: 8.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.4111, allocations: 115 kB / 0.5731 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.4113, allocations: 121.4 kB / 0.5732 GB, free: 8.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4115, allocations: 350.8 kB / 0.5735 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.4119, allocations: 284.9 kB / 0.5738 GB, free: 7.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.4123, allocations: 340.2 kB / 0.5741 GB, free: 7.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/0.4158, allocations: 1.758 MB / 0.5758 GB, free: 5.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4158, allocations: 3.938 kB / 0.5758 GB, free: 5.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001144/0.4169, allocations: 0.7621 MB / 0.5766 GB, free: 4.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4169, allocations: 6.344 kB / 0.5766 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.417, allocations: 4 kB / 0.5766 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.417, allocations: 11.92 kB / 0.5766 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.4174, allocations: 95.88 kB / 0.5767 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4174, allocations: 0 / 0.5767 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.4176, allocations: 79.28 kB / 0.5768 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.4177, allocations: 16 kB / 0.5768 GB, free: 4.777 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.0002608/0.4179, allocations: 180 kB / 0.577 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.418, allocations: 27.81 kB / 0.577 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.4181, allocations: 54.62 kB / 0.577 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.4181, allocations: 0 / 0.577 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.4181, allocations: 4 kB / 0.577 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4181, allocations: 0 / 0.577 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.4186, allocations: 308.4 kB / 0.5773 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4186, allocations: 4 kB / 0.5773 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.4189, allocations: 43.97 kB / 0.5774 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.4189, allocations: 4 kB / 0.5774 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.419, allocations: 15.92 kB / 0.5774 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.419, allocations: 4 kB / 0.5774 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.419, allocations: 3.938 kB / 0.5774 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.42, allocations: 0.7484 MB / 0.5781 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.4201, allocations: 39.84 kB / 0.5782 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.4201, allocations: 15.92 kB / 0.5782 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.4203, allocations: 11.98 kB / 0.5782 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.4204, allocations: 19.97 kB / 0.5782 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.4204, allocations: 8 kB / 0.5782 GB, free: 3.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.4207, allocations: 223 kB / 0.5784 GB, free: 3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4207, allocations: 0 / 0.5784 GB, free: 3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008394/0.4215, allocations: 251.7 kB / 0.5787 GB, free: 2.754 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.0005103/0.422, allocations: 258.7 kB / 0.5789 GB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.423, allocations: 0.6623 MB / 0.5796 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.423, allocations: 0 / 0.5796 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.4233, allocations: 191.8 kB / 0.5798 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.4238, allocations: 46.31 kB / 0.5798 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4253, allocations: 0.9901 MB / 0.5808 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.4258, allocations: 0.8028 MB / 0.5815 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.4259, allocations: 31.31 kB / 0.5816 GB, free: 15.69 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4259, allocations: 0 / 0.5816 GB, free: 15.69 MB / 430.1 MB Notification: Performance of Templates: time 0.009915/0.4358, allocations: 6.453 MB / 0.5879 GB, free: 9.297 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.213590851053596] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.44496434601023793 0.45838665999999995 0.051038400000000005 Calling exit ...