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.001121/0.001121, allocations: 99.92 kB / 16.5 MB, free: 6.645 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.001203/0.001203, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009755/0.0009755, allocations: 46.86 kB / 300 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.0933, allocations: 49.46 MB / 349.5 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003072/0.09641, allocations: 1.873 MB / 351.4 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005832/0.1023, allocations: 3.871 MB / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.1025, allocations: 7.938 kB / 355.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.1028, allocations: 115.5 kB / 355.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.103, allocations: 35.7 kB / 355.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.1062, allocations: 1.401 MB / 356.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.1066, allocations: 283.2 kB / 357.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1067, allocations: 32.69 kB / 357.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1068, allocations: 99.5 kB / 357.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.107, allocations: 107.4 kB / 357.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.107, allocations: 4 kB / 357.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.1073, allocations: 127.8 kB / 357.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.843e-05/0.1074, allocations: 71.73 kB / 357.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.921e-05/0.1075, allocations: 99.28 kB / 357.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.1078, allocations: 319 kB / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1078, allocations: 0 / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.1078, allocations: 0 / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1079, allocations: 4 kB / 357.9 MB, free: 12.3 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007323/0.1086, allocations: 0.5879 MB / 358.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1086, allocations: 8.875 kB / 358.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.1087, allocations: 42.73 kB / 358.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.1087, allocations: 28.66 kB / 358.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.109, allocations: 283.9 kB / 358.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1091, allocations: 16 kB / 358.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.1091, allocations: 19.94 kB / 358.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.1094, allocations: 202.1 kB / 359.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1094, allocations: 4 kB / 359.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1094, allocations: 7.984 kB / 359.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1094, allocations: 7.938 kB / 359.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.1096, allocations: 79.94 kB / 359.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/0.1104, allocations: 0.4885 MB / 359.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.1107, allocations: 166.5 kB / 359.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.1108, allocations: 56.83 kB / 359.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.1108, allocations: 0 / 359.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1108, allocations: 38.59 kB / 359.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.1108, allocations: 4 kB / 359.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004327/0.1113, allocations: 217.4 kB / 360.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.1114, allocations: 294.7 kB / 360.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.1116, allocations: 272.6 kB / 360.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1117, allocations: 33.7 kB / 360.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1118, allocations: 156.4 kB / 360.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1118, allocations: 55.2 kB / 361 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/0.1119, allocations: 61.8 kB / 361 MB, free: 8.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1121, allocations: 346.8 kB / 361.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1122, allocations: 103.9 kB / 361.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1125, allocations: 177 kB / 361.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.1128, allocations: 209.2 kB / 361.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1128, allocations: 4 kB / 361.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004609/0.1133, allocations: 301.5 kB / 362.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1133, allocations: 7.984 kB / 362.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.1133, allocations: 4 kB / 362.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1133, allocations: 3.938 kB / 362.1 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.1136, allocations: 51.97 kB / 362.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1136, allocations: 0 / 362.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1138, allocations: 31.67 kB / 362.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1138, allocations: 8 kB / 362.2 MB, free: 7.633 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.1139, allocations: 145.8 kB / 362.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.114, allocations: 23.72 kB / 362.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.1141, allocations: 33.97 kB / 362.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1141, allocations: 3.938 kB / 362.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1141, allocations: 0 / 362.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1141, allocations: 3.984 kB / 362.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.1144, allocations: 261.5 kB / 362.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1144, allocations: 8 kB / 362.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.1146, allocations: 27.92 kB / 362.7 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1146, allocations: 4 kB / 362.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1146, allocations: 3.984 kB / 362.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.1146, allocations: 3.938 kB / 362.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1146, allocations: 4 kB / 362.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.115, allocations: 335 kB / 363.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.1151, allocations: 100.8 kB / 363.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.1151, allocations: 4 kB / 363.2 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1153, allocations: 15.98 kB / 363.2 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1153, allocations: 7.984 kB / 363.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1153, allocations: 128 / 363.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1155, allocations: 199.1 kB / 363.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.1155, allocations: 4 kB / 363.4 MB, free: 6.371 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.1158, allocations: 75.94 kB / 363.5 MB, free: 6.297 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007637/0.1166, allocations: 0.9183 MB / 364.4 MB, free: 5.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003876/0.117, allocations: 281 kB / 364.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.117, allocations: 7.938 kB / 364.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1172, allocations: 63.91 kB / 364.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.1176, allocations: 76.52 kB / 364.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.1207, allocations: 2.834 MB / 367.6 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.121, allocations: 0.7713 MB / 368.4 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.1211, allocations: 41.92 kB / 368.5 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.1212, allocations: 83.41 kB / 368.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1212, allocations: 0 / 368.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/0.2797, allocations: 6.188 MB / 374.7 MB, free: 25.03 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.2799, allocations: 199.5 kB / 374.9 MB, free: 24.78 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.244, allocations: 0 / 374.9 MB, free: 24.78 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/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) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches