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.001464/0.001465, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 91.59 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.824e-05, allocations: 4 kB / 314.9 MB, free: 9.066 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4686, allocations: 47.56 MB / 362.4 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/0.6635, allocations: 88.84 MB / 451.3 MB, free: 13.44 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.6638, allocations: 67.97 kB / 451.3 MB, free: 13.38 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.181/0.8449, allocations: 35.39 MB / 486.7 MB, free: 9.988 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.845, allocations: 0 / 486.7 MB, free: 9.988 MB / 379.1 MB Notification: Performance of Transformations before backend: time 6.256e-05/0.845, allocations: 15.94 kB / 486.7 MB, free: 9.973 MB / 379.1 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.002685/0.8477, allocations: 0.8214 MB / 487.6 MB, free: 9.102 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.8478, allocations: 12.03 kB / 487.6 MB, free: 9.09 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.848, allocations: 43.44 kB / 487.6 MB, free: 9.047 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.8493, allocations: 451 kB / 488 MB, free: 8.562 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.8493, allocations: 4 kB / 488.1 MB, free: 8.559 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/0.8494, allocations: 21.03 kB / 488.1 MB, free: 8.539 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003957/0.8499, allocations: 128.5 kB / 488.2 MB, free: 8.414 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.8505, allocations: 299.3 kB / 488.5 MB, free: 8.066 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.8505, allocations: 0 / 488.5 MB, free: 8.066 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.8505, allocations: 0 / 488.5 MB, free: 8.066 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.8506, allocations: 4 kB / 488.5 MB, free: 8.062 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.8525, allocations: 0.6343 MB / 489.1 MB, free: 7.387 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/0.8535, allocations: 303.1 kB / 489.4 MB, free: 7.082 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.8538, allocations: 97.14 kB / 489.5 MB, free: 6.984 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.8538, allocations: 4.188 kB / 489.5 MB, free: 6.98 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.8539, allocations: 40.72 kB / 489.6 MB, free: 6.934 MB / 379.1 MB Notification: Performance of pre-optimization done (n=21): time 3.457e-06/0.8539, allocations: 0 / 489.6 MB, free: 6.934 MB / 379.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007773/0.8547, allocations: 263.8 kB / 489.8 MB, free: 6.672 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002203/0.8549, allocations: 368.1 kB / 490.2 MB, free: 6.227 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.8555, allocations: 341 kB / 490.5 MB, free: 5.891 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/0.8556, allocations: 29.7 kB / 490.5 MB, free: 5.855 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.8558, allocations: 231.6 kB / 490.8 MB, free: 5.629 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.856, allocations: 86.83 kB / 490.9 MB, free: 5.543 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.856, allocations: 3.938 kB / 490.9 MB, free: 5.539 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.8562, allocations: 330.8 kB / 491.2 MB, free: 5.207 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/0.8567, allocations: 184.3 kB / 491.4 MB, free: 5.023 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.8573, allocations: 290.4 kB / 491.6 MB, free: 4.699 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.858, allocations: 227.8 kB / 491.9 MB, free: 4.48 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.858, allocations: 0 / 491.9 MB, free: 4.48 MB / 379.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001806/0.8598, allocations: 0.5721 MB / 492.4 MB, free: 3.895 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.8599, allocations: 7.938 kB / 492.4 MB, free: 3.887 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-05/0.8599, allocations: 11.98 kB / 492.5 MB, free: 3.875 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/0.8606, allocations: 114.5 kB / 492.6 MB, free: 3.754 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.8612, allocations: 75.89 kB / 492.6 MB, free: 3.68 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.8612, allocations: 0 / 492.6 MB, free: 3.68 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.8616, allocations: 39.53 kB / 492.7 MB, free: 3.641 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.8617, allocations: 20.97 kB / 492.7 MB, free: 3.621 MB / 379.1 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.0001681/0.8618, allocations: 112.9 kB / 492.8 MB, free: 3.504 MB / 379.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006696/0.8625, allocations: 267.2 kB / 493.1 MB, free: 3.238 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/0.8626, allocations: 35.53 kB / 493.1 MB, free: 3.203 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.8628, allocations: 39.53 kB / 493.1 MB, free: 3.16 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.8628, allocations: 7.953 kB / 493.2 MB, free: 3.152 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8628, allocations: 4 kB / 493.2 MB, free: 3.148 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.8628, allocations: 0 / 493.2 MB, free: 3.148 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.8634, allocations: 309.9 kB / 493.5 MB, free: 2.809 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8634, allocations: 0 / 493.5 MB, free: 2.809 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.8641, allocations: 47.91 kB / 493.5 MB, free: 2.762 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.8641, allocations: 0.9375 kB / 493.5 MB, free: 2.762 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.8641, allocations: 4 kB / 493.5 MB, free: 2.758 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.8642, allocations: 4 kB / 493.5 MB, free: 2.754 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8642, allocations: 0 / 493.5 MB, free: 2.754 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009865/0.8652, allocations: 482.9 kB / 494 MB, free: 2.266 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.8653, allocations: 112.6 kB / 494.1 MB, free: 2.137 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.423e-05/0.8654, allocations: 11.98 kB / 494.1 MB, free: 2.125 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.8657, allocations: 12.09 kB / 494.1 MB, free: 2.113 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.8658, allocations: 11.92 kB / 494.1 MB, free: 2.102 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.8659, allocations: 7.953 kB / 494.1 MB, free: 2.094 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0004286/0.8663, allocations: 260.7 kB / 494.4 MB, free: 1.844 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8663, allocations: 0 / 494.4 MB, free: 1.844 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.003126/0.8694, allocations: 0.6793 MB / 495.1 MB, free: 1.164 MB / 379.1 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.004449/0.874, allocations: 1.607 MB / 496.7 MB, free: 15.55 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.8758, allocations: 0.8308 MB / 497.5 MB, free: 14.61 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8758, allocations: 0 / 497.5 MB, free: 14.61 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.8761, allocations: 107.9 kB / 497.6 MB, free: 14.5 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008536/0.877, allocations: 101.7 kB / 497.7 MB, free: 14.41 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.8807, allocations: 1.084 MB / 498.8 MB, free: 13.28 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.8814, allocations: 0.8458 MB / 499.6 MB, free: 12.41 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.8817, allocations: 127.4 kB / 499.8 MB, free: 12.28 MB / 395.1 MB Notification: Performance of SimCode: time 1.273e-06/0.8817, allocations: 4 kB / 499.8 MB, free: 12.28 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.79/4.672, allocations: 14.55 MB / 0.5023 GB, free: 110.8 MB / 395.1 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