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.001305/0.001305, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001546/0.001546, allocations: 211.9 kB / 23.78 MB, free: 4.523 MB / 14.72 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 1.543/1.543, allocations: 207.7 MB / 234.6 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] 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.322/0.322, allocations: 44.26 MB / 331.1 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002236/0.002236, allocations: 72.27 kB / 468.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1296, allocations: 61.04 MB / 0.5169 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003415/0.133, allocations: 1.778 MB / 0.5186 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1353, allocations: 1.285 MB / 0.5199 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.1354, allocations: 4 kB / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.1355, allocations: 31.66 kB / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/0.1356, allocations: 27.72 kB / 0.52 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.1375, allocations: 0.6742 MB / 0.5206 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.1379, allocations: 307.2 kB / 0.5209 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1381, allocations: 40.78 kB / 0.5209 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1382, allocations: 115.6 kB / 0.5211 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1385, allocations: 179.4 kB / 0.5212 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.1386, allocations: 24 kB / 0.5213 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.1408, allocations: 1.329 MB / 0.5226 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1409, allocations: 115.7 kB / 0.5227 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1411, allocations: 107.4 kB / 0.5228 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.1426, allocations: 1.106 MB / 0.5238 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.1426, allocations: 4 kB / 0.5238 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1426, allocations: 0 / 0.5238 GB, free: 32 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.1426, allocations: 0 / 0.5238 GB, free: 32 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.001595/0.1442, allocations: 0.656 MB / 0.5245 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.765e-05/0.1443, allocations: 12.03 kB / 0.5245 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.389e-05/0.1443, allocations: 4.188 kB / 0.5245 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.705e-05/0.1444, allocations: 50.73 kB / 0.5246 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.1445, allocations: 32.7 kB / 0.5246 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.1449, allocations: 217.9 kB / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1449, allocations: 16 kB / 0.5248 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.145, allocations: 27.95 kB / 0.5248 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.1456, allocations: 326.6 kB / 0.5251 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1456, allocations: 0 / 0.5251 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.1456, allocations: 4 kB / 0.5251 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1456, allocations: 4 kB / 0.5252 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.1461, allocations: 227.7 kB / 0.5254 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.1475, allocations: 0.679 MB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.148, allocations: 281 kB / 0.5263 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.1483, allocations: 201.5 kB / 0.5265 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.1484, allocations: 7.938 kB / 0.5265 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.1484, allocations: 38.56 kB / 0.5265 GB, free: 13.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.1484, allocations: 0 / 0.5265 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001065/0.1495, allocations: 0.5288 MB / 0.5271 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.1495, allocations: 81.11 kB / 0.5271 GB, free: 12.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.1499, allocations: 352.6 kB / 0.5275 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.1499, allocations: 33.7 kB / 0.5275 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.15, allocations: 140.9 kB / 0.5276 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.1501, allocations: 103.1 kB / 0.5277 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.1503, allocations: 125.5 kB / 0.5279 GB, free: 11.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1505, allocations: 350.8 kB / 0.5282 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.151, allocations: 284.9 kB / 0.5285 GB, free: 11.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.1515, allocations: 339.3 kB / 0.5288 GB, free: 10.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003786/0.1553, allocations: 1.772 MB / 0.5305 GB, free: 8.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1553, allocations: 0 / 0.5305 GB, free: 8.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001242/0.1565, allocations: 0.7621 MB / 0.5313 GB, free: 8.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1565, allocations: 7.938 kB / 0.5313 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/0.1566, allocations: 11.98 kB / 0.5313 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1566, allocations: 0 / 0.5313 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.1571, allocations: 99.88 kB / 0.5314 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1571, allocations: 4 kB / 0.5314 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.1574, allocations: 67.39 kB / 0.5314 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.1574, allocations: 12 kB / 0.5315 GB, free: 7.992 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.0003282/0.1577, allocations: 184.1 kB / 0.5316 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1578, allocations: 27.75 kB / 0.5317 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1579, allocations: 46.7 kB / 0.5317 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1579, allocations: 4 kB / 0.5317 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1579, allocations: 0 / 0.5317 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1579, allocations: 0 / 0.5317 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.1584, allocations: 276.5 kB / 0.532 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1584, allocations: 0 / 0.532 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.1588, allocations: 51.92 kB / 0.532 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.1588, allocations: 3.938 kB / 0.532 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.1588, allocations: 15.98 kB / 0.532 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1588, allocations: 0 / 0.532 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.1588, allocations: 4 kB / 0.532 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.16, allocations: 0.7447 MB / 0.5328 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.1601, allocations: 39.8 kB / 0.5328 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.1601, allocations: 19.94 kB / 0.5328 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1603, allocations: 7.984 kB / 0.5328 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-05/0.1604, allocations: 19.97 kB / 0.5328 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.1604, allocations: 4 kB / 0.5329 GB, free: 6.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.1607, allocations: 223 kB / 0.5331 GB, free: 6.258 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1607, allocations: 0 / 0.5331 GB, free: 6.258 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001015/0.1617, allocations: 263.6 kB / 0.5333 GB, free: 6 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.002016/0.1637, allocations: 1.438 MB / 0.5347 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.1648, allocations: 0.6586 MB / 0.5354 GB, free: 3.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1648, allocations: 3.938 kB / 0.5354 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.1652, allocations: 192.9 kB / 0.5356 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.1657, allocations: 45.94 kB / 0.5356 GB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2226/0.3883, allocations: 4.521 MB / 0.54 GB, free: 27.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.3885, allocations: 198.3 kB / 0.5402 GB, free: 27.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.3888, allocations: 68.62 kB / 0.5403 GB, free: 27.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.389, allocations: 104.5 kB / 0.5404 GB, free: 27.23 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.389, allocations: 1.188 kB / 0.5404 GB, free: 27.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04102/0.43, allocations: 10.47 MB / 0.5506 GB, free: 26.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.74, allocations: 5.891 kB / 0.5506 GB, free: 26.14 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.911777413915843] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.914884874946438 12.943315919 12.795421342 Calling exit ...