Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_cpp_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.001496/0.001496, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001161/0.00116, allocations: 93.3 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 8 kB / 327 MB, free: 148 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3634, allocations: 47.57 MB / 374.6 MB, free: 45.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5244, allocations: 89.59 MB / 464.2 MB, free: 7.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5247, allocations: 75.97 kB / 464.3 MB, free: 6.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1727/0.6975, allocations: 35.59 MB / 499.9 MB, free: 3.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.6975, allocations: 0 / 499.9 MB, free: 3.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.6976, allocations: 19.88 kB / 499.9 MB, free: 3.324 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.003344/0.701, allocations: 0.8916 MB / 0.489 GB, free: 2.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.7011, allocations: 8.031 kB / 0.4891 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/0.7013, allocations: 54.55 kB / 0.4891 GB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.7015, allocations: 51.44 kB / 0.4892 GB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.703, allocations: 452.7 kB / 0.4896 GB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.703, allocations: 12.28 kB / 0.4896 GB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.7032, allocations: 27.98 kB / 0.4896 GB, free: 1.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008099/0.704, allocations: 338.4 kB / 0.4899 GB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.704, allocations: 0 / 0.4899 GB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.7041, allocations: 12 kB / 0.49 GB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.7041, allocations: 4 kB / 0.49 GB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.7046, allocations: 144.7 kB / 0.4901 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.7069, allocations: 0.6875 MB / 0.4908 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.708, allocations: 324 kB / 0.4911 GB, free: 128 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.7081, allocations: 4.188 kB / 0.4911 GB, free: 124 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.7082, allocations: 38.75 kB / 0.4911 GB, free: 76 kB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 3.246e-06/0.7082, allocations: 0 / 0.4911 GB, free: 76 kB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.2747/0.9828, allocations: 382.4 kB / 0.4915 GB, free: 97.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.983, allocations: 371.8 kB / 0.4918 GB, free: 96.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007671/0.9838, allocations: 360.6 kB / 0.4922 GB, free: 96.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.9839, allocations: 35.17 kB / 0.4922 GB, free: 96.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.9841, allocations: 243.7 kB / 0.4924 GB, free: 96.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/0.9842, allocations: 80.3 kB / 0.4925 GB, free: 96.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.9843, allocations: 5.281 kB / 0.4925 GB, free: 96.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.9843, allocations: 331.5 kB / 0.4928 GB, free: 96.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/0.985, allocations: 206.2 kB / 0.493 GB, free: 96.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.9857, allocations: 310.9 kB / 0.4933 GB, free: 96.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.9864, allocations: 235.8 kB / 0.4936 GB, free: 96.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9864, allocations: 0 / 0.4936 GB, free: 96.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001724/0.9882, allocations: 0.6089 MB / 0.4942 GB, free: 96.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.9882, allocations: 5.844 kB / 0.4942 GB, free: 96.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.417e-05/0.9883, allocations: 17.11 kB / 0.4942 GB, free: 96.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/0.989, allocations: 128.4 kB / 0.4943 GB, free: 96.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.9895, allocations: 66.53 kB / 0.4944 GB, free: 96.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.9935, allocations: 4.254 MB / 0.4985 GB, free: 92.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.994, allocations: 49.25 kB / 0.4986 GB, free: 92.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.9941, allocations: 19.94 kB / 0.4986 GB, free: 92.34 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.0003244/0.9944, allocations: 174.9 kB / 0.4988 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.9945, allocations: 42.14 kB / 0.4988 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.9947, allocations: 44.25 kB / 0.4988 GB, free: 92.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.9947, allocations: 1.438 kB / 0.4988 GB, free: 92.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.9947, allocations: 1.344 kB / 0.4988 GB, free: 92.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.9947, allocations: 7.344 kB / 0.4988 GB, free: 92.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.9952, allocations: 350.1 kB / 0.4992 GB, free: 92.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9952, allocations: 0 / 0.4992 GB, free: 92.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.9958, allocations: 40.77 kB / 0.4992 GB, free: 92.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.9959, allocations: 5.266 kB / 0.4992 GB, free: 92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.9959, allocations: 11.94 kB / 0.4992 GB, free: 92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.996, allocations: 3.156 kB / 0.4992 GB, free: 92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.996, allocations: 1.125 kB / 0.4992 GB, free: 92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.9972, allocations: 0.5071 MB / 0.4997 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.9974, allocations: 114.3 kB / 0.4998 GB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.9975, allocations: 18.77 kB / 0.4999 GB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.9979, allocations: 14.48 kB / 0.4999 GB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/0.998, allocations: 19.69 kB / 0.4999 GB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.9981, allocations: 7.469 kB / 0.4999 GB, free: 91.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004663/0.9985, allocations: 267.9 kB / 0.5002 GB, free: 91.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.984e-06/0.9985, allocations: 0 / 0.5002 GB, free: 91.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002931/1.001, allocations: 0.6889 MB / 0.5008 GB, free: 91.64 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.004204/1.006, allocations: 1.67 MB / 0.5025 GB, free: 90.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002116/1.008, allocations: 0.9503 MB / 0.5034 GB, free: 90.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.008, allocations: 1.031 kB / 0.5034 GB, free: 90.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/1.008, allocations: 128 kB / 0.5035 GB, free: 90.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008401/1.009, allocations: 93.8 kB / 0.5036 GB, free: 90.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/1.013, allocations: 1.573 MB / 0.5051 GB, free: 89.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/1.013, allocations: 0.8507 MB / 0.506 GB, free: 89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/1.014, allocations: 130.3 kB / 0.5061 GB, free: 89 MB / 378.7 MB Notification: Performance of SimCode: time 1.854e-06/1.014, allocations: 3.688 kB / 0.5061 GB, free: 89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.449/4.462, allocations: 14.42 MB / 0.5202 GB, free: 88.06 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat