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.001407/0.001407, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001421/0.001421, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2381/0.2381, allocations: 46.94 MB / 361.7 MB, free: 4.254 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 67.91 kB / 0.4969 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3122, allocations: 66.04 MB / 0.5614 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00299/0.3152, allocations: 1.852 MB / 0.5632 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.3176, allocations: 1.424 MB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3177, allocations: 7.938 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.3179, allocations: 31.7 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.3179, allocations: 35.66 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.3198, allocations: 0.682 MB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.3202, allocations: 311.2 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3203, allocations: 34.53 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.3206, allocations: 127.6 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.3209, allocations: 175.5 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.3209, allocations: 24 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.3232, allocations: 1.368 MB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.3233, allocations: 119.6 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.3235, allocations: 143.2 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.325, allocations: 1.11 MB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.325, allocations: 0 / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.325, allocations: 0 / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.325, allocations: 0 / 0.5687 GB, free: 13.01 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.001606/0.3266, allocations: 0.6638 MB / 0.5693 GB, free: 12.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3267, allocations: 8.031 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.441e-05/0.3267, allocations: 4.188 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.42e-05/0.3268, allocations: 50.73 kB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.3269, allocations: 40.7 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.3273, allocations: 225.9 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3273, allocations: 8 kB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/0.3274, allocations: 31.89 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.328, allocations: 283.6 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.328, allocations: 0 / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.328, allocations: 4 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.328, allocations: 4 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.3285, allocations: 230.6 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.3299, allocations: 0.718 MB / 0.5709 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.3305, allocations: 292.9 kB / 0.5711 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.3308, allocations: 181.6 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.3309, allocations: 11.92 kB / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.3309, allocations: 34.56 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.3309, allocations: 0 / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001178/0.3321, allocations: 0.5443 MB / 0.5719 GB, free: 9.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.3322, allocations: 85.05 kB / 0.572 GB, free: 9.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.3326, allocations: 348.6 kB / 0.5723 GB, free: 9.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.3327, allocations: 37.7 kB / 0.5723 GB, free: 9.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3328, allocations: 133 kB / 0.5725 GB, free: 8.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.333, allocations: 111.1 kB / 0.5726 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.3331, allocations: 121.4 kB / 0.5727 GB, free: 8.676 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.3334, allocations: 354.8 kB / 0.573 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.3338, allocations: 284.9 kB / 0.5733 GB, free: 8.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.3343, allocations: 340.1 kB / 0.5736 GB, free: 7.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003809/0.3381, allocations: 1.753 MB / 0.5753 GB, free: 5.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.3381, allocations: 0 / 0.5753 GB, free: 5.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001285/0.3394, allocations: 0.7674 MB / 0.5761 GB, free: 5.168 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.3395, allocations: 7.938 kB / 0.5761 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/0.3395, allocations: 8 kB / 0.5761 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3395, allocations: 3.984 kB / 0.5761 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.34, allocations: 99.88 kB / 0.5762 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.34, allocations: 4 kB / 0.5762 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.3402, allocations: 75.34 kB / 0.5763 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3402, allocations: 12 kB / 0.5763 GB, free: 4.961 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.0002974/0.3405, allocations: 190.5 kB / 0.5765 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.3406, allocations: 27.75 kB / 0.5765 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.3408, allocations: 46.7 kB / 0.5765 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3408, allocations: 4 kB / 0.5765 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3408, allocations: 0 / 0.5765 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3408, allocations: 0 / 0.5765 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.3412, allocations: 308.5 kB / 0.5768 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3412, allocations: 0 / 0.5768 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.3416, allocations: 51.91 kB / 0.5769 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3416, allocations: 7.875 kB / 0.5769 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.3416, allocations: 19.92 kB / 0.5769 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3416, allocations: 0 / 0.5769 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3416, allocations: 4 kB / 0.5769 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.3428, allocations: 0.7484 MB / 0.5776 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.3428, allocations: 31.91 kB / 0.5777 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.3429, allocations: 19.92 kB / 0.5777 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.3431, allocations: 11.98 kB / 0.5777 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.3432, allocations: 15.97 kB / 0.5777 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.3432, allocations: 12 kB / 0.5777 GB, free: 3.402 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002368/0.3434, allocations: 219 kB / 0.5779 GB, free: 3.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3434, allocations: 0 / 0.5779 GB, free: 3.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008678/0.3443, allocations: 255.6 kB / 0.5782 GB, free: 2.938 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.001892/0.3462, allocations: 1.437 MB / 0.5796 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3473, allocations: 0.6584 MB / 0.5802 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3473, allocations: 0 / 0.5802 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.3476, allocations: 195.8 kB / 0.5804 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.3481, allocations: 33.08 kB / 0.5805 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/0.3541, allocations: 4.547 MB / 0.5849 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.3546, allocations: 0.8106 MB / 0.5857 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.3548, allocations: 70.25 kB / 0.5858 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.3551, allocations: 107.4 kB / 0.5859 GB, free: 10.92 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3551, allocations: 0 / 0.5859 GB, free: 10.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03737/0.3924, allocations: 10.48 MB / 0.5961 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.56, allocations: 4 kB / 0.5961 GB, free: 0.6523 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.63301400799537] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.727503146976233 12.756769718 12.426162127 Calling exit ...