Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 102.9 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.73e-05, allocations: 4 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 50.41 MB / 387.5 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3314/0.4322, allocations: 89.46 MB / 477 MB, free: 5.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.4325, allocations: 67.97 kB / 477.1 MB, free: 5.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04481/0.4773, allocations: 16.89 MB / 494 MB, free: 4.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4774, allocations: 0 / 494 MB, free: 4.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.4774, allocations: 11.88 kB / 494 MB, free: 4.234 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.0008581/0.4783, allocations: 0.5418 MB / 494.5 MB, free: 3.648 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4783, allocations: 12.03 kB / 494.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.4784, allocations: 15.81 kB / 494.5 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.4787, allocations: 235.2 kB / 494.8 MB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4787, allocations: 4 kB / 494.8 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.4787, allocations: 4 kB / 494.8 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/0.4789, allocations: 39.98 kB / 494.8 MB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.479, allocations: 125.8 kB / 494.9 MB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.479, allocations: 0 / 494.9 MB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4791, allocations: 4 kB / 494.9 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4791, allocations: 0 / 494.9 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.4796, allocations: 361.1 kB / 495.3 MB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.4799, allocations: 114.5 kB / 495.4 MB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.48, allocations: 36.84 kB / 495.4 MB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.48, allocations: 4 kB / 495.5 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.48, allocations: 34.56 kB / 495.5 MB, free: 2.559 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.48, allocations: 0 / 495.5 MB, free: 2.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001736/0.4818, allocations: 1.085 MB / 496.6 MB, free: 1.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.4819, allocations: 132.5 kB / 496.7 MB, free: 1.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.482, allocations: 162.2 kB / 496.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.482, allocations: 25.7 kB / 496.9 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.4821, allocations: 112.5 kB / 497 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.4821, allocations: 51.2 kB / 497 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.4822, allocations: 0 / 497 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4823, allocations: 334.8 kB / 497.4 MB, free: 496 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.4824, allocations: 87.91 kB / 497.5 MB, free: 408 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.4826, allocations: 125.2 kB / 497.6 MB, free: 272 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.4827, allocations: 95.94 kB / 497.7 MB, free: 176 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4828, allocations: 0 / 497.7 MB, free: 176 kB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004607/0.4832, allocations: 278.2 kB / 497.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4832, allocations: 5.406 kB / 497.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.4833, allocations: 11.98 kB / 498 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.4834, allocations: 44.77 kB / 498 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.4836, allocations: 27.98 kB / 498 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4836, allocations: 4 kB / 498 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.4837, allocations: 11.92 kB / 498 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.4837, allocations: 8 kB / 498.1 MB, free: 15.78 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.98e-05/0.4838, allocations: 105 kB / 498.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002466/0.4841, allocations: 169.5 kB / 498.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.4841, allocations: 19.77 kB / 498.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.4842, allocations: 21.95 kB / 498.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4842, allocations: 4 kB / 498.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4842, allocations: 0 / 498.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4842, allocations: 3.938 kB / 498.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.4848, allocations: 485.3 kB / 498.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4848, allocations: 4 kB / 498.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.485, allocations: 35.91 kB / 498.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.485, allocations: 4 kB / 498.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.485, allocations: 0 / 498.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.485, allocations: 0 / 498.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.485, allocations: 0 / 498.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.4854, allocations: 363.2 kB / 499.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.4855, allocations: 96.81 kB / 499.3 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.4855, allocations: 12.03 kB / 499.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.4856, allocations: 4 kB / 499.4 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.4857, allocations: 12.36 kB / 499.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.4857, allocations: 0 / 499.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.934e-05/0.4858, allocations: 119.2 kB / 499.5 MB, free: 14.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4858, allocations: 0 / 499.5 MB, free: 14.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001416/0.4872, allocations: 0.5272 MB / 0.4883 GB, free: 13.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.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.001685/0.4889, allocations: 1.366 MB / 0.4896 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004617/0.4894, allocations: 333.2 kB / 0.4899 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4894, allocations: 0 / 0.4899 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.4895, allocations: 79.91 kB / 0.49 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.4898, allocations: 22.05 kB / 0.49 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.4908, allocations: 0.4931 MB / 0.4905 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.4911, allocations: 0.7321 MB / 0.4912 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.998e-05/0.4912, allocations: 37.36 kB / 0.4913 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.4913, allocations: 51.41 kB / 0.4913 GB, free: 10.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.555e-06/0.4913, allocations: 0 / 0.4913 GB, free: 10.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.5221, allocations: 9.518 MB / 0.5006 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.5223, allocations: 181.3 kB / 0.5008 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.247, allocations: 0 / 0.5008 GB, free: 0.7969 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat