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.001682/0.001682, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009156/0.0009157, allocations: 102.8 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.865e-05, allocations: 4 kB / 343.8 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 51.48 MB / 395.3 MB, free: 4.707 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.473, allocations: 90.26 MB / 485.5 MB, free: 3.141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.4732, allocations: 76.38 kB / 485.6 MB, free: 3.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04488/0.5181, allocations: 16.94 MB / 0.4908 GB, free: 3.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5182, allocations: 3.938 kB / 0.4908 GB, free: 3.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.133e-05/0.5182, allocations: 7.938 kB / 0.4908 GB, free: 3.574 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.001241/0.5194, allocations: 0.5318 MB / 0.4913 GB, free: 3.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5195, allocations: 12.03 kB / 0.4913 GB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.5196, allocations: 19.56 kB / 0.4913 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.5199, allocations: 237.5 kB / 0.4915 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.52, allocations: 0 / 0.4915 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.52, allocations: 13.48 kB / 0.4916 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001174/0.5201, allocations: 46.97 kB / 0.4916 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.5203, allocations: 112.3 kB / 0.4917 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.5203, allocations: 4 kB / 0.4917 GB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.5204, allocations: 0 / 0.4917 GB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5204, allocations: 4 kB / 0.4917 GB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.521, allocations: 362.3 kB / 0.4921 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.5213, allocations: 117 kB / 0.4922 GB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.5214, allocations: 31.3 kB / 0.4922 GB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.5214, allocations: 4 kB / 0.4922 GB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.5214, allocations: 34.55 kB / 0.4922 GB, free: 2.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.755e-06/0.5214, allocations: 3.984 kB / 0.4922 GB, free: 2.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001848/0.5233, allocations: 1.089 MB / 0.4933 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.5234, allocations: 135.8 kB / 0.4934 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.5235, allocations: 158.4 kB / 0.4936 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.5235, allocations: 25.7 kB / 0.4936 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.5236, allocations: 113.8 kB / 0.4937 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.5237, allocations: 50.27 kB / 0.4938 GB, free: 476 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.5237, allocations: 0 / 0.4938 GB, free: 476 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5238, allocations: 325.3 kB / 0.4941 GB, free: 148 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.5239, allocations: 86.16 kB / 0.4942 GB, free: 92 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.5241, allocations: 116.7 kB / 0.4943 GB, free: 16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.5243, allocations: 104.5 kB / 0.4944 GB, free: 15.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5243, allocations: 0 / 0.4944 GB, free: 15.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004575/0.5247, allocations: 284.1 kB / 0.4946 GB, free: 15.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5248, allocations: 4 kB / 0.4946 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.5248, allocations: 6.047 kB / 0.4946 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.525, allocations: 40.14 kB / 0.4947 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.5251, allocations: 35.97 kB / 0.4947 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5251, allocations: 4 kB / 0.4947 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.692e-05/0.5252, allocations: 7.938 kB / 0.4947 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.5253, allocations: 4 kB / 0.4947 GB, free: 15.62 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 9.093e-05/0.5254, allocations: 101 kB / 0.4948 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002466/0.5256, allocations: 181.2 kB / 0.495 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.5257, allocations: 11.89 kB / 0.495 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.5257, allocations: 20.53 kB / 0.495 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5257, allocations: 8 kB / 0.495 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/0.5258, allocations: 0 / 0.495 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.5258, allocations: 3.938 kB / 0.495 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.5263, allocations: 482.4 kB / 0.4955 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5263, allocations: 0 / 0.4955 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.5266, allocations: 35.91 kB / 0.4955 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.5266, allocations: 0 / 0.4955 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.5266, allocations: 7.938 kB / 0.4956 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.5266, allocations: 4.781 kB / 0.4956 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5266, allocations: 0 / 0.4956 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.5271, allocations: 372.1 kB / 0.4959 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.5271, allocations: 88.92 kB / 0.496 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.5272, allocations: 5.125 kB / 0.496 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5273, allocations: 4 kB / 0.496 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.5274, allocations: 11.98 kB / 0.496 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.5274, allocations: 11.8 kB / 0.496 GB, free: 14.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.5275, allocations: 119.6 kB / 0.4961 GB, free: 14.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5275, allocations: 0 / 0.4961 GB, free: 14.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001641/0.5291, allocations: 0.5268 MB / 0.4967 GB, free: 13.79 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.002719/0.5319, allocations: 1.355 MB / 0.498 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.5324, allocations: 339.3 kB / 0.4983 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5324, allocations: 0 / 0.4983 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.5326, allocations: 76.11 kB / 0.4984 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.5329, allocations: 38.78 kB / 0.4984 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.5346, allocations: 0.4908 MB / 0.4989 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.5349, allocations: 0.743 MB / 0.4996 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.5351, allocations: 25.19 kB / 0.4996 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-05/0.5352, allocations: 45.23 kB / 0.4997 GB, free: 10.8 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5352, allocations: 4 kB / 0.4997 GB, free: 10.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.5666, allocations: 9.512 MB / 0.509 GB, free: 1.387 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.5668, allocations: 163.7 kB / 0.5091 GB, free: 1.199 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.245, allocations: 0 / 0.5091 GB, free: 1.199 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