Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",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.001097/0.001097, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.001015/0.001015, allocations: 98.59 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.000297, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2731, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.3848, allocations: 89.43 MB / 465.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.3851, allocations: 75.91 kB / 465.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04525/0.4304, allocations: 16.89 MB / 482.3 MB, free: 6.199 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.4304, allocations: 0 / 482.3 MB, free: 6.199 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.4305, allocations: 4 kB / 482.3 MB, free: 6.195 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001536/0.432, allocations: 0.5689 MB / 482.9 MB, free: 5.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.4321, allocations: 12.03 kB / 482.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.118e-05/0.4322, allocations: 38.55 kB / 482.9 MB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.4322, allocations: 19.81 kB / 482.9 MB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.4326, allocations: 234.7 kB / 483.2 MB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4326, allocations: 7.938 kB / 483.2 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.4327, allocations: 16 kB / 483.2 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.433, allocations: 129.9 kB / 483.3 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.433, allocations: 7.906 kB / 483.3 MB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.433, allocations: 7.938 kB / 483.3 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4331, allocations: 0 / 483.3 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.4332, allocations: 63.95 kB / 483.4 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006728/0.4339, allocations: 384.6 kB / 483.8 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.4343, allocations: 130.5 kB / 483.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.4343, allocations: 4 kB / 483.9 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.4343, allocations: 34.78 kB / 483.9 MB, free: 4.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4343, allocations: 0 / 483.9 MB, free: 4.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002211/0.4365, allocations: 1.23 MB / 485.2 MB, free: 3.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.4366, allocations: 132.5 kB / 485.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.4368, allocations: 154 kB / 485.4 MB, free: 2.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.4368, allocations: 29.7 kB / 485.5 MB, free: 2.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.4369, allocations: 112.4 kB / 485.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.437, allocations: 63.23 kB / 485.6 MB, free: 2.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-06/0.437, allocations: 0 / 485.6 MB, free: 2.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4372, allocations: 330.8 kB / 486 MB, free: 2.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.4373, allocations: 99.88 kB / 486.1 MB, free: 2.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.4375, allocations: 128.2 kB / 486.2 MB, free: 1.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.4377, allocations: 121.6 kB / 486.3 MB, free: 1.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4377, allocations: 0 / 486.3 MB, free: 1.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005273/0.4383, allocations: 310.1 kB / 486.6 MB, free: 1.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4383, allocations: 4 kB / 486.6 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.4383, allocations: 4 kB / 486.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.4385, allocations: 40.81 kB / 486.7 MB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4387, allocations: 35.98 kB / 486.7 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.4399, allocations: 1.409 MB / 488.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.44, allocations: 16.06 kB / 488.1 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.44, allocations: 7.984 kB / 488.1 MB, free: 15.84 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.4402, allocations: 142.2 kB / 488.3 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.4402, allocations: 11.81 kB / 488.3 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.4403, allocations: 29.52 kB / 488.3 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.4403, allocations: 4.188 kB / 488.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.4403, allocations: 4 kB / 488.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4403, allocations: 0 / 488.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.4406, allocations: 249.5 kB / 488.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4406, allocations: 0 / 488.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.4409, allocations: 47.97 kB / 488.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.4409, allocations: 8.656 kB / 488.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4409, allocations: 4 kB / 488.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4409, allocations: 0 / 488.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4409, allocations: 0 / 488.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000517/0.4414, allocations: 423 kB / 489 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.4415, allocations: 88.92 kB / 489.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.4415, allocations: 4 kB / 489.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4416, allocations: 11.97 kB / 489.1 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.4417, allocations: 11.98 kB / 489.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.4417, allocations: 8 kB / 489.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.039e-05/0.4418, allocations: 127.2 kB / 489.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4418, allocations: 0 / 489.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001596/0.4434, allocations: 0.535 MB / 489.8 MB, free: 14.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.002695/0.4461, allocations: 1.403 MB / 491.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006835/0.4468, allocations: 388 kB / 491.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4468, allocations: 0 / 491.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.447, allocations: 101.5 kB / 491.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.4473, allocations: 29.14 kB / 491.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.449, allocations: 0.8123 MB / 492.5 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.4494, allocations: 0.7363 MB / 493.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.4495, allocations: 33.23 kB / 493.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.4496, allocations: 47.42 kB / 493.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4496, allocations: 0 / 493.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.4748, allocations: 9.434 MB / 0.491 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003006/0.4751, allocations: 243.1 kB / 0.4912 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.25, allocations: 0 / 0.4912 GB, free: 0.7422 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat