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.001065/0.001065, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.439/1.439, allocations: 221.3 MB / 235.5 MB, free: 2.965 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.0008227/0.0008225, allocations: 95.28 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.027e-05, allocations: 4 kB / 343.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 50.41 MB / 394.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3649/0.477, allocations: 90.29 MB / 484.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4773, allocations: 67.97 kB / 484.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09898/0.5763, allocations: 35.68 MB / 0.5082 GB, free: 9.402 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5763, allocations: 0 / 0.5082 GB, free: 9.402 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.682e-05/0.5764, allocations: 24.06 kB / 0.5082 GB, free: 9.379 MB / 394.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.001954/0.5783, allocations: 0.8136 MB / 0.509 GB, free: 8.516 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.5784, allocations: 16.03 kB / 0.509 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.366e-05/0.5785, allocations: 50.48 kB / 0.509 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.593e-05/0.5786, allocations: 47.44 kB / 0.5091 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/0.5794, allocations: 444.9 kB / 0.5095 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.5794, allocations: 16.23 kB / 0.5095 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.5795, allocations: 27.91 kB / 0.5096 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.5799, allocations: 320 kB / 0.5099 GB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.58, allocations: 7.938 kB / 0.5099 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.58, allocations: 11.98 kB / 0.5099 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.58, allocations: 4 kB / 0.5099 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.5802, allocations: 136.7 kB / 0.51 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.5814, allocations: 0.6758 MB / 0.5107 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.582, allocations: 312.5 kB / 0.511 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.5822, allocations: 97.3 kB / 0.5111 GB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.5822, allocations: 8.125 kB / 0.5111 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.5823, allocations: 38.75 kB / 0.5111 GB, free: 6.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.5823, allocations: 0 / 0.5111 GB, free: 6.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005065/0.5828, allocations: 283.8 kB / 0.5114 GB, free: 5.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/0.583, allocations: 367.8 kB / 0.5117 GB, free: 5.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.5834, allocations: 355 kB / 0.5121 GB, free: 5.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.5834, allocations: 37.7 kB / 0.5121 GB, free: 5.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.5836, allocations: 200.8 kB / 0.5123 GB, free: 4.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.5837, allocations: 82.72 kB / 0.5124 GB, free: 4.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.5837, allocations: 8 kB / 0.5124 GB, free: 4.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5839, allocations: 354.8 kB / 0.5127 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.5842, allocations: 184.5 kB / 0.5129 GB, free: 4.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.5846, allocations: 294.4 kB / 0.5132 GB, free: 3.875 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.5849, allocations: 230.5 kB / 0.5134 GB, free: 3.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5849, allocations: 4 kB / 0.5134 GB, free: 3.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001003/0.5859, allocations: 0.6184 MB / 0.514 GB, free: 3.012 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5859, allocations: 12 kB / 0.514 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/0.586, allocations: 7.984 kB / 0.514 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.5864, allocations: 126.5 kB / 0.5141 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.5867, allocations: 71.89 kB / 0.5142 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.59, allocations: 4.212 MB / 0.5183 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.5902, allocations: 51.5 kB / 0.5184 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.5903, allocations: 12 kB / 0.5184 GB, free: 14.11 MB / 410.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.0001386/0.5904, allocations: 129 kB / 0.5185 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.5905, allocations: 39.53 kB / 0.5185 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.5906, allocations: 43.53 kB / 0.5186 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5906, allocations: 4 kB / 0.5186 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5907, allocations: 0 / 0.5186 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5907, allocations: 0 / 0.5186 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.5911, allocations: 357.2 kB / 0.5189 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5911, allocations: 0 / 0.5189 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.5914, allocations: 43.92 kB / 0.519 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5914, allocations: 4 kB / 0.519 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.5914, allocations: 15.92 kB / 0.519 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5914, allocations: 0 / 0.519 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5914, allocations: 7.984 kB / 0.519 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.5921, allocations: 0.4979 MB / 0.5195 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.693e-05/0.5922, allocations: 108.6 kB / 0.5196 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.5922, allocations: 12 kB / 0.5196 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.5924, allocations: 15.98 kB / 0.5196 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.5924, allocations: 15.97 kB / 0.5196 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.5925, allocations: 8 kB / 0.5196 GB, free: 12.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002892/0.5928, allocations: 265.2 kB / 0.5199 GB, free: 12.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5928, allocations: 0 / 0.5199 GB, free: 12.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002251/0.595, allocations: 0.6872 MB / 0.5206 GB, free: 11.8 MB / 410.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.002447/0.5975, allocations: 1.656 MB / 0.5222 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.5988, allocations: 0.9226 MB / 0.5231 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5988, allocations: 3.938 kB / 0.5231 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.599, allocations: 118.9 kB / 0.5232 GB, free: 9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.5995, allocations: 98.28 kB / 0.5233 GB, free: 8.906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.6014, allocations: 1.051 MB / 0.5243 GB, free: 7.816 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.6019, allocations: 0.8496 MB / 0.5252 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.6021, allocations: 66.92 kB / 0.5252 GB, free: 6.875 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.6023, allocations: 127.4 kB / 0.5253 GB, free: 6.75 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6023, allocations: 0 / 0.5253 GB, free: 6.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03725/0.6396, allocations: 18.75 MB / 0.5436 GB, free: 4.109 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.6398, allocations: 206.8 kB / 0.5438 GB, free: 3.875 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.981, allocations: 0 / 0.5438 GB, free: 3.875 MB / 426.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