Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007836/0.0007836, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009843/0.0009843, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8675/0.8675, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1418/0.1418, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.772e-05, allocations: 5.938 kB / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002786/0.002813, allocations: 1.78 MB / 408.6 MB, free: 472 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.004517, allocations: 1.28 MB / 409.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.004618, allocations: 4 kB / 409.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.004771, allocations: 31.72 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.004829, allocations: 35.59 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.006312, allocations: 0.6776 MB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.006581, allocations: 231.3 kB / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.006709, allocations: 32.58 kB / 410.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.006902, allocations: 139.6 kB / 411 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.007099, allocations: 151.7 kB / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.007138, allocations: 24 kB / 411.2 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.008701, allocations: 1.208 MB / 412.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.008897, allocations: 115.7 kB / 412.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.009017, allocations: 99.66 kB / 412.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.01045, allocations: 1.188 MB / 413.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01046, allocations: 0 / 413.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01046, allocations: 0 / 413.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.01046, allocations: 3.938 kB / 413.8 MB, free: 11.24 MB / 394.7 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.0009319/0.0114, allocations: 0.6561 MB / 414.5 MB, free: 10.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.01144, allocations: 8.031 kB / 414.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.0115, allocations: 54.73 kB / 414.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.01156, allocations: 36.64 kB / 414.6 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.01185, allocations: 210 kB / 414.8 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.01187, allocations: 16.12 kB / 414.8 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.01192, allocations: 27.95 kB / 414.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.01234, allocations: 338.4 kB / 415.1 MB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.01235, allocations: 7.984 kB / 415.2 MB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.01237, allocations: 4 kB / 415.2 MB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.01238, allocations: 4 kB / 415.2 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.01266, allocations: 215.8 kB / 415.4 MB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/0.0136, allocations: 0.6712 MB / 416 MB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.01393, allocations: 284.9 kB / 416.3 MB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.01413, allocations: 193.6 kB / 416.5 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.01417, allocations: 4 kB / 416.5 MB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.0142, allocations: 31 kB / 416.5 MB, free: 8.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.0142, allocations: 0 / 416.5 MB, free: 8.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006932/0.01489, allocations: 0.5438 MB / 417.1 MB, free: 7.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.01494, allocations: 81.11 kB / 417.2 MB, free: 7.691 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.01519, allocations: 356.5 kB / 417.5 MB, free: 7.328 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.01522, allocations: 37.7 kB / 417.6 MB, free: 7.285 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.0153, allocations: 140.9 kB / 417.7 MB, free: 7.145 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.01536, allocations: 99.19 kB / 417.8 MB, free: 7.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.01548, allocations: 117.7 kB / 417.9 MB, free: 6.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.01559, allocations: 346.8 kB / 418.2 MB, free: 6.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.01594, allocations: 288.8 kB / 418.5 MB, free: 6.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.01623, allocations: 347 kB / 418.9 MB, free: 5.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.01833, allocations: 1.753 MB / 420.6 MB, free: 4.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.01833, allocations: 7.875 kB / 420.6 MB, free: 4.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007314/0.01907, allocations: 0.766 MB / 421.4 MB, free: 3.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01908, allocations: 8 kB / 421.4 MB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.0191, allocations: 4 kB / 421.4 MB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.01912, allocations: 4 kB / 421.4 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.01939, allocations: 95.88 kB / 421.5 MB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.01939, allocations: 7.938 kB / 421.5 MB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.0195, allocations: 71.33 kB / 421.6 MB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.01952, allocations: 12 kB / 421.6 MB, free: 3.203 MB / 394.7 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.0002208/0.01974, allocations: 196.6 kB / 421.8 MB, free: 3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.01979, allocations: 27.81 kB / 421.8 MB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.01985, allocations: 42.78 kB / 421.8 MB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01986, allocations: 3.984 kB / 421.9 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.01986, allocations: 3.938 kB / 421.9 MB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.01987, allocations: 7.984 kB / 421.9 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.02012, allocations: 272.5 kB / 422.1 MB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.02012, allocations: 0 / 422.1 MB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.02031, allocations: 43.97 kB / 422.2 MB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.02032, allocations: 4 kB / 422.2 MB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.02034, allocations: 15.98 kB / 422.2 MB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.02034, allocations: 7.938 kB / 422.2 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.02034, allocations: 11.88 kB / 422.2 MB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.02102, allocations: 0.7368 MB / 422.9 MB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.02105, allocations: 31.89 kB / 423 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.02109, allocations: 11.98 kB / 423 MB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.02119, allocations: 8 kB / 423 MB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.02124, allocations: 19.91 kB / 423 MB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.02126, allocations: 11.98 kB / 423 MB, free: 1.684 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.02139, allocations: 223 kB / 423.2 MB, free: 1.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02139, allocations: 4 kB / 423.3 MB, free: 1.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005384/0.02193, allocations: 251.6 kB / 423.5 MB, free: 1.219 MB / 394.7 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.001136/0.02307, allocations: 1.465 MB / 425 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.02368, allocations: 0.6669 MB / 425.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02368, allocations: 0 / 425.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.02388, allocations: 192.7 kB / 425.8 MB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.02418, allocations: 45.06 kB / 425.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.02775, allocations: 4.478 MB / 430.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.02789, allocations: 199.8 kB / 430.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.02801, allocations: 70.23 kB / 430.6 MB, free: 9.953 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.02814, allocations: 104.5 kB / 430.7 MB, free: 9.852 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02814, allocations: 4 kB / 430.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.05316, allocations: 10.91 MB / 441.6 MB, free: 14.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.711/6.764, allocations: 8.047 kB / 441.6 MB, free: 14.9 MB / 426.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.716488232836127] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 6.847990958951414 6.854816702 6.842755538 Calling exit ...