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.001591/0.001591, allocations: 177.1 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.000871/0.0008712, allocations: 89.69 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.801e-05, allocations: 0 / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09354, allocations: 50.42 MB / 387.5 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4323, allocations: 89.33 MB / 476.9 MB, free: 5.328 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.4325, allocations: 67.97 kB / 476.9 MB, free: 5.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02689/0.4594, allocations: 9.923 MB / 486.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4594, allocations: 0 / 486.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.4595, allocations: 15.94 kB / 486.9 MB, free: 11.33 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.0007098/0.4602, allocations: 0.5104 MB / 487.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4602, allocations: 12.03 kB / 487.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.4603, allocations: 31.62 kB / 487.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.4608, allocations: 351.7 kB / 487.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4609, allocations: 4 kB / 487.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.4609, allocations: 15.98 kB / 487.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001564/0.4611, allocations: 72.3 kB / 487.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.4613, allocations: 198.2 kB / 488.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4614, allocations: 0 / 488.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.4614, allocations: 7.938 kB / 488.1 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.4614, allocations: 4 kB / 488.1 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.4622, allocations: 469.4 kB / 488.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.4624, allocations: 146.5 kB / 488.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.4625, allocations: 52.84 kB / 488.7 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.4625, allocations: 0 / 488.7 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4626, allocations: 38.56 kB / 488.8 MB, free: 9.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.4626, allocations: 0 / 488.8 MB, free: 9.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000273/0.4629, allocations: 150.2 kB / 488.9 MB, free: 9.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.463, allocations: 290.7 kB / 489.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.4632, allocations: 237.1 kB / 489.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.4632, allocations: 25.7 kB / 489.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.4634, allocations: 152.5 kB / 489.6 MB, free: 8.324 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.4634, allocations: 47.27 kB / 489.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.4634, allocations: 3.938 kB / 489.6 MB, free: 8.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4635, allocations: 342.8 kB / 490 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.4637, allocations: 83.97 kB / 490.1 MB, free: 7.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.4638, allocations: 168.9 kB / 490.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.4641, allocations: 107.9 kB / 490.3 MB, free: 7.547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4641, allocations: 0 / 490.3 MB, free: 7.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004074/0.4645, allocations: 269.2 kB / 490.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4645, allocations: 8 kB / 490.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.4646, allocations: 7.984 kB / 490.6 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4646, allocations: 4 kB / 490.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.4648, allocations: 47.97 kB / 490.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4649, allocations: 7.938 kB / 490.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.465, allocations: 19.77 kB / 490.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.465, allocations: 12 kB / 490.7 MB, free: 7.172 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 7.659e-05/0.4651, allocations: 112.9 kB / 490.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002136/0.4653, allocations: 153.2 kB / 491 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.4654, allocations: 23.72 kB / 491 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.4654, allocations: 30.09 kB / 491 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4654, allocations: 112 / 491 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4654, allocations: 3.938 kB / 491 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4655, allocations: 4 kB / 491 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.4657, allocations: 241.9 kB / 491.3 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4657, allocations: 0 / 491.3 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.4659, allocations: 23.98 kB / 491.3 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4659, allocations: 8 kB / 491.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4659, allocations: 0 / 491.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4659, allocations: 4 kB / 491.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4659, allocations: 0 / 491.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.4663, allocations: 316.9 kB / 491.6 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.4663, allocations: 96.83 kB / 491.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.4664, allocations: 4 kB / 491.7 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.4665, allocations: 7.984 kB / 491.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.4666, allocations: 12.05 kB / 491.7 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.4666, allocations: 8 kB / 491.7 MB, free: 6.059 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.4667, allocations: 176.6 kB / 491.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4667, allocations: 0 / 491.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003812/0.4671, allocations: 79.88 kB / 492 MB, free: 5.805 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.000745/0.4679, allocations: 0.9038 MB / 492.9 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.4682, allocations: 257.5 kB / 493.1 MB, free: 4.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4682, allocations: 0 / 493.1 MB, free: 4.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.4683, allocations: 60.02 kB / 493.2 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.4687, allocations: 58 kB / 493.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.4698, allocations: 0.5345 MB / 493.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.4701, allocations: 0.7755 MB / 494.6 MB, free: 3.117 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.4702, allocations: 46.05 kB / 494.6 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4704, allocations: 79.42 kB / 494.7 MB, free: 2.996 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4704, allocations: 0 / 494.7 MB, free: 2.996 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.4946, allocations: 5.609 MB / 0.4886 GB, free: 13.43 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.4948, allocations: 129.3 kB / 0.4887 GB, free: 13.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.537, allocations: 0 / 0.4887 GB, free: 13.23 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