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.00158/0.00158, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001529/0.001529, allocations: 214.5 kB / 22.99 MB, free: 4.605 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.491/1.491, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2765/0.2765, allocations: 44.26 MB / 330.3 MB, free: 9.316 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="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: 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.002422/0.002422, allocations: 75.88 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1243, allocations: 61.03 MB / 0.5161 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003302/0.1276, allocations: 1.788 MB / 0.5179 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.1299, allocations: 1.276 MB / 0.5191 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.13, allocations: 4 kB / 0.5191 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.1302, allocations: 39.64 kB / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.1303, allocations: 27.73 kB / 0.5192 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.1321, allocations: 0.6469 MB / 0.5198 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.1326, allocations: 303.2 kB / 0.5201 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1327, allocations: 40.77 kB / 0.5202 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1329, allocations: 119.6 kB / 0.5203 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.1332, allocations: 171.4 kB / 0.5204 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.1332, allocations: 24 kB / 0.5205 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.1353, allocations: 1.212 MB / 0.5216 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.1355, allocations: 115.7 kB / 0.5218 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1356, allocations: 119.3 kB / 0.5219 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.1371, allocations: 1.091 MB / 0.5229 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1371, allocations: 3.938 kB / 0.5229 GB, free: 204 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1371, allocations: 0 / 0.5229 GB, free: 204 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1371, allocations: 0 / 0.5229 GB, free: 204 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.001447/0.1386, allocations: 0.6599 MB / 0.5236 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1386, allocations: 8.031 kB / 0.5236 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.1387, allocations: 50.73 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.222e-05/0.1387, allocations: 36.7 kB / 0.5237 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.1391, allocations: 214.1 kB / 0.5239 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1391, allocations: 12 kB / 0.5239 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.1392, allocations: 27.94 kB / 0.5239 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.1398, allocations: 322.6 kB / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1398, allocations: 4 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1398, allocations: 4 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1398, allocations: 19.86 kB / 0.5242 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.1403, allocations: 227.7 kB / 0.5245 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.1416, allocations: 0.6635 MB / 0.5251 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.1421, allocations: 288.9 kB / 0.5254 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.1424, allocations: 189.5 kB / 0.5256 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.1425, allocations: 4 kB / 0.5256 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.1425, allocations: 42.44 kB / 0.5256 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.833e-06/0.1425, allocations: 4 kB / 0.5256 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001107/0.1436, allocations: 0.5366 MB / 0.5261 GB, free: 12.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.1437, allocations: 81.11 kB / 0.5262 GB, free: 12.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.1441, allocations: 356.5 kB / 0.5266 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.1441, allocations: 29.7 kB / 0.5266 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1442, allocations: 137 kB / 0.5267 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1443, allocations: 103.1 kB / 0.5268 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.1445, allocations: 121.7 kB / 0.5269 GB, free: 11.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1447, allocations: 350.8 kB / 0.5273 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.1452, allocations: 284.8 kB / 0.5275 GB, free: 11.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.1457, allocations: 343.3 kB / 0.5279 GB, free: 10.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00384/0.1495, allocations: 1.764 MB / 0.5296 GB, free: 9.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.1495, allocations: 0 / 0.5296 GB, free: 9.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001279/0.1508, allocations: 0.7699 MB / 0.5303 GB, free: 8.363 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1508, allocations: 4 kB / 0.5303 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.1508, allocations: 11.94 kB / 0.5304 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1509, allocations: 0 / 0.5304 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.1514, allocations: 99.86 kB / 0.5304 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.1514, allocations: 4 kB / 0.5305 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.1516, allocations: 59.41 kB / 0.5305 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.1516, allocations: 16 kB / 0.5305 GB, free: 8.172 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.0003172/0.1519, allocations: 192 kB / 0.5307 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.152, allocations: 23.81 kB / 0.5307 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.1521, allocations: 46.64 kB / 0.5308 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1521, allocations: 4 kB / 0.5308 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.1522, allocations: 4 kB / 0.5308 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1522, allocations: 0 / 0.5308 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.1526, allocations: 276.6 kB / 0.531 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1526, allocations: 0 / 0.531 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.153, allocations: 55.89 kB / 0.5311 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.153, allocations: 0 / 0.5311 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.153, allocations: 19.92 kB / 0.5311 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.153, allocations: 0 / 0.5311 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.153, allocations: 3.938 kB / 0.5311 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.1542, allocations: 0.7409 MB / 0.5318 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.1543, allocations: 31.83 kB / 0.5319 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.1543, allocations: 27.92 kB / 0.5319 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.1545, allocations: 4 kB / 0.5319 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.1546, allocations: 27.89 kB / 0.5319 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.1546, allocations: 4 kB / 0.5319 GB, free: 6.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002495/0.1549, allocations: 219 kB / 0.5321 GB, free: 6.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1549, allocations: 0 / 0.5321 GB, free: 6.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00083/0.1557, allocations: 255.6 kB / 0.5324 GB, free: 6.18 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.002032/0.1578, allocations: 1.442 MB / 0.5338 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.1589, allocations: 0.6624 MB / 0.5344 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1589, allocations: 0 / 0.5344 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.1592, allocations: 187.8 kB / 0.5346 GB, free: 3.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.1598, allocations: 47.3 kB / 0.5347 GB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2069/0.3667, allocations: 4.524 MB / 0.5391 GB, free: 27.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.3669, allocations: 200.5 kB / 0.5393 GB, free: 27.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000275/0.3672, allocations: 68.14 kB / 0.5393 GB, free: 27.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.3674, allocations: 102.1 kB / 0.5394 GB, free: 27.35 MB / 414.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3674, allocations: 1.547 kB / 0.5394 GB, free: 27.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05069/0.4181, allocations: 10.77 MB / 0.55 GB, free: 25.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.23, allocations: 5.281 kB / 0.55 GB, free: 25.91 MB / 414.1 MB " [Timeout remaining time 648] (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.273934700991958] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.349659469444305 12.369866528 12.229153006 Calling exit ...