Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009621/0.000962, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009825/0.0009825, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3097/0.3097, allocations: 40 MB / 310.4 MB, free: 9.973 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.000522, allocations: 12 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1178, allocations: 57.95 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002318/0.1201, allocations: 1.491 MB / 438.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1222, allocations: 1.308 MB / 439.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1224, allocations: 0 / 439.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.1226, allocations: 35.77 kB / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.1227, allocations: 23.89 kB / 439.6 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.1241, allocations: 435 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.1243, allocations: 159.7 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1245, allocations: 48.25 kB / 440.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.1247, allocations: 103.7 kB / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1249, allocations: 155.5 kB / 440.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1249, allocations: 16 kB / 440.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009057/0.1259, allocations: 0.6278 MB / 441.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.126, allocations: 99.77 kB / 441.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.1261, allocations: 65.5 kB / 441.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.1269, allocations: 0.8189 MB / 442.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1269, allocations: 0 / 442.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1269, allocations: 0 / 442.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.1269, allocations: 0 / 442.1 MB, free: 13.21 MB / 382.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.001171/0.1281, allocations: 0.6892 MB / 442.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1282, allocations: 12.03 kB / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.1282, allocations: 31.58 kB / 442.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.1286, allocations: 271.2 kB / 443.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1286, allocations: 11.94 kB / 443.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.1287, allocations: 35.89 kB / 443.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.1291, allocations: 275.1 kB / 443.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1292, allocations: 4 kB / 443.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.1292, allocations: 8 kB / 443.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.1292, allocations: 11.89 kB / 443.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.1296, allocations: 227.8 kB / 443.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.1309, allocations: 0.7655 MB / 444.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.1314, allocations: 288.9 kB / 444.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1314, allocations: 4 kB / 444.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1314, allocations: 38.55 kB / 444.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.402e-06/0.1314, allocations: 0 / 444.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.000937/0.1324, allocations: 0.545 MB / 445.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1324, allocations: 85.11 kB / 445.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.1328, allocations: 348.4 kB / 445.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.1328, allocations: 33.7 kB / 445.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1329, allocations: 140.8 kB / 445.9 MB, free: 9.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.102e-05/0.133, allocations: 102.5 kB / 446 MB, free: 9.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.133, allocations: 4 kB / 446 MB, free: 9.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1332, allocations: 350.8 kB / 446.3 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.1336, allocations: 288.9 kB / 446.6 MB, free: 8.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.1341, allocations: 343.5 kB / 447 MB, free: 8.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.1345, allocations: 333.7 kB / 447.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1346, allocations: 0 / 447.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001032/0.1356, allocations: 0.7641 MB / 448.1 MB, free: 7.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1356, allocations: 7.594 kB / 448.1 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.1357, allocations: 7.938 kB / 448.1 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1357, allocations: 4 kB / 448.1 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.1362, allocations: 103.9 kB / 448.2 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1362, allocations: 0 / 448.2 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.1364, allocations: 67.12 kB / 448.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.1364, allocations: 12 kB / 448.3 MB, free: 6.816 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.1367, allocations: 180.3 kB / 448.4 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.1367, allocations: 31.61 kB / 448.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.836e-05/0.1368, allocations: 38.7 kB / 448.5 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1368, allocations: 0 / 448.5 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1369, allocations: 4 kB / 448.5 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1369, allocations: 0 / 448.5 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.1373, allocations: 341.2 kB / 448.8 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1373, allocations: 0 / 448.8 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.1376, allocations: 55.91 kB / 448.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1376, allocations: 4 kB / 448.9 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.1377, allocations: 15.98 kB / 448.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1377, allocations: 0 / 448.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1377, allocations: 0 / 448.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.1387, allocations: 0.7811 MB / 449.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.1388, allocations: 108.8 kB / 449.8 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.1388, allocations: 15.92 kB / 449.8 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.139, allocations: 16 kB / 449.8 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.1391, allocations: 19.97 kB / 449.8 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1391, allocations: 7.938 kB / 449.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.1394, allocations: 223 kB / 450.1 MB, free: 4.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1394, allocations: 0 / 450.1 MB, free: 4.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000755/0.1401, allocations: 252 kB / 450.3 MB, free: 4.645 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004509/0.1406, allocations: 251.8 kB / 450.6 MB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000946/0.1415, allocations: 0.7442 MB / 451.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1415, allocations: 0 / 451.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.1419, allocations: 200 kB / 451.5 MB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1422, allocations: 36.84 kB / 451.5 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.1435, allocations: 1.035 MB / 452.6 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1439, allocations: 0.8109 MB / 453.4 MB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.144, allocations: 74.23 kB / 453.5 MB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.1441, allocations: 19.44 kB / 453.5 MB, free: 1.402 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1441, allocations: 0 / 453.5 MB, free: 1.402 MB / 382.1 MB Notification: Performance of Templates: time 0.1713/0.3155, allocations: 6.156 MB / 459.6 MB, free: 47.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) Environment - environmentSimulation: