Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.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) 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(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",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.001321/0.00132, allocations: 180 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008794/0.0008796, allocations: 74.75 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002683, allocations: 7.984 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2599, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3633, allocations: 89.3 MB / 465.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.3636, allocations: 71.97 kB / 465.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02683/0.3904, allocations: 9.949 MB / 475.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.3905, allocations: 0 / 475.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.3905, allocations: 8 kB / 475.2 MB, free: 13.29 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.001121/0.3917, allocations: 0.5644 MB / 475.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.3917, allocations: 8.031 kB / 475.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.3918, allocations: 50.55 kB / 475.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.3919, allocations: 31.62 kB / 475.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006466/0.3926, allocations: 350.8 kB / 476.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.3926, allocations: 16.17 kB / 476.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.3926, allocations: 15.94 kB / 476.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.393, allocations: 234.5 kB / 476.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3931, allocations: 0 / 476.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.3931, allocations: 8 kB / 476.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3931, allocations: 4 kB / 476.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.3933, allocations: 88.5 kB / 476.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008275/0.3941, allocations: 0.4934 MB / 477.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.3944, allocations: 170.5 kB / 477.2 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.3945, allocations: 0 / 477.2 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3945, allocations: 42.59 kB / 477.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3945, allocations: 0 / 477.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004888/0.395, allocations: 221.2 kB / 477.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.3952, allocations: 294.7 kB / 477.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.3955, allocations: 243.7 kB / 478 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.3956, allocations: 33.7 kB / 478.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3957, allocations: 148.5 kB / 478.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.3957, allocations: 51.3 kB / 478.2 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.3958, allocations: 7.984 kB / 478.3 MB, free: 9.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3959, allocations: 342.8 kB / 478.6 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3962, allocations: 95.94 kB / 478.7 MB, free: 9.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.3964, allocations: 173.1 kB / 478.9 MB, free: 9.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.3966, allocations: 129 kB / 479 MB, free: 9.203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3966, allocations: 96 / 479 MB, free: 9.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004499/0.3971, allocations: 305 kB / 479.3 MB, free: 8.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.3971, allocations: 10.17 kB / 479.3 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.3972, allocations: 4 kB / 479.3 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3972, allocations: 4 kB / 479.3 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3975, allocations: 51.92 kB / 479.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3975, allocations: 8.094 kB / 479.4 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3976, allocations: 27.69 kB / 479.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.3976, allocations: 4 kB / 479.4 MB, free: 8.793 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 () * 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.0001407/0.3978, allocations: 153.8 kB / 479.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.3978, allocations: 23.72 kB / 479.6 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.3979, allocations: 25.98 kB / 479.6 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3979, allocations: 11.97 kB / 479.6 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3979, allocations: 3.953 kB / 479.6 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3979, allocations: 4 kB / 479.6 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.3982, allocations: 269.4 kB / 479.9 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3982, allocations: 0 / 479.9 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.3984, allocations: 31.92 kB / 479.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3984, allocations: 3.984 kB / 479.9 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3984, allocations: 4 kB / 479.9 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3985, allocations: 4 kB / 479.9 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3985, allocations: 0 / 479.9 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.3989, allocations: 339.4 kB / 480.2 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.399, allocations: 96.73 kB / 480.3 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.399, allocations: 12.05 kB / 480.3 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3991, allocations: 12 kB / 480.4 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.3992, allocations: 15.92 kB / 480.4 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3992, allocations: 3.953 kB / 480.4 MB, free: 7.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.3994, allocations: 199.1 kB / 480.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3994, allocations: 0 / 480.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004085/0.3998, allocations: 87.88 kB / 480.7 MB, free: 7.422 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 () * 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.0008256/0.4006, allocations: 0.9278 MB / 481.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.401, allocations: 281.9 kB / 481.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4011, allocations: 0 / 481.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.4012, allocations: 63.97 kB / 481.9 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.4016, allocations: 78.7 kB / 482 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.4028, allocations: 0.9038 MB / 482.9 MB, free: 5.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.4032, allocations: 0.7794 MB / 483.7 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.4033, allocations: 41.91 kB / 483.7 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.4034, allocations: 83.41 kB / 483.8 MB, free: 4.16 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4034, allocations: 0 / 483.8 MB, free: 4.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.4199, allocations: 5.985 MB / 489.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.4201, allocations: 176.5 kB / 490 MB, free: 13.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.266, allocations: 0 / 490 MB, free: 13.95 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat