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.001465/0.001465, allocations: 177.1 kB / 8.35 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.437/1.437, allocations: 221.5 MB / 230.3 MB, free: 7.52 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.0008921/0.0008922, allocations: 92.2 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.375e-05, allocations: 4 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.129, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.5114, allocations: 89.61 MB / 477.2 MB, free: 5.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004625/0.5119, allocations: 67.97 kB / 477.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1107/0.6227, allocations: 35.57 MB / 0.5008 GB, free: 1.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.931e-06/0.6227, allocations: 0 / 0.5008 GB, free: 1.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.278e-05/0.6229, allocations: 19.88 kB / 0.5008 GB, free: 1.375 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.003194/0.6261, allocations: 0.823 MB / 0.5016 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.6261, allocations: 8.031 kB / 0.5016 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.6265, allocations: 47.44 kB / 0.5016 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.628, allocations: 447.1 kB / 0.5021 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.628, allocations: 4 kB / 0.5021 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.6282, allocations: 27.86 kB / 0.5021 GB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004705/0.6287, allocations: 128.5 kB / 0.5022 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.6293, allocations: 298.3 kB / 0.5025 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.6294, allocations: 0 / 0.5025 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.6294, allocations: 4 kB / 0.5025 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.6295, allocations: 4 kB / 0.5025 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.6315, allocations: 0.6265 MB / 0.5031 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.6326, allocations: 304.5 kB / 0.5034 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.6328, allocations: 93.2 kB / 0.5035 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.6329, allocations: 192 / 0.5035 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.6329, allocations: 38.8 kB / 0.5035 GB, free: 14.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.145e-06/0.633, allocations: 0 / 0.5035 GB, free: 14.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.000806/0.6338, allocations: 271.7 kB / 0.5038 GB, free: 14.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/0.634, allocations: 367.8 kB / 0.5042 GB, free: 13.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/0.6347, allocations: 341.1 kB / 0.5045 GB, free: 13.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.6347, allocations: 29.7 kB / 0.5045 GB, free: 13.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.635, allocations: 189.1 kB / 0.5047 GB, free: 13.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.6351, allocations: 82.72 kB / 0.5048 GB, free: 12.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.6352, allocations: 0 / 0.5048 GB, free: 12.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.6354, allocations: 354.8 kB / 0.5051 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.636, allocations: 184.5 kB / 0.5053 GB, free: 12.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.6366, allocations: 290.4 kB / 0.5056 GB, free: 12.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007895/0.6374, allocations: 221.4 kB / 0.5058 GB, free: 11.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6374, allocations: 4 kB / 0.5058 GB, free: 11.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001926/0.6393, allocations: 0.595 MB / 0.5064 GB, free: 11.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.6394, allocations: 4 kB / 0.5064 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.726e-05/0.6395, allocations: 19.92 kB / 0.5064 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.64, allocations: 114.5 kB / 0.5065 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.6405, allocations: 63.95 kB / 0.5065 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6406, allocations: 3.938 kB / 0.5066 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.6409, allocations: 51.34 kB / 0.5066 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.796e-05/0.641, allocations: 16 kB / 0.5066 GB, free: 11.02 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.0001731/0.6412, allocations: 105 kB / 0.5067 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006152/0.6418, allocations: 271.4 kB / 0.507 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.882e-05/0.6419, allocations: 39.53 kB / 0.507 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.6421, allocations: 43.53 kB / 0.5071 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.6421, allocations: 4 kB / 0.5071 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6421, allocations: 0 / 0.5071 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.6421, allocations: 3.984 kB / 0.5071 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.6427, allocations: 305.8 kB / 0.5074 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6427, allocations: 0 / 0.5074 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.6432, allocations: 47.91 kB / 0.5074 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.6432, allocations: 4 kB / 0.5074 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.6432, allocations: 7.984 kB / 0.5074 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.6432, allocations: 4 kB / 0.5074 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6432, allocations: 4 kB / 0.5074 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.6441, allocations: 486.9 kB / 0.5079 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.6443, allocations: 116.5 kB / 0.508 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.6446, allocations: 8 kB / 0.508 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.6449, allocations: 7.984 kB / 0.508 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.645, allocations: 11.98 kB / 0.508 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.645, allocations: 8 kB / 0.508 GB, free: 9.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003988/0.6454, allocations: 254.9 kB / 0.5083 GB, free: 9.238 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6454, allocations: 0 / 0.5083 GB, free: 9.238 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003006/0.6484, allocations: 0.6716 MB / 0.5089 GB, free: 8.566 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.003832/0.6523, allocations: 1.628 MB / 0.5105 GB, free: 6.918 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.6538, allocations: 0.834 MB / 0.5113 GB, free: 5.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6539, allocations: 0 / 0.5113 GB, free: 5.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.6542, allocations: 111.9 kB / 0.5114 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.6549, allocations: 87.77 kB / 0.5115 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.658, allocations: 1.035 MB / 0.5125 GB, free: 4.707 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.6587, allocations: 0.8458 MB / 0.5134 GB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003459/0.659, allocations: 75.2 kB / 0.5134 GB, free: 3.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.6593, allocations: 131.4 kB / 0.5136 GB, free: 3.633 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6593, allocations: 0 / 0.5136 GB, free: 3.633 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.6986, allocations: 15.9 MB / 0.5291 GB, free: 3.773 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.6989, allocations: 154.8 kB / 0.5292 GB, free: 3.574 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.059, allocations: 0 / 0.5292 GB, free: 3.574 MB / 410.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