Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.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.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",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.00163/0.00163, allocations: 180.2 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.465/1.465, 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.0009726/0.0009725, allocations: 90.56 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002638, allocations: 4 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2801, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.3925, allocations: 90.35 MB / 491.9 MB, free: 6.082 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.3928, allocations: 71.97 kB / 492 MB, free: 6.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3235/0.7163, allocations: 35.76 MB / 0.5154 GB, free: 88.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.7164, allocations: 0 / 0.5154 GB, free: 88.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.655e-05/0.7164, allocations: 19.16 kB / 0.5154 GB, free: 88.41 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.00248/0.7189, allocations: 0.8918 MB / 0.5163 GB, free: 87.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.719, allocations: 11.25 kB / 0.5163 GB, free: 87.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.7191, allocations: 46.02 kB / 0.5163 GB, free: 87.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.7193, allocations: 45.78 kB / 0.5164 GB, free: 87.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.7201, allocations: 451.2 kB / 0.5168 GB, free: 87.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.7202, allocations: 12.47 kB / 0.5168 GB, free: 87.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.429e-05/0.7203, allocations: 23 kB / 0.5168 GB, free: 87.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.7208, allocations: 337.3 kB / 0.5172 GB, free: 87.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.7208, allocations: 3.938 kB / 0.5172 GB, free: 87.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.7208, allocations: 15.5 kB / 0.5172 GB, free: 87.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.7209, allocations: 3.75 kB / 0.5172 GB, free: 87.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.7211, allocations: 153 kB / 0.5173 GB, free: 87.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.7224, allocations: 0.6879 MB / 0.518 GB, free: 86.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.723, allocations: 330.6 kB / 0.5183 GB, free: 86.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.723, allocations: 4.312 kB / 0.5183 GB, free: 86.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.7231, allocations: 34.69 kB / 0.5183 GB, free: 86.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.7231, allocations: 0 / 0.5183 GB, free: 86.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.000675/0.7238, allocations: 393.4 kB / 0.5187 GB, free: 86.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.152e-05/0.7239, allocations: 367.3 kB / 0.5191 GB, free: 86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.7242, allocations: 356.3 kB / 0.5194 GB, free: 85.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.7242, allocations: 36.64 kB / 0.5194 GB, free: 85.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.7244, allocations: 195.5 kB / 0.5196 GB, free: 85.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.7244, allocations: 81.2 kB / 0.5197 GB, free: 85.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.7245, allocations: 7.969 kB / 0.5197 GB, free: 85.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.7245, allocations: 361.1 kB / 0.5201 GB, free: 85.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.7248, allocations: 192.2 kB / 0.5202 GB, free: 85.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.7251, allocations: 314.8 kB / 0.5205 GB, free: 84.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.7255, allocations: 238.3 kB / 0.5208 GB, free: 84.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7255, allocations: 0 / 0.5208 GB, free: 84.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009342/0.7264, allocations: 0.6389 MB / 0.5214 GB, free: 84.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.7264, allocations: 3.75 kB / 0.5214 GB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/0.7265, allocations: 15.33 kB / 0.5214 GB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.7269, allocations: 133.5 kB / 0.5215 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.7272, allocations: 63.25 kB / 0.5216 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.7296, allocations: 4.254 MB / 0.5258 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.7299, allocations: 46.69 kB / 0.5258 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.7299, allocations: 19.19 kB / 0.5258 GB, free: 80.54 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 (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): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.7301, allocations: 183 kB / 0.526 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.7302, allocations: 37.5 kB / 0.526 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.584e-05/0.7303, allocations: 43.2 kB / 0.5261 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7303, allocations: 3.75 kB / 0.5261 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7303, allocations: 0 / 0.5261 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.7303, allocations: 7.875 kB / 0.5261 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.7306, allocations: 354 kB / 0.5264 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7306, allocations: 0 / 0.5264 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.7309, allocations: 45.03 kB / 0.5265 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.7309, allocations: 3.75 kB / 0.5265 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.731, allocations: 10.59 kB / 0.5265 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.731, allocations: 3.75 kB / 0.5265 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.731, allocations: 0 / 0.5265 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.7315, allocations: 0.509 MB / 0.527 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.7316, allocations: 112.1 kB / 0.5271 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.7317, allocations: 18.97 kB / 0.5271 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.7319, allocations: 14.84 kB / 0.5271 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.7319, allocations: 18.98 kB / 0.5271 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.7319, allocations: 3.75 kB / 0.5271 GB, free: 79.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002175/0.7322, allocations: 270.9 kB / 0.5274 GB, free: 79.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7322, allocations: 3.688 kB / 0.5274 GB, free: 79.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002109/0.7343, allocations: 0.6896 MB / 0.5281 GB, free: 79.48 MB / 378.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 () * Number of clocked 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.002931/0.7372, allocations: 1.649 MB / 0.5297 GB, free: 78.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.7384, allocations: 0.9511 MB / 0.5306 GB, free: 77.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7384, allocations: 4.047 kB / 0.5306 GB, free: 77.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.7386, allocations: 119.3 kB / 0.5307 GB, free: 77.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.7391, allocations: 96.33 kB / 0.5308 GB, free: 77.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.7415, allocations: 1.524 MB / 0.5323 GB, free: 75.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.7418, allocations: 0.8472 MB / 0.5331 GB, free: 75.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000219/0.742, allocations: 78.09 kB / 0.5332 GB, free: 75.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.7422, allocations: 135 kB / 0.5333 GB, free: 75.02 MB / 378.7 MB Notification: Performance of SimCode: time 4.5e-07/0.7422, allocations: 3.938 kB / 0.5333 GB, free: 75.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/0.7792, allocations: 16.18 MB / 0.5491 GB, free: 63.6 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.7795, allocations: 218.8 kB / 0.5494 GB, free: 63.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.245, allocations: 0 / 0.5494 GB, free: 63.36 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat