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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 105 kB / 16.94 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 191.3 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2307/0.2307, allocations: 43.53 MB / 314.6 MB, free: 0.5469 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 74.16 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1186, allocations: 57.78 MB / 441.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003328/0.1219, allocations: 1.837 MB / 443 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1239, allocations: 1.373 MB / 444.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1241, allocations: 11.88 kB / 444.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.1243, allocations: 27.73 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.1243, allocations: 31.7 kB / 444.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1256, allocations: 0.565 MB / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.1258, allocations: 271.4 kB / 445.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.126, allocations: 48.52 kB / 445.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.1261, allocations: 111.7 kB / 445.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1264, allocations: 171.4 kB / 445.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.1264, allocations: 24 kB / 445.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008416/0.1273, allocations: 0.7604 MB / 446.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1274, allocations: 115.7 kB / 446.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1275, allocations: 135.2 kB / 446.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007833/0.1283, allocations: 1.072 MB / 447.7 MB, free: 400 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1283, allocations: 0 / 447.7 MB, free: 400 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1283, allocations: 7.938 kB / 447.7 MB, free: 392 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1283, allocations: 0 / 447.7 MB, free: 392 kB / 318.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.001139/0.1295, allocations: 0.7245 MB / 448.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1295, allocations: 11.89 kB / 448.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.1296, allocations: 32.56 kB / 448.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.13, allocations: 283.9 kB / 448.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.13, allocations: 11.94 kB / 448.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.1301, allocations: 24 kB / 448.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.1306, allocations: 275.2 kB / 449.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1306, allocations: 0 / 449.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.1306, allocations: 4 kB / 449.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1306, allocations: 4 kB / 449.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.131, allocations: 235.7 kB / 449.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.1322, allocations: 0.7499 MB / 450.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.1327, allocations: 296.9 kB / 450.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.133, allocations: 189.6 kB / 450.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.133, allocations: 4 kB / 450.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.1331, allocations: 46.44 kB / 450.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.1331, allocations: 0 / 450.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009812/0.1341, allocations: 0.5286 MB / 451.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1341, allocations: 81.11 kB / 451.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.1345, allocations: 352.5 kB / 451.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.1345, allocations: 29.7 kB / 451.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.1346, allocations: 140.8 kB / 451.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.1347, allocations: 114.4 kB / 451.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.1349, allocations: 117.7 kB / 451.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.135, allocations: 346.8 kB / 452.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.1354, allocations: 292.5 kB / 452.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.1359, allocations: 343.3 kB / 452.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.1396, allocations: 1.768 MB / 454.6 MB, free: 9.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.1396, allocations: 0 / 454.6 MB, free: 9.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001076/0.1407, allocations: 0.758 MB / 455.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1407, allocations: 8 kB / 455.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.1408, allocations: 7.984 kB / 455.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.1408, allocations: 4 kB / 455.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.1413, allocations: 99.81 kB / 455.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1413, allocations: 0 / 455.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.1415, allocations: 71.11 kB / 455.6 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.1416, allocations: 12 kB / 455.6 MB, free: 8.219 MB / 334.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.00024/0.1418, allocations: 186.2 kB / 455.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.1419, allocations: 35.47 kB / 455.8 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.686e-05/0.142, allocations: 46.7 kB / 455.9 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.142, allocations: 4 kB / 455.9 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.142, allocations: 0 / 455.9 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.142, allocations: 0 / 455.9 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.1424, allocations: 337.3 kB / 456.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1425, allocations: 0 / 456.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.1428, allocations: 51.86 kB / 456.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1428, allocations: 0 / 456.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.1429, allocations: 15.98 kB / 456.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1429, allocations: 0 / 456.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1429, allocations: 0 / 456.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.1439, allocations: 0.7516 MB / 457 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1439, allocations: 108.7 kB / 457.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.144, allocations: 16 kB / 457.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.1442, allocations: 11.98 kB / 457.2 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.1443, allocations: 15.98 kB / 457.2 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1443, allocations: 11.98 kB / 457.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.1445, allocations: 219 kB / 457.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1445, allocations: 0 / 457.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007917/0.1453, allocations: 252.1 kB / 457.6 MB, free: 6.094 MB / 334.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.0004857/0.1458, allocations: 251.1 kB / 457.9 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.1468, allocations: 0.7561 MB / 458.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1469, allocations: 0 / 458.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.1472, allocations: 196.6 kB / 458.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.1477, allocations: 47.75 kB / 458.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.149, allocations: 0.9667 MB / 459.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1494, allocations: 0.8067 MB / 460.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.1495, allocations: 27.42 kB / 460.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1495, allocations: 0 / 460.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of Templates: time 0.01066/0.1602, allocations: 6.43 MB / 467.1 MB, free: 12.58 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)