Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001779, allocations: 174.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.3 MB / 235.5 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000931/0.0009312, allocations: 79.88 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.473e-05, allocations: 4 kB / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 50.41 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4754, allocations: 89.99 MB / 484.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4757, allocations: 67.97 kB / 484.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02762/0.5033, allocations: 9.979 MB / 494.4 MB, free: 3.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5034, allocations: 0 / 494.4 MB, free: 3.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.5034, allocations: 11.94 kB / 494.4 MB, free: 3.418 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.0007697/0.5042, allocations: 0.5143 MB / 494.9 MB, free: 2.855 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5043, allocations: 16.03 kB / 494.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.5043, allocations: 38.56 kB / 494.9 MB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.5044, allocations: 31.62 kB / 495 MB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.505, allocations: 355.7 kB / 495.3 MB, free: 2.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.505, allocations: 12.19 kB / 495.3 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.5051, allocations: 12 kB / 495.3 MB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.5054, allocations: 225.3 kB / 495.6 MB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5054, allocations: 0 / 495.6 MB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.5055, allocations: 11.94 kB / 495.6 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5055, allocations: 0 / 495.6 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.5056, allocations: 80.53 kB / 495.7 MB, free: 2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.5065, allocations: 0.4895 MB / 496.1 MB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.5067, allocations: 162.5 kB / 496.3 MB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.506e-05/0.5068, allocations: 56.88 kB / 496.4 MB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.5069, allocations: 0 / 496.4 MB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.5069, allocations: 34.56 kB / 496.4 MB, free: 1.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.5069, allocations: 0 / 496.4 MB, free: 1.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003062/0.5072, allocations: 157.6 kB / 496.5 MB, free: 1.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.5074, allocations: 294.7 kB / 496.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.5076, allocations: 242.7 kB / 497.1 MB, free: 444 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.5077, allocations: 37.7 kB / 497.1 MB, free: 400 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5078, allocations: 152.5 kB / 497.3 MB, free: 244 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.5078, allocations: 55.25 kB / 497.3 MB, free: 188 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.5078, allocations: 4 kB / 497.3 MB, free: 184 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.508, allocations: 342.8 kB / 497.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5082, allocations: 87.91 kB / 497.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.5084, allocations: 172.5 kB / 497.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.5086, allocations: 112.2 kB / 498 MB, free: 15.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5086, allocations: 3.938 kB / 498 MB, free: 15.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004083/0.509, allocations: 277.2 kB / 498.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.509, allocations: 4 kB / 498.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.509, allocations: 4 kB / 498.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5091, allocations: 8 kB / 498.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.5093, allocations: 51.95 kB / 498.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.5093, allocations: 4 kB / 498.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.5095, allocations: 27.72 kB / 498.4 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.5095, allocations: 4 kB / 498.4 MB, free: 15.06 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 () * 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 9.488e-05/0.5096, allocations: 120.9 kB / 498.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.5097, allocations: 31.73 kB / 498.5 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.417e-05/0.5097, allocations: 34.05 kB / 498.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5097, allocations: 3.984 kB / 498.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5097, allocations: 0 / 498.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5098, allocations: 0 / 498.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.5101, allocations: 265.5 kB / 498.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.5101, allocations: 4 kB / 498.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.5103, allocations: 31.92 kB / 498.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5103, allocations: 0 / 498.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.5103, allocations: 7.984 kB / 498.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5103, allocations: 4 kB / 498.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5103, allocations: 4 kB / 498.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.5107, allocations: 323.7 kB / 499.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.5108, allocations: 100.7 kB / 499.3 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.5108, allocations: 15.98 kB / 499.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.511, allocations: 4 kB / 499.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.511, allocations: 11.98 kB / 499.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.511, allocations: 4 kB / 499.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001902/0.5112, allocations: 194.2 kB / 499.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5112, allocations: 0 / 499.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004174/0.5116, allocations: 91.95 kB / 499.6 MB, free: 13.73 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 () * 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.0009021/0.5126, allocations: 0.9068 MB / 0.4888 GB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004524/0.513, allocations: 273 kB / 0.4891 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.513, allocations: 4 kB / 0.4891 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.5132, allocations: 55.92 kB / 0.4891 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.5136, allocations: 62.06 kB / 0.4892 GB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.5147, allocations: 0.5391 MB / 0.4897 GB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5151, allocations: 0.7794 MB / 0.4905 GB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.5153, allocations: 50.28 kB / 0.4905 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.5154, allocations: 83.41 kB / 0.4906 GB, free: 10.89 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5154, allocations: 0 / 0.4906 GB, free: 10.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.5341, allocations: 6.036 MB / 0.4965 GB, free: 4.969 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.5344, allocations: 149.1 kB / 0.4966 GB, free: 4.742 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.495, allocations: 4 kB / 0.4966 GB, free: 4.738 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat