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.001482/0.001482, allocations: 180.7 kB / 8.699 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.3 MB / 214.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00082/0.00082, allocations: 78.25 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.822e-05, allocations: 8.156 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09859, allocations: 47.59 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3219/0.4206, allocations: 89.08 MB / 452.2 MB, free: 6.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4209, allocations: 69.02 kB / 452.3 MB, free: 6.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09795/0.5188, allocations: 35.39 MB / 487.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.5189, allocations: 0 / 487.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.446e-05/0.5189, allocations: 15.94 kB / 487.7 MB, free: 7.727 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.001925/0.5208, allocations: 0.8181 MB / 488.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5209, allocations: 8.031 kB / 488.5 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.521, allocations: 47.44 kB / 488.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007206/0.5217, allocations: 449.1 kB / 489 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5218, allocations: 11.94 kB / 489 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-05/0.5219, allocations: 19.53 kB / 489.1 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002338/0.5221, allocations: 126.2 kB / 489.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.5225, allocations: 300.8 kB / 489.5 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.5225, allocations: 0 / 489.5 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.5225, allocations: 0 / 489.5 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5226, allocations: 8 kB / 489.5 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.5236, allocations: 0.6273 MB / 490.1 MB, free: 5.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.5242, allocations: 300.5 kB / 490.4 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.5243, allocations: 93.84 kB / 490.5 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.5243, allocations: 192 / 490.5 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.5244, allocations: 46.61 kB / 490.5 MB, free: 5.051 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.012e-06/0.5244, allocations: 4 kB / 490.5 MB, free: 5.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004293/0.5248, allocations: 264.2 kB / 490.8 MB, free: 4.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.525, allocations: 371.6 kB / 491.2 MB, free: 4.391 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.5253, allocations: 334.5 kB / 491.5 MB, free: 4.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.5254, allocations: 29.69 kB / 491.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.5255, allocations: 193.5 kB / 491.7 MB, free: 3.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.5256, allocations: 77 kB / 491.8 MB, free: 3.891 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.5256, allocations: 0 / 491.8 MB, free: 3.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5257, allocations: 357.6 kB / 492.1 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.526, allocations: 190.7 kB / 492.3 MB, free: 3.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.5263, allocations: 288.4 kB / 492.6 MB, free: 3.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.5267, allocations: 219.3 kB / 492.8 MB, free: 3.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5267, allocations: 0 / 492.8 MB, free: 3.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001008/0.5278, allocations: 0.5957 MB / 493.4 MB, free: 2.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5278, allocations: 4 kB / 493.4 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/0.5278, allocations: 11.98 kB / 493.4 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003802/0.5282, allocations: 122.8 kB / 493.5 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.5285, allocations: 67.03 kB / 493.6 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5285, allocations: 4 kB / 493.6 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.5287, allocations: 39.42 kB / 493.7 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.5287, allocations: 26.88 kB / 493.7 MB, free: 2.277 MB / 362.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): 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.0001167/0.5289, allocations: 116.9 kB / 493.8 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003539/0.5292, allocations: 255.2 kB / 494 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.5293, allocations: 47.38 kB / 494.1 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.627e-05/0.5294, allocations: 39.34 kB / 494.1 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.5294, allocations: 11.94 kB / 494.1 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5294, allocations: 0 / 494.1 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5294, allocations: 0 / 494.1 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.5297, allocations: 302.2 kB / 494.4 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5298, allocations: 7.984 kB / 494.4 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.5301, allocations: 39.98 kB / 494.5 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5301, allocations: 0 / 494.5 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.5301, allocations: 11.17 kB / 494.5 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5301, allocations: 3.938 kB / 494.5 MB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5301, allocations: 0 / 494.5 MB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.5307, allocations: 492.5 kB / 495 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/0.5308, allocations: 112.6 kB / 495.1 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.199e-05/0.5309, allocations: 8 kB / 495.1 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.5312, allocations: 11.98 kB / 495.1 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.5312, allocations: 15.67 kB / 495.1 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.5313, allocations: 11.94 kB / 495.1 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003231/0.5316, allocations: 248.9 kB / 495.4 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5316, allocations: 0 / 495.4 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002035/0.5336, allocations: 0.6665 MB / 496 MB, free: 96 kB / 362.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.002128/0.5358, allocations: 1.615 MB / 497.7 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009266/0.5367, allocations: 0.8301 MB / 498.5 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5367, allocations: 4 kB / 498.5 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.5369, allocations: 111.9 kB / 498.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.5374, allocations: 94.81 kB / 498.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.5391, allocations: 1.036 MB / 499.7 MB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.5396, allocations: 0.8497 MB / 0.4888 GB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.5398, allocations: 67.23 kB / 0.4889 GB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.5399, allocations: 127.4 kB / 0.489 GB, free: 11.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5399, allocations: 0 / 0.489 GB, free: 11.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/0.582, allocations: 15.92 MB / 0.5046 GB, free: 11.3 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.5823, allocations: 139.7 kB / 0.5047 GB, free: 11.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.812, allocations: 4 kB / 0.5047 GB, free: 11.11 MB / 394.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