Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008348/0.0008346, allocations: 90.09 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.352e-05, allocations: 4 kB / 350.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09855, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3432/0.4418, allocations: 90.8 MB / 492.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.4421, allocations: 68.47 kB / 493 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02663/0.4687, allocations: 10.03 MB / 0.4912 GB, free: 6.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4687, allocations: 0 / 0.4912 GB, free: 6.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.731e-05/0.4688, allocations: 15.88 kB / 0.4912 GB, free: 6.219 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006651/0.4694, allocations: 0.5208 MB / 0.4917 GB, free: 5.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4695, allocations: 16.03 kB / 0.4917 GB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.4695, allocations: 38.55 kB / 0.4918 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.4696, allocations: 31.62 kB / 0.4918 GB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.4702, allocations: 344.3 kB / 0.4921 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4702, allocations: 16.12 kB / 0.4922 GB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.4703, allocations: 12 kB / 0.4922 GB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.4706, allocations: 223.7 kB / 0.4924 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.4706, allocations: 0 / 0.4924 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.4706, allocations: 4 kB / 0.4924 GB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4706, allocations: 0 / 0.4924 GB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.4708, allocations: 84.52 kB / 0.4925 GB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007507/0.4715, allocations: 0.4895 MB / 0.4929 GB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.4718, allocations: 174.6 kB / 0.4931 GB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.4719, allocations: 52.84 kB / 0.4932 GB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.4719, allocations: 4 kB / 0.4932 GB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.4719, allocations: 34.56 kB / 0.4932 GB, free: 4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.4719, allocations: 0 / 0.4932 GB, free: 4 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002852/0.4722, allocations: 161.3 kB / 0.4934 GB, free: 3.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/0.4723, allocations: 282.7 kB / 0.4936 GB, free: 3.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4725, allocations: 250.6 kB / 0.4939 GB, free: 3.242 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.4726, allocations: 37.7 kB / 0.4939 GB, free: 3.199 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.4727, allocations: 156.4 kB / 0.494 GB, free: 3.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.4727, allocations: 51.95 kB / 0.4941 GB, free: 2.992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.4727, allocations: 4 kB / 0.4941 GB, free: 2.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.4728, allocations: 338.8 kB / 0.4944 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.473, allocations: 87.95 kB / 0.4945 GB, free: 2.562 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.4732, allocations: 164.5 kB / 0.4947 GB, free: 2.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.4733, allocations: 115.7 kB / 0.4948 GB, free: 2.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4733, allocations: 0 / 0.4948 GB, free: 2.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003746/0.4737, allocations: 288.1 kB / 0.495 GB, free: 1.977 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4737, allocations: 4 kB / 0.4951 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.4738, allocations: 7.984 kB / 0.4951 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4738, allocations: 12.7 kB / 0.4951 GB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.474, allocations: 47.91 kB / 0.4951 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.4741, allocations: 4.109 kB / 0.4951 GB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.4742, allocations: 31.67 kB / 0.4952 GB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.4742, allocations: 9.172 kB / 0.4952 GB, free: 1.863 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 8.646e-05/0.4743, allocations: 113 kB / 0.4953 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.4744, allocations: 23.72 kB / 0.4953 GB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.4744, allocations: 36.53 kB / 0.4953 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4744, allocations: 1.75 kB / 0.4953 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4744, allocations: 3.953 kB / 0.4953 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4744, allocations: 3.938 kB / 0.4953 GB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.4747, allocations: 269.5 kB / 0.4956 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4747, allocations: 4 kB / 0.4956 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.4749, allocations: 23.98 kB / 0.4956 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4749, allocations: 0 / 0.4956 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.4749, allocations: 4 kB / 0.4956 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4749, allocations: 4 kB / 0.4956 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4749, allocations: 4 kB / 0.4956 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.4753, allocations: 323.2 kB / 0.4959 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.4753, allocations: 100.7 kB / 0.496 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.4754, allocations: 9.25 kB / 0.496 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.4755, allocations: 11.98 kB / 0.4961 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.4756, allocations: 11.94 kB / 0.4961 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4756, allocations: 4 kB / 0.4961 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.4757, allocations: 194.2 kB / 0.4963 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4757, allocations: 0 / 0.4963 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003343/0.4761, allocations: 87.88 kB / 0.4963 GB, free: 0.5664 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0006815/0.4768, allocations: 0.9047 MB / 0.4972 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.4771, allocations: 269.7 kB / 0.4975 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4771, allocations: 4 kB / 0.4975 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.4772, allocations: 59.92 kB / 0.4975 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.4776, allocations: 69.52 kB / 0.4976 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009608/0.4785, allocations: 0.5349 MB / 0.4981 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.4788, allocations: 0.7794 MB / 0.4989 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.4789, allocations: 45.53 kB / 0.4989 GB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.4791, allocations: 87.41 kB / 0.499 GB, free: 13.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4791, allocations: 0 / 0.499 GB, free: 13.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.4963, allocations: 6.043 MB / 0.5049 GB, free: 7.941 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.4967, allocations: 159.2 kB / 0.5051 GB, free: 7.703 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/2.681, allocations: 3.938 kB / 0.5051 GB, free: 7.699 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat