Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009662/0.0009665, allocations: 173 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007529/0.0007528, allocations: 90.67 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.428e-05/2.44e-05, allocations: 4 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07548/0.07552, allocations: 47.57 MB / 370.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2786/0.3542, allocations: 89.48 MB / 459.6 MB, free: 4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001569/0.3544, allocations: 69.91 kB / 459.7 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09768/0.452, allocations: 35.51 MB / 495.2 MB, free: 1.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4521, allocations: 0 / 495.2 MB, free: 1.699 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.702e-05/0.4521, allocations: 19.94 kB / 495.2 MB, free: 1.68 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001596/0.4537, allocations: 0.8138 MB / 496 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.4538, allocations: 12.03 kB / 496 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.4538, allocations: 46.55 kB / 496.1 MB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.92e-05/0.4539, allocations: 47.44 kB / 496.1 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.4546, allocations: 452.8 kB / 496.6 MB, free: 224 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4547, allocations: 12.28 kB / 496.6 MB, free: 212 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.4547, allocations: 27.91 kB / 496.6 MB, free: 184 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.4552, allocations: 322.6 kB / 496.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4552, allocations: 0 / 496.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.4552, allocations: 12 kB / 496.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4552, allocations: 0 / 496.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.4555, allocations: 140.7 kB / 497.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.4566, allocations: 0.6875 MB / 497.7 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.4571, allocations: 311.2 kB / 498.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.4573, allocations: 101.6 kB / 498.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.4573, allocations: 4.188 kB / 498.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.4573, allocations: 38.69 kB / 498.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.4574, allocations: 4 kB / 498.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004481/0.4578, allocations: 287.5 kB / 498.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.458, allocations: 363.8 kB / 498.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.4583, allocations: 351 kB / 499.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.4584, allocations: 37.7 kB / 499.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.4585, allocations: 192.9 kB / 499.4 MB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.4586, allocations: 90.64 kB / 499.5 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.4586, allocations: 8 kB / 499.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4587, allocations: 358.8 kB / 499.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.459, allocations: 192.3 kB / 0.4883 GB, free: 12.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.4594, allocations: 298.4 kB / 0.4886 GB, free: 12.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.4597, allocations: 229.1 kB / 0.4888 GB, free: 11.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4597, allocations: 3.953 kB / 0.4888 GB, free: 11.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009731/0.4607, allocations: 0.6108 MB / 0.4894 GB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4607, allocations: 8 kB / 0.4894 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.428e-05/0.4607, allocations: 11.98 kB / 0.4894 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/0.4612, allocations: 130.4 kB / 0.4896 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.4614, allocations: 63.97 kB / 0.4896 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.4644, allocations: 4.228 MB / 0.4938 GB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.4646, allocations: 47.55 kB / 0.4938 GB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.4647, allocations: 12 kB / 0.4938 GB, free: 6.398 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 () * 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.0001112/0.4648, allocations: 128.9 kB / 0.4939 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.4649, allocations: 39.44 kB / 0.494 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.679e-05/0.465, allocations: 47.48 kB / 0.494 GB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.465, allocations: 12.08 kB / 0.494 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.465, allocations: 0 / 0.494 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.465, allocations: 0 / 0.494 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.4654, allocations: 341.4 kB / 0.4944 GB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4654, allocations: 0 / 0.4944 GB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.4657, allocations: 43.97 kB / 0.4944 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4657, allocations: 3.984 kB / 0.4944 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.4657, allocations: 15.92 kB / 0.4944 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.4657, allocations: 7.953 kB / 0.4944 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4657, allocations: 0 / 0.4944 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.4663, allocations: 490.7 kB / 0.4949 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-05/0.4664, allocations: 112.6 kB / 0.495 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.4664, allocations: 12 kB / 0.495 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.4666, allocations: 20.05 kB / 0.495 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.4667, allocations: 15.92 kB / 0.495 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.4667, allocations: 8 kB / 0.495 GB, free: 5.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002767/0.467, allocations: 265.2 kB / 0.4953 GB, free: 4.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.467, allocations: 4 kB / 0.4953 GB, free: 4.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001948/0.4689, allocations: 0.6911 MB / 0.496 GB, free: 4.078 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 () * 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.002286/0.4712, allocations: 1.645 MB / 0.4976 GB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.4724, allocations: 0.9293 MB / 0.4985 GB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4724, allocations: 0 / 0.4985 GB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.4726, allocations: 115.9 kB / 0.4986 GB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.4731, allocations: 98.3 kB / 0.4987 GB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.4749, allocations: 1.059 MB / 0.4997 GB, free: 100 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.4754, allocations: 0.8497 MB / 0.5006 GB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001941/0.4756, allocations: 62.94 kB / 0.5006 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.4758, allocations: 131.4 kB / 0.5007 GB, free: 15.03 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4758, allocations: 0 / 0.5007 GB, free: 15.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.5086, allocations: 18.75 MB / 0.5191 GB, free: 12.25 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.5088, allocations: 194.9 kB / 0.5192 GB, free: 12.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/2.806, allocations: 3.938 kB / 0.5193 GB, free: 12.01 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat