Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.00121, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009188/0.0009189, allocations: 89.61 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.541e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4362, allocations: 90.92 MB / 493 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4365, allocations: 72.73 kB / 493.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0473/0.4838, allocations: 16.99 MB / 0.4981 GB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4839, allocations: 3.938 kB / 0.4981 GB, free: 15.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.4839, allocations: 4 kB / 0.4981 GB, free: 15.08 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00105/0.485, allocations: 0.539 MB / 0.4987 GB, free: 14.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.485, allocations: 8.031 kB / 0.4987 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.4851, allocations: 46.23 kB / 0.4987 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.4851, allocations: 20.59 kB / 0.4987 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.4855, allocations: 226.8 kB / 0.499 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.4855, allocations: 11.8 kB / 0.499 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.4855, allocations: 7.625 kB / 0.499 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.4857, allocations: 122.1 kB / 0.4991 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4858, allocations: 4 kB / 0.4991 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.4858, allocations: 11.98 kB / 0.4991 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4858, allocations: 0 / 0.4991 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.999e-05/0.4859, allocations: 49.38 kB / 0.4992 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.4865, allocations: 394.2 kB / 0.4995 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.4869, allocations: 124.3 kB / 0.4997 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.4869, allocations: 32.86 kB / 0.4997 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.487, allocations: 8.125 kB / 0.4997 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.487, allocations: 34.8 kB / 0.4997 GB, free: 13.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.487, allocations: 0 / 0.4997 GB, free: 13.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001947/0.4889, allocations: 1.147 MB / 0.5008 GB, free: 12.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.489, allocations: 128.5 kB / 0.501 GB, free: 11.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.4892, allocations: 161.9 kB / 0.5011 GB, free: 11.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.4892, allocations: 33.64 kB / 0.5012 GB, free: 11.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.4893, allocations: 114.2 kB / 0.5013 GB, free: 11.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.4894, allocations: 55.25 kB / 0.5013 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.4894, allocations: 4 kB / 0.5013 GB, free: 11.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4895, allocations: 326.8 kB / 0.5016 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.4896, allocations: 83.97 kB / 0.5017 GB, free: 11.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.4898, allocations: 132 kB / 0.5018 GB, free: 10.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.49, allocations: 104.8 kB / 0.5019 GB, free: 10.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.49, allocations: 0 / 0.5019 GB, free: 10.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004497/0.4904, allocations: 289.6 kB / 0.5022 GB, free: 10.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4905, allocations: 9.719 kB / 0.5022 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.4905, allocations: 0 / 0.5022 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.4907, allocations: 44.81 kB / 0.5023 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.4908, allocations: 35.98 kB / 0.5023 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.492, allocations: 1.4 MB / 0.5037 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.4921, allocations: 8.016 kB / 0.5037 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.4921, allocations: 8 kB / 0.5037 GB, free: 8.957 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 () * 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.0001261/0.4922, allocations: 116.9 kB / 0.5038 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.4923, allocations: 15.81 kB / 0.5038 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.568e-05/0.4923, allocations: 29.64 kB / 0.5038 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4924, allocations: 0.75 kB / 0.5038 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.4924, allocations: 0 / 0.5038 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4924, allocations: 8.094 kB / 0.5038 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.4926, allocations: 245.5 kB / 0.5041 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4926, allocations: 0 / 0.5041 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.4929, allocations: 54.28 kB / 0.5041 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4929, allocations: 0 / 0.5041 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.493, allocations: 7.938 kB / 0.5041 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.493, allocations: 0.5625 kB / 0.5041 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.493, allocations: 7.938 kB / 0.5041 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.4934, allocations: 399.8 kB / 0.5045 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.4935, allocations: 92.95 kB / 0.5046 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.4935, allocations: 4 kB / 0.5046 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.4936, allocations: 4 kB / 0.5046 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.4937, allocations: 14.61 kB / 0.5046 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4937, allocations: 4 kB / 0.5046 GB, free: 7.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.585e-05/0.4938, allocations: 130.8 kB / 0.5048 GB, free: 7.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4938, allocations: 0 / 0.5048 GB, free: 7.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001418/0.4952, allocations: 0.5389 MB / 0.5053 GB, free: 7.223 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 () * 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.002119/0.4974, allocations: 1.376 MB / 0.5066 GB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000546/0.4979, allocations: 381.9 kB / 0.507 GB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.498, allocations: 0 / 0.507 GB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.4981, allocations: 83.91 kB / 0.5071 GB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.4983, allocations: 22.72 kB / 0.5071 GB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.4994, allocations: 0.5012 MB / 0.5076 GB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.4996, allocations: 0.744 MB / 0.5083 GB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.337e-05/0.4997, allocations: 33.17 kB / 0.5083 GB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.174e-05/0.4998, allocations: 43.42 kB / 0.5084 GB, free: 3.945 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4998, allocations: 0 / 0.5084 GB, free: 3.945 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.5246, allocations: 11.91 MB / 0.52 GB, free: 8.273 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.5249, allocations: 215.6 kB / 0.5202 GB, free: 8.043 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.355, allocations: 0 / 0.5202 GB, free: 8.043 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat