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.001234/0.001234, allocations: 114.5 kB / 19.69 MB, free: 2.207 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.00166/0.00166, allocations: 222.3 kB / 23.01 MB, free: 5.062 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.44/1.44, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2432/0.2432, allocations: 44.23 MB / 330.3 MB, free: 9.527 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.002169/0.002169, allocations: 66.25 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1219, allocations: 61.03 MB / 0.5161 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003141/0.1251, allocations: 1.854 MB / 0.5179 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1274, allocations: 1.404 MB / 0.5193 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.1275, allocations: 7.938 kB / 0.5193 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.1276, allocations: 31.72 kB / 0.5194 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.1277, allocations: 31.66 kB / 0.5194 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.1294, allocations: 0.6703 MB / 0.52 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.1299, allocations: 303.2 kB / 0.5203 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.13, allocations: 40.78 kB / 0.5204 GB, free: 3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.1302, allocations: 127.6 kB / 0.5205 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.1305, allocations: 167.5 kB / 0.5206 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.1305, allocations: 24 kB / 0.5207 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.1326, allocations: 1.364 MB / 0.522 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.1328, allocations: 123.6 kB / 0.5221 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1329, allocations: 135.2 kB / 0.5222 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.1343, allocations: 1.098 MB / 0.5233 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1343, allocations: 0 / 0.5233 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1343, allocations: 0 / 0.5233 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1343, allocations: 0 / 0.5233 GB, free: 15.96 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.001393/0.1357, allocations: 0.6599 MB / 0.524 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.1357, allocations: 12.03 kB / 0.524 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.1358, allocations: 46.73 kB / 0.524 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.1359, allocations: 32.7 kB / 0.5241 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1363, allocations: 226 kB / 0.5243 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1363, allocations: 20 kB / 0.5243 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.1363, allocations: 27.95 kB / 0.5243 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.1368, allocations: 271.1 kB / 0.5246 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1368, allocations: 4 kB / 0.5246 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.1369, allocations: 4 kB / 0.5246 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1369, allocations: 4 kB / 0.5246 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.1373, allocations: 227.8 kB / 0.5248 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.1386, allocations: 0.7141 MB / 0.5255 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.1391, allocations: 288.9 kB / 0.5258 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.1394, allocations: 193.6 kB / 0.526 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.1395, allocations: 4 kB / 0.526 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1395, allocations: 38.94 kB / 0.526 GB, free: 13.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.1395, allocations: 0 / 0.526 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001069/0.1406, allocations: 0.5438 MB / 0.5265 GB, free: 12.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.1406, allocations: 81.11 kB / 0.5266 GB, free: 12.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.141, allocations: 352.6 kB / 0.5269 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.141, allocations: 33.7 kB / 0.527 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1412, allocations: 136.9 kB / 0.5271 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/0.1412, allocations: 107.1 kB / 0.5272 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.1414, allocations: 125.6 kB / 0.5273 GB, free: 11.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1416, allocations: 346.8 kB / 0.5277 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.142, allocations: 292.8 kB / 0.5279 GB, free: 11.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.1425, allocations: 335.3 kB / 0.5283 GB, free: 10.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00356/0.1461, allocations: 1.76 MB / 0.53 GB, free: 8.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.1461, allocations: 8 kB / 0.53 GB, free: 8.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00118/0.1473, allocations: 0.7621 MB / 0.5307 GB, free: 8.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1473, allocations: 4 kB / 0.5307 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.1473, allocations: 15.92 kB / 0.5307 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1473, allocations: 0 / 0.5307 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.1478, allocations: 95.88 kB / 0.5308 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1478, allocations: 4 kB / 0.5308 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.148, allocations: 67.39 kB / 0.5309 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.1481, allocations: 19.94 kB / 0.5309 GB, free: 7.934 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.0002677/0.1483, allocations: 185.2 kB / 0.5311 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.1484, allocations: 27.8 kB / 0.5311 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1485, allocations: 42.66 kB / 0.5312 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1485, allocations: 11.94 kB / 0.5312 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1485, allocations: 0 / 0.5312 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1485, allocations: 0 / 0.5312 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.149, allocations: 312.5 kB / 0.5315 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.149, allocations: 0 / 0.5315 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.1493, allocations: 43.98 kB / 0.5315 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1493, allocations: 0 / 0.5315 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.1494, allocations: 19.92 kB / 0.5315 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1494, allocations: 0 / 0.5315 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1494, allocations: 0 / 0.5315 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.1505, allocations: 0.7486 MB / 0.5323 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.1505, allocations: 31.88 kB / 0.5323 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.1506, allocations: 15.94 kB / 0.5323 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.1508, allocations: 15.98 kB / 0.5323 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.1509, allocations: 11.97 kB / 0.5323 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.1509, allocations: 16 kB / 0.5324 GB, free: 6.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.1511, allocations: 215 kB / 0.5326 GB, free: 6.176 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1511, allocations: 0 / 0.5326 GB, free: 6.176 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009429/0.1521, allocations: 259.6 kB / 0.5328 GB, free: 5.922 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.001973/0.154, allocations: 1.457 MB / 0.5342 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1551, allocations: 0.6546 MB / 0.5349 GB, free: 3.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1551, allocations: 0 / 0.5349 GB, free: 3.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.1554, allocations: 192.9 kB / 0.5351 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.1559, allocations: 41.06 kB / 0.5351 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2095/0.3654, allocations: 4.528 MB / 0.5395 GB, free: 27.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.3657, allocations: 0.8054 MB / 0.5403 GB, free: 26.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000245/0.366, allocations: 69.86 kB / 0.5404 GB, free: 26.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.3661, allocations: 102.9 kB / 0.5405 GB, free: 26.49 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3661, allocations: 1.219 kB / 0.5405 GB, free: 26.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/0.4126, allocations: 10.4 MB / 0.5506 GB, free: 25.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 9.234 kB / 0.5506 GB, free: 25.49 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: 14.771646419074386] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 11.960879322141409 11.982236547 11.843928861 Calling exit ...