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.001485/0.001485, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001605/0.001605, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 8 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.2072/0.2072, allocations: 46.93 MB / 361.6 MB, free: 4.25 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.001927/0.001927, allocations: 67.91 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3068, allocations: 66.03 MB / 0.5619 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003035/0.3099, allocations: 1.877 MB / 0.5637 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.312, allocations: 1.416 MB / 0.5651 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.312, allocations: 7.875 kB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.3122, allocations: 31.72 kB / 0.5651 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.347e-05/0.3123, allocations: 39.7 kB / 0.5652 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.3138, allocations: 0.678 MB / 0.5658 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.3142, allocations: 311.2 kB / 0.5661 GB, free: 36 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.3143, allocations: 40.59 kB / 0.5662 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.3146, allocations: 123.5 kB / 0.5663 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.3148, allocations: 171.4 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.3148, allocations: 24 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.3168, allocations: 1.364 MB / 0.5678 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.3169, allocations: 119.6 kB / 0.5679 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.317, allocations: 139.2 kB / 0.568 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.3182, allocations: 1.112 MB / 0.5691 GB, free: 12.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3182, allocations: 4 kB / 0.5691 GB, free: 12.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3182, allocations: 0 / 0.5691 GB, free: 12.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.3182, allocations: 0 / 0.5691 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.001128/0.3193, allocations: 0.6638 MB / 0.5698 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3193, allocations: 8.031 kB / 0.5698 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.3195, allocations: 48.69 kB / 0.5698 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.3199, allocations: 218.2 kB / 0.57 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3199, allocations: 16 kB / 0.5701 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.3199, allocations: 27.95 kB / 0.5701 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.3204, allocations: 275.6 kB / 0.5703 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3204, allocations: 0 / 0.5703 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.3204, allocations: 4 kB / 0.5703 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3204, allocations: 8 kB / 0.5704 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.3208, allocations: 219.8 kB / 0.5706 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.3221, allocations: 0.7257 MB / 0.5713 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.3225, allocations: 292.9 kB / 0.5716 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.3228, allocations: 185.6 kB / 0.5717 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.3228, allocations: 7.984 kB / 0.5717 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3229, allocations: 34.5 kB / 0.5718 GB, free: 10.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.243e-06/0.3229, allocations: 0 / 0.5718 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009881/0.3238, allocations: 0.5444 MB / 0.5723 GB, free: 9.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.3239, allocations: 81.05 kB / 0.5724 GB, free: 9.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.3242, allocations: 352.6 kB / 0.5727 GB, free: 9.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.3243, allocations: 33.7 kB / 0.5727 GB, free: 9.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.3244, allocations: 137 kB / 0.5729 GB, free: 8.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.219e-05/0.3245, allocations: 111.1 kB / 0.573 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3246, allocations: 125.4 kB / 0.5731 GB, free: 8.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3248, allocations: 350.8 kB / 0.5734 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.3252, allocations: 284.8 kB / 0.5737 GB, free: 8.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.3256, allocations: 344.1 kB / 0.574 GB, free: 7.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003349/0.329, allocations: 1.757 MB / 0.5758 GB, free: 5.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.329, allocations: 0 / 0.5758 GB, free: 5.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001096/0.3301, allocations: 0.7621 MB / 0.5765 GB, free: 5.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3301, allocations: 4 kB / 0.5765 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.3301, allocations: 7.984 kB / 0.5765 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3301, allocations: 7.938 kB / 0.5765 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.3306, allocations: 95.88 kB / 0.5766 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3306, allocations: 4 kB / 0.5766 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.3308, allocations: 71.34 kB / 0.5767 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.3308, allocations: 12 kB / 0.5767 GB, free: 4.965 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.00022/0.331, allocations: 179.9 kB / 0.5769 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.3311, allocations: 31.81 kB / 0.5769 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.3312, allocations: 46.64 kB / 0.5769 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3312, allocations: 0 / 0.5769 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3312, allocations: 4 kB / 0.5769 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3312, allocations: 0 / 0.5769 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.3316, allocations: 308.4 kB / 0.5772 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.3316, allocations: 8 kB / 0.5772 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.332, allocations: 43.97 kB / 0.5773 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.332, allocations: 4 kB / 0.5773 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.332, allocations: 15.92 kB / 0.5773 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.332, allocations: 11.94 kB / 0.5773 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.332, allocations: 0 / 0.5773 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/0.333, allocations: 0.7454 MB / 0.578 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.333, allocations: 35.84 kB / 0.5781 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.3331, allocations: 15.92 kB / 0.5781 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.3333, allocations: 15.98 kB / 0.5781 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.3334, allocations: 15.97 kB / 0.5781 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.3334, allocations: 8 kB / 0.5781 GB, free: 3.414 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.3336, allocations: 223 kB / 0.5783 GB, free: 3.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3336, allocations: 0 / 0.5783 GB, free: 3.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006583/0.3343, allocations: 251.7 kB / 0.5786 GB, free: 2.949 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.000474/0.3347, allocations: 262.8 kB / 0.5788 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000954/0.3357, allocations: 0.6642 MB / 0.5795 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3357, allocations: 0 / 0.5795 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.336, allocations: 191.7 kB / 0.5797 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.3365, allocations: 55.28 kB / 0.5797 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3378, allocations: 0.9883 MB / 0.5807 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.3382, allocations: 0.8028 MB / 0.5815 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3384, allocations: 27.44 kB / 0.5815 GB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3384, allocations: 0 / 0.5815 GB, free: 15.88 MB / 430.1 MB Notification: Performance of Templates: time 0.009119/0.3475, allocations: 6.457 MB / 0.5878 GB, free: 9.5 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 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.473798088962212] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.3556884629651904 0.36860865899999995 0.04759731599999994 Calling exit ...