Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_cpp_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.001487/0.001487, allocations: 178.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.001109, allocations: 89.28 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.894e-05, allocations: 4 kB / 314.9 MB, free: 9.074 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3526, allocations: 47.56 MB / 362.4 MB, free: 45.72 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.5011, allocations: 88.68 MB / 451.1 MB, free: 13.52 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5014, allocations: 75.95 kB / 451.2 MB, free: 13.45 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08581/0.5872, allocations: 16.81 MB / 468 MB, free: 12.66 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5873, allocations: 0 / 468 MB, free: 12.66 MB / 363.1 MB Notification: Performance of Transformations before backend: time 3.135e-05/0.5873, allocations: 7.938 kB / 468 MB, free: 12.65 MB / 363.1 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.001781/0.5891, allocations: 0.544 MB / 468.5 MB, free: 12.06 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.5892, allocations: 12.02 kB / 468.5 MB, free: 12.05 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.531e-05/0.5893, allocations: 17.62 kB / 468.6 MB, free: 12.04 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.5898, allocations: 230.7 kB / 468.8 MB, free: 11.77 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.5898, allocations: 7.953 kB / 468.8 MB, free: 11.76 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.5899, allocations: 10.06 kB / 468.8 MB, free: 11.75 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000172/0.5901, allocations: 47.97 kB / 468.9 MB, free: 11.71 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.5904, allocations: 117.9 kB / 469 MB, free: 11.57 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.5904, allocations: 0 / 469 MB, free: 11.57 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.5904, allocations: 0 / 469 MB, free: 11.57 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.5904, allocations: 0 / 469 MB, free: 11.57 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000852/0.5913, allocations: 361.1 kB / 469.3 MB, free: 11.18 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.5918, allocations: 118.5 kB / 469.4 MB, free: 11.05 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.5919, allocations: 37.06 kB / 469.5 MB, free: 11.02 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.5919, allocations: 0 / 469.5 MB, free: 11.02 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.592, allocations: 30.56 kB / 469.5 MB, free: 10.98 MB / 363.1 MB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.592, allocations: 4 kB / 469.5 MB, free: 10.97 MB / 363.1 MB Notification: Performance of matching and sorting (n=15): time 0.00291/0.5949, allocations: 1.096 MB / 470.6 MB, free: 9.746 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/0.595, allocations: 132.5 kB / 470.7 MB, free: 9.586 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.5952, allocations: 155.7 kB / 470.9 MB, free: 9.43 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.5953, allocations: 25.7 kB / 470.9 MB, free: 9.398 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5954, allocations: 170.8 kB / 471.1 MB, free: 9.227 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.5955, allocations: 55.25 kB / 471.1 MB, free: 9.172 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.5955, allocations: 0 / 471.1 MB, free: 9.172 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5957, allocations: 322.8 kB / 471.4 MB, free: 8.848 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.5959, allocations: 87.95 kB / 471.5 MB, free: 8.762 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.5962, allocations: 115.4 kB / 471.6 MB, free: 8.637 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.5965, allocations: 98.12 kB / 471.7 MB, free: 8.543 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5966, allocations: 0 / 471.7 MB, free: 8.543 MB / 363.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008143/0.5974, allocations: 285.1 kB / 472 MB, free: 8.258 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5974, allocations: 8 kB / 472 MB, free: 8.25 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.5975, allocations: 0 / 472 MB, free: 8.25 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002546/0.5977, allocations: 44.83 kB / 472.1 MB, free: 8.203 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.598, allocations: 31.97 kB / 472.1 MB, free: 8.172 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5981, allocations: 0.9375 kB / 472.1 MB, free: 8.172 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.5982, allocations: 4.875 kB / 472.1 MB, free: 8.168 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.5983, allocations: 7.938 kB / 472.1 MB, free: 8.16 MB / 363.1 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 0.000131/0.5984, allocations: 108.9 kB / 472.2 MB, free: 8.047 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004302/0.5989, allocations: 188 kB / 472.4 MB, free: 7.859 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.5989, allocations: 7.906 kB / 472.4 MB, free: 7.852 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.599, allocations: 21.97 kB / 472.4 MB, free: 7.824 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.599, allocations: 0 / 472.4 MB, free: 7.824 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5991, allocations: 0 / 472.4 MB, free: 7.824 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.5991, allocations: 5.312 kB / 472.4 MB, free: 7.82 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008759/0.6, allocations: 478.8 kB / 472.9 MB, free: 7.309 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.6, allocations: 0 / 472.9 MB, free: 7.309 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.6004, allocations: 43.91 kB / 472.9 MB, free: 7.266 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.6004, allocations: 0 / 472.9 MB, free: 7.266 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.6005, allocations: 4 kB / 473 MB, free: 7.262 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.6005, allocations: 0 / 473 MB, free: 7.262 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.6005, allocations: 0 / 473 MB, free: 7.262 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.6012, allocations: 375.1 kB / 473.3 MB, free: 6.879 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.6013, allocations: 88.92 kB / 473.4 MB, free: 6.773 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.6013, allocations: 3.938 kB / 473.4 MB, free: 6.773 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.6015, allocations: 12.03 kB / 473.4 MB, free: 6.762 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.6016, allocations: 11.98 kB / 473.4 MB, free: 6.75 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.6016, allocations: 4 kB / 473.4 MB, free: 6.746 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.6018, allocations: 115.3 kB / 473.5 MB, free: 6.633 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6018, allocations: 0 / 473.5 MB, free: 6.633 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.002244/0.6041, allocations: 0.5234 MB / 474.1 MB, free: 6.109 MB / 363.1 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.003162/0.6072, allocations: 1.37 MB / 475.4 MB, free: 4.727 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0008128/0.6081, allocations: 333.2 kB / 475.8 MB, free: 4.367 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6081, allocations: 0 / 475.8 MB, free: 4.367 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.6084, allocations: 79.91 kB / 475.8 MB, free: 4.289 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.6087, allocations: 21.23 kB / 475.9 MB, free: 4.27 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.6109, allocations: 0.535 MB / 476.4 MB, free: 3.695 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.6113, allocations: 0.7336 MB / 477.1 MB, free: 2.934 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.6115, allocations: 51.41 kB / 477.2 MB, free: 2.887 MB / 363.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6115, allocations: 0 / 477.2 MB, free: 2.887 MB / 363.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.238/3.85, allocations: 7.771 MB / 485 MB, free: 11.12 MB / 379.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat