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.001185/0.001185, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008543/0.0008542, allocations: 97.09 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002364/0.0002363, allocations: 8 kB / 358 MB, free: 9.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1798, allocations: 51.48 MB / 409.5 MB, free: 26.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0954/0.2753, allocations: 91.15 MB / 0.4889 GB, free: 15.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.2755, allocations: 73.53 kB / 0.489 GB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2412/0.5167, allocations: 35.89 MB / 0.524 GB, free: 86.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5168, allocations: 0.75 kB / 0.524 GB, free: 86.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.516e-05/0.5168, allocations: 21.47 kB / 0.524 GB, free: 86.45 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.001961/0.5188, allocations: 0.8956 MB / 0.5249 GB, free: 85.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.5189, allocations: 10.72 kB / 0.5249 GB, free: 85.83 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.121e-05/0.5189, allocations: 50.27 kB / 0.525 GB, free: 85.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.519, allocations: 47.09 kB / 0.525 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.5197, allocations: 460.5 kB / 0.5255 GB, free: 85.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.5198, allocations: 12.28 kB / 0.5255 GB, free: 85.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.5198, allocations: 31.94 kB / 0.5255 GB, free: 85.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.5202, allocations: 331.6 kB / 0.5258 GB, free: 84.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5202, allocations: 4 kB / 0.5258 GB, free: 84.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.5203, allocations: 8 kB / 0.5258 GB, free: 84.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.5203, allocations: 4 kB / 0.5258 GB, free: 84.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.5205, allocations: 152 kB / 0.526 GB, free: 84.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.5215, allocations: 0.6853 MB / 0.5266 GB, free: 84.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.522, allocations: 321.9 kB / 0.5269 GB, free: 83.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.5221, allocations: 4.188 kB / 0.527 GB, free: 83.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.5221, allocations: 47 kB / 0.527 GB, free: 83.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/0.5221, allocations: 0 / 0.527 GB, free: 83.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005629/0.5227, allocations: 387.8 kB / 0.5274 GB, free: 83.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.5227, allocations: 363.8 kB / 0.5277 GB, free: 83.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.523, allocations: 359 kB / 0.5281 GB, free: 82.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.5231, allocations: 37.7 kB / 0.5281 GB, free: 82.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.5231, allocations: 203.5 kB / 0.5283 GB, free: 82.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.5232, allocations: 77.64 kB / 0.5284 GB, free: 82.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.5232, allocations: 4 kB / 0.5284 GB, free: 82.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.5233, allocations: 357.3 kB / 0.5287 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.5235, allocations: 194.6 kB / 0.5289 GB, free: 81.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.5238, allocations: 315.9 kB / 0.5292 GB, free: 81.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.5242, allocations: 240.9 kB / 0.5294 GB, free: 81.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5242, allocations: 0 / 0.5294 GB, free: 81.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008591/0.525, allocations: 0.6357 MB / 0.53 GB, free: 80.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5251, allocations: 8 kB / 0.53 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.5251, allocations: 11.61 kB / 0.5301 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.5255, allocations: 133 kB / 0.5302 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.5257, allocations: 59.44 kB / 0.5302 GB, free: 80.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.5279, allocations: 4.263 MB / 0.5344 GB, free: 76.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.5281, allocations: 46.56 kB / 0.5345 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.5282, allocations: 23.92 kB / 0.5345 GB, free: 76.18 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.0001519/0.5283, allocations: 175.3 kB / 0.5346 GB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.5284, allocations: 35.53 kB / 0.5347 GB, free: 75.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.135e-05/0.5284, allocations: 51.03 kB / 0.5347 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5285, allocations: 4 kB / 0.5347 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.5285, allocations: 0 / 0.5347 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5285, allocations: 3.953 kB / 0.5347 GB, free: 75.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.5287, allocations: 346 kB / 0.5351 GB, free: 75.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5288, allocations: 4 kB / 0.5351 GB, free: 75.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.529, allocations: 42.88 kB / 0.5351 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.529, allocations: 3.938 kB / 0.5351 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.5291, allocations: 11.28 kB / 0.5351 GB, free: 75.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.5291, allocations: 4 kB / 0.5351 GB, free: 75.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5291, allocations: 4 kB / 0.5351 GB, free: 75.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.5296, allocations: 0.5116 MB / 0.5356 GB, free: 75.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.5297, allocations: 112.5 kB / 0.5357 GB, free: 74.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.5297, allocations: 15.52 kB / 0.5358 GB, free: 74.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.5299, allocations: 15.09 kB / 0.5358 GB, free: 74.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.5299, allocations: 15.66 kB / 0.5358 GB, free: 74.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.53, allocations: 4 kB / 0.5358 GB, free: 74.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.5302, allocations: 279.4 kB / 0.536 GB, free: 74.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5302, allocations: 0 / 0.536 GB, free: 74.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001733/0.5319, allocations: 0.6951 MB / 0.5367 GB, free: 73.96 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.002448/0.5344, allocations: 1.666 MB / 0.5384 GB, free: 72.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009683/0.5353, allocations: 0.9529 MB / 0.5393 GB, free: 71.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5354, allocations: 0 / 0.5393 GB, free: 71.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.5355, allocations: 122.5 kB / 0.5394 GB, free: 71.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.5359, allocations: 91.38 kB / 0.5395 GB, free: 71.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.5379, allocations: 1.552 MB / 0.541 GB, free: 69.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.5381, allocations: 0.8497 MB / 0.5418 GB, free: 68.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.5383, allocations: 58.92 kB / 0.5419 GB, free: 68.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.5384, allocations: 135.4 kB / 0.542 GB, free: 68.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5384, allocations: 0 / 0.542 GB, free: 68.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.5682, allocations: 16.29 MB / 0.5579 GB, free: 52.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.5684, allocations: 215.5 kB / 0.5581 GB, free: 51.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.821, allocations: 3.938 kB / 0.5581 GB, free: 51.95 MB / 378.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