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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.0008361, allocations: 88.52 kB / 16.31 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 182.1 kB / 17.21 MB, free: 5.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 241.2 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002527, allocations: 8 kB / 300.9 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.09008, allocations: 50.42 MB / 351.3 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001506/0.09162, allocations: 1.288 MB / 352.6 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.09563, allocations: 3.035 MB / 355.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.709e-05/0.09575, allocations: 0 / 355.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.09604, allocations: 39.78 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.09611, allocations: 3.938 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.09833, allocations: 1.062 MB / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.09852, allocations: 123.7 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.09863, allocations: 25.05 kB / 356.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.0987, allocations: 51.83 kB / 357 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.09878, allocations: 39.78 kB / 357 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.09881, allocations: 4 kB / 357 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.09987, allocations: 1.105 MB / 358.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.09994, allocations: 31.91 kB / 358.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.09998, allocations: 37.64 kB / 358.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.1008, allocations: 1.08 MB / 359.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1008, allocations: 0 / 359.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1008, allocations: 0 / 359.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1008, allocations: 0 / 359.2 MB, free: 11.96 MB / 302.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.0007459/0.1015, allocations: 0.5417 MB / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1016, allocations: 8.031 kB / 359.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.1016, allocations: 46.48 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1017, allocations: 27.77 kB / 359.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1019, allocations: 202.9 kB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1019, allocations: 8 kB / 360.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.1019, allocations: 4 kB / 360.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.1021, allocations: 133 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1022, allocations: 0 / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1022, allocations: 4 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1022, allocations: 11.89 kB / 360.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.1023, allocations: 55.95 kB / 360.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.1028, allocations: 384.5 kB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.1031, allocations: 130.5 kB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.1032, allocations: 48.77 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1033, allocations: 4 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1033, allocations: 34.69 kB / 360.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.1033, allocations: 4 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001945/0.1052, allocations: 1.225 MB / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1053, allocations: 128.5 kB / 362.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1055, allocations: 182.9 kB / 362.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1055, allocations: 29.7 kB / 362.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.1056, allocations: 108.4 kB / 362.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.1056, allocations: 51.27 kB / 362.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.1056, allocations: 4 kB / 362.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.1057, allocations: 326.8 kB / 362.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1059, allocations: 99.94 kB / 363 MB, free: 7.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.1061, allocations: 140.4 kB / 363.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.1062, allocations: 113.2 kB / 363.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1062, allocations: 0 / 363.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004612/0.1067, allocations: 310.2 kB / 363.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1067, allocations: 11.95 kB / 363.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.1068, allocations: 4 kB / 363.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.1069, allocations: 44.86 kB / 363.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1071, allocations: 35.91 kB / 363.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.1081, allocations: 1.394 MB / 365 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-05/0.1082, allocations: 12.02 kB / 365.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1082, allocations: 4 kB / 365.1 MB, free: 5.605 MB / 302.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 () * 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 0.0001106/0.1083, allocations: 141.9 kB / 365.2 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.1084, allocations: 19.77 kB / 365.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.1084, allocations: 21.53 kB / 365.2 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1084, allocations: 7.922 kB / 365.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.1084, allocations: 0 / 365.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1084, allocations: 0 / 365.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1087, allocations: 245.6 kB / 365.5 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1087, allocations: 4 kB / 365.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.1089, allocations: 55.95 kB / 365.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.109, allocations: 0 / 365.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.109, allocations: 11.89 kB / 365.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.109, allocations: 4 kB / 365.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.109, allocations: 0 / 365.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.1095, allocations: 411.1 kB / 366 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.1095, allocations: 88.92 kB / 366 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1095, allocations: 12 kB / 366.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1096, allocations: 11.98 kB / 366.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1097, allocations: 7.984 kB / 366.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1097, allocations: 8 kB / 366.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.1098, allocations: 123.5 kB / 366.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1098, allocations: 0 / 366.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00131/0.1111, allocations: 0.5117 MB / 366.7 MB, free: 3.852 MB / 302.1 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.001565/0.1127, allocations: 1.407 MB / 368.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.1133, allocations: 397.8 kB / 368.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1133, allocations: 0 / 368.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1134, allocations: 87.89 kB / 368.6 MB, free: 1.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.1137, allocations: 30.52 kB / 368.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.1156, allocations: 1.363 MB / 370 MB, free: 492 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1584/0.274, allocations: 0.7272 MB / 370.7 MB, free: 23.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.2742, allocations: 29.8 kB / 370.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.2743, allocations: 45.08 kB / 370.8 MB, free: 23.53 MB / 302.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2743, allocations: 0.5 kB / 370.8 MB, free: 23.53 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.2995, allocations: 9.569 MB / 380.4 MB, free: 21.21 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.2997, allocations: 255.5 kB / 380.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.146, allocations: 0 / 380.6 MB, free: 20.88 MB / 302.1 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