Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.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.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",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.000748/0.0007478, allocations: 89.27 kB / 16.32 MB, free: 6.457 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.0008023/0.0008026, allocations: 179.8 kB / 17.21 MB, free: 6.324 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.321/1.321, allocations: 223.3 MB / 241.2 MB, free: 5.258 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002553, allocations: 8.938 kB / 300.9 MB, free: 5.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1018, allocations: 50.43 MB / 351.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001889/0.1038, allocations: 1.485 MB / 352.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004896/0.1087, allocations: 3.362 MB / 356.2 MB, free: 6.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1088, allocations: 7.938 kB / 356.2 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.1092, allocations: 115.4 kB / 356.3 MB, free: 6.328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.858e-05/0.1093, allocations: 23.78 kB / 356.3 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.1119, allocations: 1.353 MB / 357.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.1122, allocations: 263.1 kB / 357.9 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1123, allocations: 32.72 kB / 358 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1124, allocations: 95.62 kB / 358.1 MB, free: 4.574 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1126, allocations: 91.48 kB / 358.1 MB, free: 4.484 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1126, allocations: 4 kB / 358.1 MB, free: 4.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.1128, allocations: 135.7 kB / 358.3 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.1129, allocations: 51.81 kB / 358.3 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.1129, allocations: 65.56 kB / 358.4 MB, free: 4.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1132, allocations: 239.5 kB / 358.6 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1132, allocations: 0 / 358.6 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1132, allocations: 3.938 kB / 358.6 MB, free: 3.988 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1132, allocations: 4 kB / 358.6 MB, free: 3.984 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006352/0.1139, allocations: 0.5295 MB / 359.2 MB, free: 3.406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1139, allocations: 8.562 kB / 359.2 MB, free: 3.398 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.114, allocations: 54.48 kB / 359.2 MB, free: 3.336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.114, allocations: 35.58 kB / 359.3 MB, free: 3.301 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1143, allocations: 263.2 kB / 359.5 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1143, allocations: 12.12 kB / 359.5 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.1144, allocations: 15.91 kB / 359.5 MB, free: 2.977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.1147, allocations: 209.2 kB / 359.8 MB, free: 2.738 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1147, allocations: 0 / 359.8 MB, free: 2.738 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1147, allocations: 8 kB / 359.8 MB, free: 2.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1147, allocations: 7.953 kB / 359.8 MB, free: 2.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.1149, allocations: 88.5 kB / 359.9 MB, free: 2.637 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/0.1156, allocations: 0.4885 MB / 360.3 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1159, allocations: 158.5 kB / 360.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.116, allocations: 60.83 kB / 360.6 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.116, allocations: 4 kB / 360.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.116, allocations: 38.64 kB / 360.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1161, allocations: 7.938 kB / 360.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003988/0.1165, allocations: 220.6 kB / 360.8 MB, free: 1.594 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.1166, allocations: 290.7 kB / 361.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.1169, allocations: 284.4 kB / 361.4 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1169, allocations: 33.69 kB / 361.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.117, allocations: 152.5 kB / 361.6 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.1171, allocations: 51.25 kB / 361.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.1171, allocations: 4 kB / 361.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1172, allocations: 338.8 kB / 362 MB, free: 372 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1174, allocations: 107.9 kB / 362.1 MB, free: 264 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.1176, allocations: 184.4 kB / 362.2 MB, free: 48 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.1178, allocations: 124 kB / 362.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1178, allocations: 3.953 kB / 362.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004252/0.1182, allocations: 305.1 kB / 362.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1183, allocations: 4 kB / 362.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.1183, allocations: 7.984 kB / 362.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.1183, allocations: 0 / 362.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.1185, allocations: 51.97 kB / 362.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1186, allocations: 4.109 kB / 362.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.95e-05/0.1186, allocations: 23.69 kB / 362.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1187, allocations: 19.97 kB / 362.8 MB, free: 15.51 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 prepare postOptimizeDAE: time 0.0001197/0.1188, allocations: 141.8 kB / 362.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.1189, allocations: 27.67 kB / 362.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.1189, allocations: 33.97 kB / 363 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1189, allocations: 0 / 363 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1189, allocations: 0 / 363 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1189, allocations: 8 kB / 363 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.1192, allocations: 269.4 kB / 363.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1192, allocations: 0 / 363.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.1194, allocations: 39.86 kB / 363.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1194, allocations: 0 / 363.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1194, allocations: 4 kB / 363.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1194, allocations: 0 / 363.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1194, allocations: 0 / 363.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.1199, allocations: 343.1 kB / 363.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.1199, allocations: 100.8 kB / 363.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.12, allocations: 4 kB / 363.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.1201, allocations: 16.05 kB / 363.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.1201, allocations: 4 kB / 363.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1201, allocations: 7.938 kB / 363.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1203, allocations: 199.1 kB / 363.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1203, allocations: 0 / 363.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1206, allocations: 87.83 kB / 364 MB, free: 14.15 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0007398/0.1214, allocations: 0.9064 MB / 364.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.1217, allocations: 285 kB / 365.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1218, allocations: 3.938 kB / 365.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1219, allocations: 67.81 kB / 365.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1223, allocations: 72.94 kB / 365.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.1246, allocations: 1.703 MB / 367.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.1249, allocations: 0.7716 MB / 367.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.125, allocations: 37.92 kB / 367.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1251, allocations: 83.41 kB / 367.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1251, allocations: 0 / 367.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.1493, allocations: 6.171 MB / 374.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/0.1496, allocations: 183.8 kB / 374.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/1.942, allocations: 0 / 374.3 MB, free: 3.832 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat