Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.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.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009049/0.000905, allocations: 92.44 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.793e-05, allocations: 4 kB / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 51.47 MB / 395.2 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/0.4699, allocations: 90.42 MB / 485.7 MB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4702, allocations: 68.3 kB / 485.7 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09696/0.5672, allocations: 35.69 MB / 0.5092 GB, free: 3.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5672, allocations: 0 / 0.5092 GB, free: 3.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.973e-05/0.5673, allocations: 15.94 kB / 0.5092 GB, free: 3.656 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001999/0.5693, allocations: 0.8256 MB / 0.51 GB, free: 2.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5693, allocations: 8.031 kB / 0.51 GB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.5695, allocations: 52.3 kB / 0.5101 GB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/0.5702, allocations: 450.7 kB / 0.5105 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5702, allocations: 4 kB / 0.5105 GB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.5703, allocations: 23.47 kB / 0.5105 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002271/0.5705, allocations: 123.1 kB / 0.5107 GB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.5708, allocations: 302.4 kB / 0.5109 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5709, allocations: 3.375 kB / 0.5109 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.5709, allocations: 4 kB / 0.511 GB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.5709, allocations: 4 kB / 0.511 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.5719, allocations: 0.6296 MB / 0.5116 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.5724, allocations: 298.8 kB / 0.5119 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.5726, allocations: 99.45 kB / 0.5119 GB, free: 1.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.5726, allocations: 4.188 kB / 0.512 GB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.5726, allocations: 42.42 kB / 0.512 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.5726, allocations: 4.375 kB / 0.512 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004295/0.5731, allocations: 269.6 kB / 0.5123 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.5733, allocations: 363.8 kB / 0.5126 GB, free: 328 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.5736, allocations: 339.7 kB / 0.5129 GB, free: 12 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.5736, allocations: 25.7 kB / 0.513 GB, free: 15.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.5738, allocations: 189.1 kB / 0.5131 GB, free: 15.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.5738, allocations: 86.72 kB / 0.5132 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.5739, allocations: 4 kB / 0.5132 GB, free: 15.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.574, allocations: 354.8 kB / 0.5136 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.5743, allocations: 180.5 kB / 0.5137 GB, free: 15.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.5746, allocations: 286.4 kB / 0.514 GB, free: 14.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.575, allocations: 221.4 kB / 0.5142 GB, free: 14.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.575, allocations: 0 / 0.5142 GB, free: 14.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001014/0.5761, allocations: 0.5983 MB / 0.5148 GB, free: 14.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.5761, allocations: 4 kB / 0.5148 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/0.5761, allocations: 15.98 kB / 0.5148 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.5765, allocations: 118.5 kB / 0.5149 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.5768, allocations: 67.89 kB / 0.515 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.5768, allocations: 0 / 0.515 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.577, allocations: 43.42 kB / 0.515 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.5771, allocations: 15.95 kB / 0.5151 GB, free: 13.76 MB / 394.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.5772, allocations: 116.9 kB / 0.5152 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000358/0.5775, allocations: 261 kB / 0.5154 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.5776, allocations: 35.53 kB / 0.5154 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.154e-05/0.5777, allocations: 39.53 kB / 0.5155 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5777, allocations: 7.953 kB / 0.5155 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5777, allocations: 0.9375 kB / 0.5155 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5777, allocations: 3.984 kB / 0.5155 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.5781, allocations: 309.8 kB / 0.5158 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5781, allocations: 4 kB / 0.5158 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.5784, allocations: 47.97 kB / 0.5158 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5784, allocations: 0 / 0.5158 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.5784, allocations: 7.984 kB / 0.5158 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5784, allocations: 4 kB / 0.5159 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5785, allocations: 3.938 kB / 0.5159 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/0.579, allocations: 489.5 kB / 0.5163 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.5791, allocations: 118.4 kB / 0.5164 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.5792, allocations: 11.98 kB / 0.5164 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.5794, allocations: 11.98 kB / 0.5165 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.5794, allocations: 7.984 kB / 0.5165 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.5794, allocations: 11.95 kB / 0.5165 GB, free: 12.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002245/0.5797, allocations: 250.9 kB / 0.5167 GB, free: 11.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5797, allocations: 4 kB / 0.5167 GB, free: 11.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002234/0.5819, allocations: 0.6716 MB / 0.5174 GB, free: 11.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.002438/0.5844, allocations: 1.634 MB / 0.519 GB, free: 9.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.5854, allocations: 0.8288 MB / 0.5198 GB, free: 8.711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.5854, allocations: 4 kB / 0.5198 GB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.5856, allocations: 107.9 kB / 0.5199 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.5862, allocations: 100.3 kB / 0.52 GB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.588, allocations: 1.033 MB / 0.521 GB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.5884, allocations: 0.8497 MB / 0.5218 GB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.5886, allocations: 67.23 kB / 0.5219 GB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.5888, allocations: 127.4 kB / 0.522 GB, free: 6.371 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5888, allocations: 3.938 kB / 0.522 GB, free: 6.367 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04261/0.6314, allocations: 16.01 MB / 0.5376 GB, free: 6.445 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.6317, allocations: 152.6 kB / 0.5378 GB, free: 6.246 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/3.011, allocations: 0 / 0.5378 GB, free: 6.246 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat