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.001421/0.001421, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001612/0.001612, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2451/0.2451, allocations: 46.96 MB / 360.9 MB, free: 4.047 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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 59.91 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3366, allocations: 66.04 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00315/0.3397, allocations: 1.796 MB / 0.5623 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.3419, allocations: 1.292 MB / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.342, allocations: 7.938 kB / 0.5636 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.3422, allocations: 31.72 kB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.529e-05/0.3423, allocations: 39.59 kB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.3441, allocations: 0.6546 MB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.3445, allocations: 303.2 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3446, allocations: 38.38 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.3448, allocations: 127.5 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.3451, allocations: 171.5 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/0.3451, allocations: 24 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.3471, allocations: 1.212 MB / 0.5661 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3473, allocations: 127.6 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.3474, allocations: 111.4 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.3488, allocations: 1.098 MB / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3488, allocations: 4 kB / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3488, allocations: 0 / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3488, allocations: 0 / 0.5674 GB, free: 13.22 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.001295/0.3501, allocations: 0.6638 MB / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3501, allocations: 12.02 kB / 0.5681 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.497e-05/0.3502, allocations: 46.75 kB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.3504, allocations: 48.62 kB / 0.5682 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.3508, allocations: 222.1 kB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3508, allocations: 16 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.3509, allocations: 27.95 kB / 0.5684 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.3515, allocations: 319.1 kB / 0.5687 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3515, allocations: 3.938 kB / 0.5687 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.3515, allocations: 8 kB / 0.5688 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3515, allocations: 4 kB / 0.5688 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.352, allocations: 223.8 kB / 0.569 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3532, allocations: 0.6712 MB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.3537, allocations: 289.1 kB / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.354, allocations: 197.7 kB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3541, allocations: 0 / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.3541, allocations: 42.5 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.122e-06/0.3541, allocations: 0 / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001114/0.3552, allocations: 0.5322 MB / 0.5707 GB, free: 9.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.3553, allocations: 77.11 kB / 0.5707 GB, free: 9.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.3558, allocations: 360.6 kB / 0.5711 GB, free: 9.293 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.3559, allocations: 29.7 kB / 0.5711 GB, free: 9.258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.356, allocations: 144.9 kB / 0.5712 GB, free: 9.109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3561, allocations: 103.1 kB / 0.5713 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.3564, allocations: 125.4 kB / 0.5715 GB, free: 8.879 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3566, allocations: 350.8 kB / 0.5718 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.357, allocations: 280.8 kB / 0.5721 GB, free: 8.254 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.3575, allocations: 340.1 kB / 0.5724 GB, free: 7.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/0.3612, allocations: 1.761 MB / 0.5741 GB, free: 6.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3612, allocations: 0 / 0.5741 GB, free: 6.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00122/0.3624, allocations: 0.7639 MB / 0.5748 GB, free: 5.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3624, allocations: 4 kB / 0.5749 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/0.3624, allocations: 19.92 kB / 0.5749 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3625, allocations: 0 / 0.5749 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.3629, allocations: 95.88 kB / 0.575 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.363, allocations: 4 kB / 0.575 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.3632, allocations: 75.34 kB / 0.575 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.3632, allocations: 8 kB / 0.575 GB, free: 5.172 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.0002597/0.3635, allocations: 188.4 kB / 0.5752 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.3635, allocations: 27.81 kB / 0.5753 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.3636, allocations: 42.66 kB / 0.5753 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3636, allocations: 4 kB / 0.5753 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.3637, allocations: 0 / 0.5753 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3637, allocations: 3.984 kB / 0.5753 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.3642, allocations: 272.6 kB / 0.5756 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3642, allocations: 3.938 kB / 0.5756 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.3645, allocations: 51.91 kB / 0.5756 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3645, allocations: 0 / 0.5756 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.3646, allocations: 23.92 kB / 0.5756 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3646, allocations: 7.984 kB / 0.5756 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3646, allocations: 4 kB / 0.5756 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3657, allocations: 0.7493 MB / 0.5764 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.3657, allocations: 31.91 kB / 0.5764 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.3658, allocations: 15.92 kB / 0.5764 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.3661, allocations: 8 kB / 0.5764 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.3662, allocations: 19.91 kB / 0.5765 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.3662, allocations: 11.98 kB / 0.5765 GB, free: 3.648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.3664, allocations: 223 kB / 0.5767 GB, free: 3.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3664, allocations: 4 kB / 0.5767 GB, free: 3.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008321/0.3673, allocations: 251.6 kB / 0.5769 GB, free: 3.18 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.00188/0.3691, allocations: 1.442 MB / 0.5783 GB, free: 1.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3702, allocations: 0.6623 MB / 0.579 GB, free: 1.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3702, allocations: 4 kB / 0.579 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.3705, allocations: 195.8 kB / 0.5792 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.371, allocations: 37.06 kB / 0.5792 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.3769, allocations: 4.53 MB / 0.5836 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.3771, allocations: 195.8 kB / 0.5838 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.3773, allocations: 66.25 kB / 0.5839 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.3775, allocations: 107.4 kB / 0.584 GB, free: 11.79 MB / 430.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3775, allocations: 0 / 0.584 GB, free: 11.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.4213, allocations: 10.81 MB / 0.5945 GB, free: 1.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.74, allocations: 10.41 kB / 0.5945 GB, free: 1.191 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.726558081340045] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 11.8547471659258 11.873035451 11.520787862 Calling exit ...