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.001358/0.001358, allocations: 103.6 kB / 21.19 MB, free: 0.6562 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.001654/0.001654, allocations: 211.5 kB / 24.48 MB, free: 3.949 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.494/1.494, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.266/0.266, allocations: 46.95 MB / 361.6 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] 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.003127/0.003127, allocations: 87.86 kB / 0.4974 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.354, allocations: 66.08 MB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003159/0.3571, allocations: 1.793 MB / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.3594, allocations: 1.307 MB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.3595, allocations: 0 / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.3596, allocations: 31.72 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.3597, allocations: 35.66 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.3615, allocations: 0.6585 MB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.3619, allocations: 307.2 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3621, allocations: 32.56 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.3623, allocations: 123.6 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.3625, allocations: 171.5 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.3626, allocations: 24 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.3646, allocations: 1.22 MB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.3648, allocations: 119.6 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3649, allocations: 115.4 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.3662, allocations: 1.101 MB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3662, allocations: 0 / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3662, allocations: 0 / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.3662, allocations: 0 / 0.5688 GB, free: 12.94 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.001258/0.3675, allocations: 0.6638 MB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3675, allocations: 12.03 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.3677, allocations: 36.7 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.3681, allocations: 230.2 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.3681, allocations: 12 kB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/0.3682, allocations: 23.95 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.3687, allocations: 326.5 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3687, allocations: 4 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.3687, allocations: 11.98 kB / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3687, allocations: 4 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.3692, allocations: 219.8 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.3704, allocations: 0.6405 MB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.3708, allocations: 285.1 kB / 0.5711 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.3712, allocations: 189.5 kB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.3712, allocations: 8 kB / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.3712, allocations: 38.56 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.824e-06/0.3712, allocations: 0 / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001068/0.3723, allocations: 0.537 MB / 0.5719 GB, free: 9.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.3723, allocations: 81.11 kB / 0.572 GB, free: 9.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.3727, allocations: 352.6 kB / 0.5723 GB, free: 9.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.3727, allocations: 33.7 kB / 0.5723 GB, free: 9.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3729, allocations: 144.9 kB / 0.5725 GB, free: 8.938 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.3729, allocations: 107.1 kB / 0.5726 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.3731, allocations: 125.4 kB / 0.5727 GB, free: 8.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3733, allocations: 346.8 kB / 0.573 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.3737, allocations: 292.8 kB / 0.5733 GB, free: 8.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.3742, allocations: 340.2 kB / 0.5736 GB, free: 7.734 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/0.3778, allocations: 1.758 MB / 0.5753 GB, free: 5.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3778, allocations: 4 kB / 0.5753 GB, free: 5.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001165/0.379, allocations: 0.766 MB / 0.5761 GB, free: 5.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.379, allocations: 4 kB / 0.5761 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.379, allocations: 4 kB / 0.5761 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3791, allocations: 4 kB / 0.5761 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.3795, allocations: 103.8 kB / 0.5762 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.3796, allocations: 4 kB / 0.5762 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3798, allocations: 63.36 kB / 0.5763 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3798, allocations: 20 kB / 0.5763 GB, free: 4.988 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.0002649/0.3801, allocations: 192.7 kB / 0.5765 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.3801, allocations: 23.81 kB / 0.5765 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3802, allocations: 38.72 kB / 0.5765 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3803, allocations: 11.92 kB / 0.5765 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3803, allocations: 8 kB / 0.5766 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3803, allocations: 0 / 0.5766 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.3806, allocations: 237.1 kB / 0.5768 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3806, allocations: 3.938 kB / 0.5768 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.381, allocations: 43.97 kB / 0.5768 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.381, allocations: 4 kB / 0.5768 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.381, allocations: 11.98 kB / 0.5768 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.381, allocations: 4 kB / 0.5768 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.381, allocations: 3.938 kB / 0.5768 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3821, allocations: 0.7485 MB / 0.5776 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3821, allocations: 35.84 kB / 0.5776 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.3822, allocations: 11.98 kB / 0.5776 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.3824, allocations: 15.92 kB / 0.5776 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.3825, allocations: 23.91 kB / 0.5777 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3825, allocations: 7.938 kB / 0.5777 GB, free: 3.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002247/0.3827, allocations: 223 kB / 0.5779 GB, free: 3.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3827, allocations: 0 / 0.5779 GB, free: 3.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007737/0.3835, allocations: 255.7 kB / 0.5781 GB, free: 3.039 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.0005375/0.384, allocations: 262.7 kB / 0.5784 GB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.3851, allocations: 0.6585 MB / 0.579 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3851, allocations: 0 / 0.579 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.3854, allocations: 199.7 kB / 0.5792 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.3859, allocations: 37.08 kB / 0.5792 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.3873, allocations: 0.9893 MB / 0.5802 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3876, allocations: 203.8 kB / 0.5804 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.3877, allocations: 19.44 kB / 0.5804 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3877, allocations: 0 / 0.5804 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of Templates: time 0.01018/0.3979, allocations: 6.559 MB / 0.5868 GB, free: 10.1 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.757406536955386] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.408005581703037 0.42137576000000004 0.052013638 Calling exit ...