Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002176/0.002176, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 94.67 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3635/0.3635, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.593e-05, allocations: 0 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4374, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.6048, allocations: 86.05 MB / 0.55 GB, free: 13.15 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.6052, allocations: 63.47 kB / 0.5501 GB, free: 13.09 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05452/0.6597, allocations: 9.387 MB / 0.5592 GB, free: 3.691 MB / 395.1 MB Notification: Performance of FrontEnd: time 5.18e-06/0.6598, allocations: 4 kB / 0.5593 GB, free: 3.688 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.226e-05/0.6598, allocations: 7.938 kB / 0.5593 GB, free: 3.68 MB / 395.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.002078/0.6619, allocations: 0.6581 MB / 0.5599 GB, free: 2.977 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.662, allocations: 12.03 kB / 0.5599 GB, free: 2.965 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.6622, allocations: 31.53 kB / 0.5599 GB, free: 2.934 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007366/0.6629, allocations: 288 kB / 0.5602 GB, free: 2.609 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.663, allocations: 4 kB / 0.5602 GB, free: 2.605 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.309e-05/0.6631, allocations: 19.94 kB / 0.5602 GB, free: 2.586 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005798/0.6637, allocations: 195.9 kB / 0.5604 GB, free: 2.395 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.6643, allocations: 247.2 kB / 0.5607 GB, free: 2.141 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6643, allocations: 3.938 kB / 0.5607 GB, free: 2.137 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.6644, allocations: 0 / 0.5607 GB, free: 2.137 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.6644, allocations: 4 kB / 0.5607 GB, free: 2.133 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.6665, allocations: 0.727 MB / 0.5614 GB, free: 1.363 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.6672, allocations: 273 kB / 0.5616 GB, free: 1.078 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.6676, allocations: 177.6 kB / 0.5618 GB, free: 0.8984 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.6677, allocations: 7.984 kB / 0.5618 GB, free: 0.8906 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.6677, allocations: 38.56 kB / 0.5619 GB, free: 0.8438 MB / 395.1 MB Notification: Performance of pre-optimization done (n=24): time 3.196e-06/0.6677, allocations: 0 / 0.5619 GB, free: 0.8438 MB / 395.1 MB Notification: Performance of matching and sorting (n=24): time 0.001045/0.6688, allocations: 362.2 kB / 0.5622 GB, free: 492 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.6689, allocations: 81.11 kB / 0.5623 GB, free: 392 kB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.6694, allocations: 293.2 kB / 0.5626 GB, free: 92 kB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.6695, allocations: 25.7 kB / 0.5626 GB, free: 60 kB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.6696, allocations: 207.5 kB / 0.5628 GB, free: 15.85 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.6698, allocations: 94.55 kB / 0.5629 GB, free: 15.76 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.6698, allocations: 4 kB / 0.5629 GB, free: 15.75 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.67, allocations: 342.8 kB / 0.5632 GB, free: 15.41 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006196/0.6706, allocations: 264.7 kB / 0.5635 GB, free: 15.15 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/0.6713, allocations: 310.3 kB / 0.5637 GB, free: 14.85 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/0.6722, allocations: 305.8 kB / 0.564 GB, free: 14.55 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.6722, allocations: 3.938 kB / 0.564 GB, free: 14.54 MB / 411.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001732/0.6739, allocations: 0.7034 MB / 0.5647 GB, free: 13.84 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.674, allocations: 4 kB / 0.5647 GB, free: 13.83 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.165e-05/0.6741, allocations: 12 kB / 0.5647 GB, free: 13.82 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.6741, allocations: 0 / 0.5647 GB, free: 13.82 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/0.6751, allocations: 103.9 kB / 0.5648 GB, free: 13.72 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.6752, allocations: 4 kB / 0.5649 GB, free: 13.71 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.6755, allocations: 59.12 kB / 0.5649 GB, free: 13.66 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.6756, allocations: 8 kB / 0.5649 GB, free: 13.65 MB / 411.1 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(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(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(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(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(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(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 () * 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.0002391/0.6759, allocations: 130.5 kB / 0.565 GB, free: 13.52 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009553/0.6768, allocations: 365.5 kB / 0.5654 GB, free: 13.15 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.977e-05/0.6769, allocations: 31.62 kB / 0.5654 GB, free: 13.12 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.6771, allocations: 34.83 kB / 0.5655 GB, free: 13.09 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.6771, allocations: 4 kB / 0.5655 GB, free: 13.08 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.6771, allocations: 0 / 0.5655 GB, free: 13.08 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.6771, allocations: 4 kB / 0.5655 GB, free: 13.08 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.6778, allocations: 297.8 kB / 0.5657 GB, free: 12.75 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6778, allocations: 0 / 0.5657 GB, free: 12.75 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/0.6786, allocations: 51.92 kB / 0.5658 GB, free: 12.7 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.6786, allocations: 3.953 kB / 0.5658 GB, free: 12.7 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.6787, allocations: 15.98 kB / 0.5658 GB, free: 12.68 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6787, allocations: 3.938 kB / 0.5658 GB, free: 12.68 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6787, allocations: 0 / 0.5658 GB, free: 12.68 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.6802, allocations: 0.7072 MB / 0.5665 GB, free: 11.94 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.6803, allocations: 112.8 kB / 0.5666 GB, free: 11.81 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.6804, allocations: 15.94 kB / 0.5666 GB, free: 11.8 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.6808, allocations: 7.984 kB / 0.5666 GB, free: 11.79 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.6809, allocations: 11.98 kB / 0.5666 GB, free: 11.78 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.681, allocations: 11.98 kB / 0.5667 GB, free: 11.77 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0003322/0.6813, allocations: 204.5 kB / 0.5669 GB, free: 11.56 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6813, allocations: 0 / 0.5669 GB, free: 11.56 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.001345/0.6827, allocations: 267.7 kB / 0.5671 GB, free: 11.3 MB / 411.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 () * 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.002862/0.6856, allocations: 1.505 MB / 0.5686 GB, free: 9.766 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.6872, allocations: 0.6985 MB / 0.5693 GB, free: 9.043 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6873, allocations: 0 / 0.5693 GB, free: 9.043 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.6877, allocations: 184.4 kB / 0.5694 GB, free: 8.863 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.6884, allocations: 29.19 kB / 0.5695 GB, free: 8.836 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.6913, allocations: 1.011 MB / 0.5705 GB, free: 7.773 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.6919, allocations: 0.8143 MB / 0.5712 GB, free: 6.93 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.6923, allocations: 103.4 kB / 0.5713 GB, free: 6.828 MB / 411.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6923, allocations: 0 / 0.5713 GB, free: 6.828 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.058/3.751, allocations: 8.072 MB / 0.5792 GB, free: 14.81 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2_res.mat does not exist to compare? outputFormat=mat