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.001445/0.001445, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.2 MB / 245 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008014/0.0008014, allocations: 97.97 kB / 297.3 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002052/0.0002053, allocations: 8 kB / 358 MB, free: 9.262 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1722, allocations: 51.49 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09117/0.2634, allocations: 90.85 MB / 0.4886 GB, free: 15.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.2636, allocations: 76.73 kB / 0.4887 GB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02572/0.2893, allocations: 10.07 MB / 0.4985 GB, free: 5.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2894, allocations: 0 / 0.4985 GB, free: 5.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.2894, allocations: 15.94 kB / 0.4985 GB, free: 5.551 MB / 378.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.0008439/0.2903, allocations: 0.5801 MB / 0.4991 GB, free: 4.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2903, allocations: 8.031 kB / 0.4991 GB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.2904, allocations: 42.56 kB / 0.4991 GB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.2905, allocations: 31.62 kB / 0.4992 GB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.291, allocations: 350.8 kB / 0.4995 GB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.291, allocations: 8.188 kB / 0.4995 GB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.2911, allocations: 20 kB / 0.4995 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.2914, allocations: 225.2 kB / 0.4998 GB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.2914, allocations: 0 / 0.4998 GB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.2914, allocations: 8 kB / 0.4998 GB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2914, allocations: 7.875 kB / 0.4998 GB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.2916, allocations: 92.5 kB / 0.4999 GB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007496/0.2924, allocations: 0.4972 MB / 0.5003 GB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.2926, allocations: 169.5 kB / 0.5005 GB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.2926, allocations: 4 kB / 0.5005 GB, free: 3.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.2927, allocations: 38.56 kB / 0.5005 GB, free: 3.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2927, allocations: 0 / 0.5005 GB, free: 3.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004128/0.2931, allocations: 233.5 kB / 0.5008 GB, free: 3.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.2932, allocations: 286.7 kB / 0.501 GB, free: 2.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.2934, allocations: 247.7 kB / 0.5013 GB, free: 2.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.2935, allocations: 33.7 kB / 0.5013 GB, free: 2.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.2936, allocations: 156.4 kB / 0.5015 GB, free: 2.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.2936, allocations: 47.36 kB / 0.5015 GB, free: 2.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-06/0.2936, allocations: 0 / 0.5015 GB, free: 2.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.2937, allocations: 342.8 kB / 0.5018 GB, free: 1.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.2939, allocations: 99.94 kB / 0.5019 GB, free: 1.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.2941, allocations: 176.8 kB / 0.5021 GB, free: 1.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.2943, allocations: 119.6 kB / 0.5022 GB, free: 1.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2943, allocations: 4 kB / 0.5022 GB, free: 1.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004096/0.2947, allocations: 297.5 kB / 0.5025 GB, free: 1.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2947, allocations: 4 kB / 0.5025 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.2948, allocations: 7.938 kB / 0.5025 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2948, allocations: 4 kB / 0.5025 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.295, allocations: 55.91 kB / 0.5026 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2951, allocations: 4 kB / 0.5026 GB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2952, allocations: 31.69 kB / 0.5026 GB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.2952, allocations: 8 kB / 0.5026 GB, free: 1.039 MB / 378.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 () * Number of clocked 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 0.0001263/0.2953, allocations: 157.7 kB / 0.5028 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.2954, allocations: 23.72 kB / 0.5028 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.2955, allocations: 29.97 kB / 0.5028 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2955, allocations: 0 / 0.5028 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2955, allocations: 3.953 kB / 0.5028 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2955, allocations: 0 / 0.5028 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.2957, allocations: 269.5 kB / 0.5031 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2957, allocations: 4 kB / 0.5031 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.2959, allocations: 23.98 kB / 0.5031 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2959, allocations: 0 / 0.5031 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.296, allocations: 8.109 kB / 0.5031 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.296, allocations: 3.938 kB / 0.5031 GB, free: 472 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.296, allocations: 4.031 kB / 0.5031 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.2964, allocations: 339.1 kB / 0.5034 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1478/0.4442, allocations: 100 kB / 0.5035 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.4443, allocations: 6.438 kB / 0.5035 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.4445, allocations: 10.56 kB / 0.5035 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.4446, allocations: 8.516 kB / 0.5036 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.4446, allocations: 6 kB / 0.5036 GB, free: 92.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.4448, allocations: 193.1 kB / 0.5037 GB, free: 92.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4448, allocations: 0 / 0.5037 GB, free: 92.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004839/0.4453, allocations: 96.16 kB / 0.5038 GB, free: 92.08 MB / 378.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 () * Number of clocked 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.0008936/0.4462, allocations: 0.9272 MB / 0.5047 GB, free: 91.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004823/0.4467, allocations: 281.4 kB / 0.505 GB, free: 91.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4467, allocations: 2.312 kB / 0.505 GB, free: 91.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.4469, allocations: 69.34 kB / 0.5051 GB, free: 91.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4473, allocations: 63.67 kB / 0.5051 GB, free: 91.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.4487, allocations: 0.9109 MB / 0.506 GB, free: 90.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.4489, allocations: 0.7767 MB / 0.5068 GB, free: 90.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.4491, allocations: 45.27 kB / 0.5068 GB, free: 90.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.4492, allocations: 81.88 kB / 0.5069 GB, free: 90.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4492, allocations: 0 / 0.5069 GB, free: 90.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.4663, allocations: 5.991 MB / 0.5128 GB, free: 89.71 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001224/0.4664, allocations: 168.2 kB / 0.5129 GB, free: 89.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.298, allocations: 3.844 kB / 0.5129 GB, free: 89.47 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