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.0009477/0.000948, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008661/0.0008661, allocations: 101.7 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002041/0.0002041, allocations: 4 kB / 358 MB, free: 9.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1759, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08948/0.2654, allocations: 90.99 MB / 0.4887 GB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.2656, allocations: 71.97 kB / 0.4888 GB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1921/0.4578, allocations: 17.01 MB / 0.5054 GB, free: 87.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4578, allocations: 1.531 kB / 0.5054 GB, free: 87.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.4578, allocations: 11.78 kB / 0.5054 GB, free: 87.59 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.001067/0.4589, allocations: 0.5679 MB / 0.506 GB, free: 87.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.459, allocations: 9.656 kB / 0.506 GB, free: 87.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.459, allocations: 39.92 kB / 0.506 GB, free: 87.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.4591, allocations: 16.06 kB / 0.5061 GB, free: 87.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4593, allocations: 248.8 kB / 0.5063 GB, free: 86.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4594, allocations: 6.812 kB / 0.5063 GB, free: 86.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.4594, allocations: 9.75 kB / 0.5063 GB, free: 86.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.4596, allocations: 133.3 kB / 0.5064 GB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4597, allocations: 4.938 kB / 0.5064 GB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.4597, allocations: 1.375 kB / 0.5064 GB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4597, allocations: 9.703 kB / 0.5065 GB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.4598, allocations: 59.64 kB / 0.5065 GB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.4603, allocations: 389.5 kB / 0.5069 GB, free: 86.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.4607, allocations: 130.9 kB / 0.507 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.4607, allocations: 1.938 kB / 0.507 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.4607, allocations: 31.69 kB / 0.507 GB, free: 86.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.4607, allocations: 7.562 kB / 0.507 GB, free: 86.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001882/0.4626, allocations: 1.222 MB / 0.5082 GB, free: 85.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.4626, allocations: 135.8 kB / 0.5084 GB, free: 85.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4628, allocations: 155.5 kB / 0.5085 GB, free: 85.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4628, allocations: 30.45 kB / 0.5085 GB, free: 85.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.4628, allocations: 107.8 kB / 0.5087 GB, free: 85.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4629, allocations: 60.23 kB / 0.5087 GB, free: 85.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.4629, allocations: 3.875 kB / 0.5087 GB, free: 85.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.4629, allocations: 324.2 kB / 0.509 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.4631, allocations: 98.77 kB / 0.5091 GB, free: 85.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.4632, allocations: 137.7 kB / 0.5092 GB, free: 85.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.4634, allocations: 115.4 kB / 0.5094 GB, free: 85.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4634, allocations: 0 / 0.5094 GB, free: 85.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000434/0.4638, allocations: 303.7 kB / 0.5096 GB, free: 84.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4639, allocations: 5.5 kB / 0.5097 GB, free: 84.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.4639, allocations: 11.8 kB / 0.5097 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.464, allocations: 39.95 kB / 0.5097 GB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4642, allocations: 34.22 kB / 0.5097 GB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000798/0.465, allocations: 1.411 MB / 0.5111 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.4651, allocations: 15.25 kB / 0.5111 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.4651, allocations: 5.094 kB / 0.5111 GB, free: 83.61 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 8.735e-05/0.4652, allocations: 141 kB / 0.5113 GB, free: 83.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.4653, allocations: 15.12 kB / 0.5113 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.4653, allocations: 32.38 kB / 0.5113 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4653, allocations: 1.312 kB / 0.5113 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4653, allocations: 3.656 kB / 0.5113 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4653, allocations: 1.094 kB / 0.5113 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.4656, allocations: 247.5 kB / 0.5116 GB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4656, allocations: 4.781 kB / 0.5116 GB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.4659, allocations: 51.75 kB / 0.5116 GB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4659, allocations: 1.25 kB / 0.5116 GB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.4659, allocations: 5.344 kB / 0.5116 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4659, allocations: 1.156 kB / 0.5116 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4659, allocations: 0 / 0.5116 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.4663, allocations: 424.1 kB / 0.512 GB, free: 82.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.4664, allocations: 93.77 kB / 0.5121 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4664, allocations: 5.219 kB / 0.5121 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4665, allocations: 6.625 kB / 0.5121 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.4666, allocations: 12.41 kB / 0.5121 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.4666, allocations: 7 kB / 0.5121 GB, free: 82.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.013e-05/0.4667, allocations: 128.9 kB / 0.5123 GB, free: 82.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4667, allocations: 0 / 0.5123 GB, free: 82.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001675/0.4683, allocations: 0.5244 MB / 0.5128 GB, free: 82.76 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.001413/0.4698, allocations: 1.418 MB / 0.5142 GB, free: 81.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000495/0.4703, allocations: 398.4 kB / 0.5145 GB, free: 81.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4703, allocations: 0 / 0.5145 GB, free: 81.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4704, allocations: 87.72 kB / 0.5146 GB, free: 81.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.4706, allocations: 29.58 kB / 0.5146 GB, free: 81.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.4715, allocations: 0.8127 MB / 0.5154 GB, free: 81.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.4716, allocations: 0.742 MB / 0.5162 GB, free: 80.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.454e-05/0.4717, allocations: 33.62 kB / 0.5162 GB, free: 80.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.4718, allocations: 47.91 kB / 0.5162 GB, free: 80.46 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4718, allocations: 0 / 0.5162 GB, free: 80.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.4909, allocations: 9.429 MB / 0.5255 GB, free: 80.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001216/0.491, allocations: 237.2 kB / 0.5257 GB, free: 79.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.141, allocations: 0 / 0.5257 GB, free: 79.84 MB / 378.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