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.001807/0.001807, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.453/1.453, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009329/0.0009326, allocations: 93.97 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002818, allocations: 4 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2653, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.3876, allocations: 90.07 MB / 491.6 MB, free: 6.348 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.3879, allocations: 67.97 kB / 491.7 MB, free: 6.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02921/0.4172, allocations: 10.02 MB / 0.49 GB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4172, allocations: 0 / 0.49 GB, free: 12.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.06e-05/0.4173, allocations: 12 kB / 0.49 GB, free: 12.25 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.001181/0.4185, allocations: 0.5722 MB / 0.4905 GB, free: 11.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4185, allocations: 8.031 kB / 0.4905 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.474e-05/0.4186, allocations: 46.55 kB / 0.4906 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.4187, allocations: 31.62 kB / 0.4906 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.4194, allocations: 346.9 kB / 0.4909 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.4194, allocations: 16.16 kB / 0.491 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.4195, allocations: 24 kB / 0.491 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.4199, allocations: 225.5 kB / 0.4912 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4199, allocations: 0 / 0.4912 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.4199, allocations: 4 kB / 0.4912 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.4199, allocations: 4 kB / 0.4912 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.4201, allocations: 88.44 kB / 0.4913 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009314/0.4211, allocations: 0.4973 MB / 0.4918 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.4214, allocations: 166.4 kB / 0.4919 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.4214, allocations: 8 kB / 0.4919 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.4215, allocations: 34.56 kB / 0.492 GB, free: 9.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.4215, allocations: 0 / 0.492 GB, free: 9.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005241/0.422, allocations: 230.5 kB / 0.4922 GB, free: 9.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/0.4222, allocations: 286.7 kB / 0.4925 GB, free: 9.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.4225, allocations: 255.7 kB / 0.4927 GB, free: 9.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.4225, allocations: 25.7 kB / 0.4927 GB, free: 9.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4227, allocations: 156.6 kB / 0.4929 GB, free: 8.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.4227, allocations: 47.23 kB / 0.4929 GB, free: 8.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.4228, allocations: 11.98 kB / 0.4929 GB, free: 8.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4229, allocations: 338.8 kB / 0.4933 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.4231, allocations: 95.94 kB / 0.4934 GB, free: 8.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.4233, allocations: 172.9 kB / 0.4935 GB, free: 8.273 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.4236, allocations: 135.5 kB / 0.4936 GB, free: 8.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4236, allocations: 0 / 0.4936 GB, free: 8.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004984/0.4241, allocations: 297.2 kB / 0.4939 GB, free: 7.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4241, allocations: 4 kB / 0.4939 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/0.4242, allocations: 7.984 kB / 0.4939 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4242, allocations: 0 / 0.4939 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.4245, allocations: 55.91 kB / 0.494 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4245, allocations: 0 / 0.494 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.4246, allocations: 23.73 kB / 0.494 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.4247, allocations: 16 kB / 0.494 GB, free: 7.742 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.0001546/0.4248, allocations: 149.7 kB / 0.4942 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.4249, allocations: 27.7 kB / 0.4942 GB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.425, allocations: 25.98 kB / 0.4942 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.425, allocations: 4 kB / 0.4942 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.425, allocations: 0 / 0.4942 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.425, allocations: 3.984 kB / 0.4942 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.4254, allocations: 273.3 kB / 0.4945 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4254, allocations: 0 / 0.4945 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.4256, allocations: 27.98 kB / 0.4945 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.4256, allocations: 4 kB / 0.4945 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.4256, allocations: 7.984 kB / 0.4945 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4256, allocations: 0 / 0.4945 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4256, allocations: 0 / 0.4945 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.4261, allocations: 353.1 kB / 0.4949 GB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.4262, allocations: 100.8 kB / 0.495 GB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.4263, allocations: 7.938 kB / 0.495 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.4264, allocations: 12.05 kB / 0.495 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.4265, allocations: 7.984 kB / 0.495 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4265, allocations: 4 kB / 0.495 GB, free: 6.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.4267, allocations: 195.1 kB / 0.4952 GB, free: 6.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.743e-06/0.4267, allocations: 0 / 0.4952 GB, free: 6.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.4272, allocations: 95.81 kB / 0.4953 GB, free: 6.375 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.00102/0.4282, allocations: 0.9228 MB / 0.4962 GB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.4287, allocations: 285 kB / 0.4964 GB, free: 5.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4287, allocations: 0 / 0.4964 GB, free: 5.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.4289, allocations: 71.89 kB / 0.4965 GB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.4293, allocations: 62.7 kB / 0.4966 GB, free: 5.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4309, allocations: 0.9071 MB / 0.4975 GB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.4315, allocations: 0.7794 MB / 0.4982 GB, free: 3.242 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.4316, allocations: 42.17 kB / 0.4983 GB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.4318, allocations: 83.41 kB / 0.4983 GB, free: 3.121 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4318, allocations: 0 / 0.4983 GB, free: 3.121 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2215/0.6533, allocations: 5.984 MB / 0.5042 GB, free: 96.29 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.6535, allocations: 168.9 kB / 0.5043 GB, free: 96.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.761, allocations: 0 / 0.5043 GB, free: 96.06 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