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.001705/0.001705, allocations: 114 kB / 20.44 MB, free: 1.324 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.002154/0.002154, allocations: 204.6 kB / 23.74 MB, free: 4.551 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.65/1.65, allocations: 230.5 MB / 257.4 MB, free: 8.035 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.2692/0.2692, allocations: 46.92 MB / 360.8 MB, free: 4.297 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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 72.06 kB / 0.4962 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3334, allocations: 66.08 MB / 0.5607 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00305/0.3364, allocations: 1.871 MB / 0.5626 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.3386, allocations: 1.42 MB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.3386, allocations: 4 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.3388, allocations: 31.72 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.3389, allocations: 39.66 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.3405, allocations: 0.6771 MB / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.3409, allocations: 307.2 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3411, allocations: 38.34 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.3413, allocations: 127.6 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.3415, allocations: 171.5 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.3417, allocations: 24 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.3437, allocations: 1.368 MB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3439, allocations: 119.6 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.3441, allocations: 143.2 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.3453, allocations: 1.102 MB / 0.568 GB, free: 12.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3454, allocations: 8 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3454, allocations: 0 / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3454, allocations: 0 / 0.568 GB, free: 12.89 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.001269/0.3466, allocations: 0.6599 MB / 0.5686 GB, free: 12.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3467, allocations: 19.97 kB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.086e-05/0.3467, allocations: 46.73 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.3469, allocations: 48.69 kB / 0.5687 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.3473, allocations: 218.1 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3473, allocations: 16 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.3473, allocations: 27.95 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.3479, allocations: 275.1 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3479, allocations: 4 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.3479, allocations: 8 kB / 0.5693 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.348, allocations: 4 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.3484, allocations: 223.7 kB / 0.5695 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.3497, allocations: 0.7218 MB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.3502, allocations: 284.9 kB / 0.5705 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.3505, allocations: 189.6 kB / 0.5706 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.3505, allocations: 0 / 0.5706 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3506, allocations: 42.5 kB / 0.5707 GB, free: 9.977 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.3506, allocations: 4 kB / 0.5707 GB, free: 9.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001078/0.3516, allocations: 0.5327 MB / 0.5712 GB, free: 9.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.3517, allocations: 81.11 kB / 0.5713 GB, free: 9.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.3521, allocations: 356.6 kB / 0.5716 GB, free: 8.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.3522, allocations: 33.64 kB / 0.5716 GB, free: 8.938 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3523, allocations: 141 kB / 0.5718 GB, free: 8.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.3524, allocations: 115 kB / 0.5719 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.3526, allocations: 129.3 kB / 0.572 GB, free: 8.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3528, allocations: 346.8 kB / 0.5723 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.3532, allocations: 284.9 kB / 0.5726 GB, free: 7.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.3537, allocations: 340.2 kB / 0.5729 GB, free: 7.586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/0.3574, allocations: 1.758 MB / 0.5747 GB, free: 5.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3574, allocations: 0 / 0.5747 GB, free: 5.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001329/0.3587, allocations: 0.7621 MB / 0.5754 GB, free: 5.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.3588, allocations: 8 kB / 0.5754 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/0.3588, allocations: 11.92 kB / 0.5754 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.3588, allocations: 4 kB / 0.5754 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.3593, allocations: 95.88 kB / 0.5755 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3593, allocations: 0 / 0.5755 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.3595, allocations: 75.34 kB / 0.5756 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.3596, allocations: 12 kB / 0.5756 GB, free: 4.844 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.0002794/0.3598, allocations: 186.3 kB / 0.5758 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/0.3599, allocations: 27.81 kB / 0.5758 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.36, allocations: 42.64 kB / 0.5758 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.36, allocations: 7.938 kB / 0.5759 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.36, allocations: 0 / 0.5759 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3601, allocations: 7.938 kB / 0.5759 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.3605, allocations: 300.5 kB / 0.5761 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3605, allocations: 3.984 kB / 0.5761 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.3608, allocations: 39.98 kB / 0.5762 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3608, allocations: 8 kB / 0.5762 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.3609, allocations: 19.92 kB / 0.5762 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.3609, allocations: 8 kB / 0.5762 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3609, allocations: 0 / 0.5762 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.362, allocations: 0.753 MB / 0.577 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.362, allocations: 31.89 kB / 0.577 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.3621, allocations: 19.94 kB / 0.577 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3623, allocations: 11.98 kB / 0.577 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.3624, allocations: 23.95 kB / 0.577 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.3624, allocations: 4 kB / 0.577 GB, free: 3.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.3627, allocations: 223 kB / 0.5773 GB, free: 3.066 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3627, allocations: 0 / 0.5773 GB, free: 3.066 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008622/0.3635, allocations: 259.6 kB / 0.5775 GB, free: 2.812 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.001942/0.3655, allocations: 1.43 MB / 0.5789 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3665, allocations: 0.6662 MB / 0.5796 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3665, allocations: 0 / 0.5796 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.3668, allocations: 191.8 kB / 0.5797 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.3673, allocations: 41.06 kB / 0.5798 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.373, allocations: 4.541 MB / 0.5842 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.3734, allocations: 0.8106 MB / 0.585 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.3736, allocations: 66.25 kB / 0.5851 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.3738, allocations: 103.4 kB / 0.5852 GB, free: 10.8 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3738, allocations: 4 kB / 0.5852 GB, free: 10.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04476/0.4185, allocations: 10.43 MB / 0.5954 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.32, allocations: 2.562 kB / 0.5954 GB, free: 0.5273 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.542374552926049] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.431048826081678 12.455703071 12.10587002 Calling exit ...