Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002025/0.002025, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002601/0.002601, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.91 MB / 358.8 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3954, allocations: 65.47 MB / 0.557 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.005932/0.4013, allocations: 1.867 MB / 0.5588 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.4041, allocations: 1.42 MB / 0.5602 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.4043, allocations: 7.938 kB / 0.5602 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.4045, allocations: 27.72 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.671e-05/0.4046, allocations: 31.72 kB / 0.5603 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.4067, allocations: 0.6858 MB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.4073, allocations: 307.2 kB / 0.5613 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.4074, allocations: 42.31 kB / 0.5613 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.4077, allocations: 119.6 kB / 0.5614 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.408, allocations: 179.5 kB / 0.5616 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.4081, allocations: 28 kB / 0.5616 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.4105, allocations: 1.357 MB / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.4107, allocations: 123.6 kB / 0.563 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.411, allocations: 139.2 kB / 0.5632 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.4129, allocations: 1.114 MB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4129, allocations: 3.938 kB / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4129, allocations: 0 / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.4129, allocations: 0 / 0.5643 GB, free: 304 kB / 398.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.001729/0.4146, allocations: 0.666 MB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4147, allocations: 8.031 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.476e-05/0.4148, allocations: 54.67 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.415, allocations: 40.69 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.4155, allocations: 222.1 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4155, allocations: 16 kB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.4156, allocations: 23.95 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.4161, allocations: 271.4 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4162, allocations: 0 / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.4162, allocations: 8 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4162, allocations: 0 / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.4167, allocations: 231.7 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.4183, allocations: 0.7258 MB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.4189, allocations: 292.9 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.4192, allocations: 185.6 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.4193, allocations: 4 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.4193, allocations: 46.44 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.104e-06/0.4193, allocations: 0 / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001175/0.4205, allocations: 0.5327 MB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.4206, allocations: 85.11 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.421, allocations: 348.6 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.4211, allocations: 33.7 kB / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.4212, allocations: 140.9 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.4213, allocations: 107.1 kB / 0.5682 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.4216, allocations: 125.3 kB / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.4218, allocations: 350.8 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.4223, allocations: 288.8 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.4228, allocations: 340.2 kB / 0.5692 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/0.4265, allocations: 1.756 MB / 0.5709 GB, free: 9.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4265, allocations: 0 / 0.5709 GB, free: 9.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001229/0.4278, allocations: 0.7699 MB / 0.5717 GB, free: 8.457 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.4278, allocations: 7.984 kB / 0.5717 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.4278, allocations: 11.94 kB / 0.5717 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4278, allocations: 0 / 0.5717 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.4284, allocations: 95.88 kB / 0.5718 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.4284, allocations: 4 kB / 0.5718 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.4286, allocations: 71.34 kB / 0.5719 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.4286, allocations: 12 kB / 0.5719 GB, free: 8.258 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.0002835/0.4289, allocations: 191.9 kB / 0.5721 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.429, allocations: 23.81 kB / 0.5721 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.4291, allocations: 42.66 kB / 0.5721 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4291, allocations: 4 kB / 0.5721 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4291, allocations: 4 kB / 0.5721 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4292, allocations: 3.984 kB / 0.5721 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.4296, allocations: 312.4 kB / 0.5724 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4296, allocations: 0 / 0.5724 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.43, allocations: 51.91 kB / 0.5725 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.43, allocations: 0 / 0.5725 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.4301, allocations: 19.92 kB / 0.5725 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4301, allocations: 0 / 0.5725 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4301, allocations: 0 / 0.5725 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.4312, allocations: 0.7523 MB / 0.5732 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.4313, allocations: 31.89 kB / 0.5733 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.4313, allocations: 23.92 kB / 0.5733 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.4315, allocations: 4 kB / 0.5733 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.4316, allocations: 23.91 kB / 0.5733 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.4316, allocations: 11.98 kB / 0.5733 GB, free: 6.695 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002417/0.4319, allocations: 223 kB / 0.5735 GB, free: 6.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4319, allocations: 0 / 0.5735 GB, free: 6.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000836/0.4327, allocations: 255.6 kB / 0.5738 GB, free: 6.227 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.002072/0.4348, allocations: 1.439 MB / 0.5752 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.4359, allocations: 0.6573 MB / 0.5758 GB, free: 4.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4359, allocations: 0 / 0.5758 GB, free: 4.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.4362, allocations: 196 kB / 0.576 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.4367, allocations: 39.62 kB / 0.5761 GB, free: 3.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/0.4428, allocations: 4.545 MB / 0.5805 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.4433, allocations: 0.8028 MB / 0.5813 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.4435, allocations: 70.25 kB / 0.5814 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.4437, allocations: 107.3 kB / 0.5815 GB, free: 14.22 MB / 430.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4437, allocations: 0 / 0.5815 GB, free: 14.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.49, allocations: 10.43 MB / 0.5916 GB, free: 3.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.37, allocations: 7.938 kB / 0.5917 GB, free: 3.973 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.365227714879438] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.478401639033109 12.499893576 12.082574735 Calling exit ...