Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 101.5 kB / 17.63 MB, free: 5.344 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.001151/0.001151, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 65.19 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1212, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00415/0.1254, allocations: 1.827 MB / 471.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1279, allocations: 1.341 MB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.1281, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1283, allocations: 31.72 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.1285, allocations: 31.66 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.1301, allocations: 0.5638 MB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.1305, allocations: 283.3 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1307, allocations: 40.3 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.1309, allocations: 115.6 kB / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.1312, allocations: 171.5 kB / 473.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.1312, allocations: 20 kB / 473.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.1323, allocations: 0.7604 MB / 474.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1324, allocations: 119.6 kB / 474.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.1326, allocations: 139.1 kB / 474.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.1339, allocations: 1.076 MB / 475.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.134, allocations: 0 / 475.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.134, allocations: 4 kB / 475.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.134, allocations: 0 / 475.9 MB, free: 7.742 MB / 350.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.001564/0.1356, allocations: 0.7166 MB / 476.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1356, allocations: 12.03 kB / 476.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.757e-05/0.1357, allocations: 46.73 kB / 476.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.1358, allocations: 28.56 kB / 476.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.1361, allocations: 291.7 kB / 476.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1362, allocations: 12 kB / 477 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-05/0.1363, allocations: 31.89 kB / 477 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.1368, allocations: 279.1 kB / 477.3 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1368, allocations: 4 kB / 477.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.1368, allocations: 4 kB / 477.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1369, allocations: 4 kB / 477.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.1373, allocations: 219.8 kB / 477.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.1386, allocations: 0.7538 MB / 478.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.1391, allocations: 292.9 kB / 478.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.1394, allocations: 185.6 kB / 478.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1394, allocations: 8 kB / 478.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1395, allocations: 42.88 kB / 478.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.1395, allocations: 0 / 478.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001042/0.1405, allocations: 0.5398 MB / 479.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.1406, allocations: 81.11 kB / 479.4 MB, free: 4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.141, allocations: 352.5 kB / 479.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.141, allocations: 29.7 kB / 479.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1411, allocations: 140.8 kB / 479.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.1412, allocations: 94.55 kB / 480 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.1414, allocations: 125.7 kB / 480.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1416, allocations: 346.8 kB / 480.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.142, allocations: 292.8 kB / 480.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.1424, allocations: 343.5 kB / 481.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003476/0.1459, allocations: 1.76 MB / 482.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1459, allocations: 0 / 482.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001135/0.1471, allocations: 0.7657 MB / 483.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1471, allocations: 8 kB / 483.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-05/0.1471, allocations: 4 kB / 483.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1472, allocations: 0 / 483.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.1477, allocations: 103.9 kB / 483.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1477, allocations: 0 / 483.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.1479, allocations: 67.12 kB / 483.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.1479, allocations: 11.94 kB / 483.8 MB, free: 15.54 MB / 366.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.000242/0.1482, allocations: 182.8 kB / 484 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.1483, allocations: 39.55 kB / 484 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.418e-05/0.1484, allocations: 34.7 kB / 484 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1484, allocations: 4 kB / 484 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1484, allocations: 0 / 484 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1484, allocations: 0 / 484 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.1488, allocations: 341.2 kB / 484.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1488, allocations: 7.875 kB / 484.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.1492, allocations: 47.97 kB / 484.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1492, allocations: 4 kB / 484.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.1492, allocations: 15.98 kB / 484.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1493, allocations: 0 / 484.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1493, allocations: 0 / 484.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1503, allocations: 0.7443 MB / 485.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.1504, allocations: 108.8 kB / 485.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.1504, allocations: 15.98 kB / 485.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.1507, allocations: 12 kB / 485.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.1508, allocations: 15.97 kB / 485.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.1508, allocations: 8 kB / 485.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002773/0.1511, allocations: 219 kB / 485.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1511, allocations: 3.938 kB / 485.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009718/0.1521, allocations: 255.8 kB / 485.8 MB, free: 13.42 MB / 366.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.002161/0.1542, allocations: 1.439 MB / 487.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.1553, allocations: 0.7523 MB / 488 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1553, allocations: 0 / 488 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.1556, allocations: 192.6 kB / 488.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.1561, allocations: 47.23 kB / 488.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.1619, allocations: 4.499 MB / 492.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.1624, allocations: 0.8067 MB / 493.5 MB, free: 5.516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.1626, allocations: 70.23 kB / 493.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.1628, allocations: 103.4 kB / 493.7 MB, free: 5.348 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1628, allocations: 0 / 493.7 MB, free: 5.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.1985, allocations: 10.01 MB / 0.4919 GB, free: 11.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.231, allocations: 10.5 kB / 0.4919 GB, free: 11.47 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)