Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.00114, allocations: 67.3 kB / 306.3 MB, free: 0.9805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09148, allocations: 50.53 MB / 356.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00326/0.09478, allocations: 1.896 MB / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00587/0.1007, allocations: 3.921 MB / 362.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.1009, allocations: 7.938 kB / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.1014, allocations: 123.4 kB / 362.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.1015, allocations: 27.77 kB / 362.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.105, allocations: 1.403 MB / 364.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005226/0.1055, allocations: 291 kB / 364.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1057, allocations: 36.67 kB / 364.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.106, allocations: 103.5 kB / 364.7 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1062, allocations: 99.41 kB / 364.8 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.1063, allocations: 8 kB / 364.8 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.1066, allocations: 131.7 kB / 364.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1067, allocations: 67.75 kB / 365 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1069, allocations: 91.34 kB / 365.1 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.1074, allocations: 330.9 kB / 365.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1074, allocations: 0 / 365.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1074, allocations: 0 / 365.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1074, allocations: 4 kB / 365.4 MB, free: 5.914 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.0009888/0.1084, allocations: 0.5724 MB / 366 MB, free: 5.293 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1085, allocations: 12.88 kB / 366 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.1086, allocations: 46.67 kB / 366 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.1086, allocations: 28.66 kB / 366 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.109, allocations: 284.2 kB / 366.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.109, allocations: 16.31 kB / 366.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.109, allocations: 27.83 kB / 366.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.1094, allocations: 194.1 kB / 366.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1094, allocations: 8 kB / 366.6 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1094, allocations: 4 kB / 366.6 MB, free: 4.602 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1094, allocations: 4 kB / 366.6 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.1096, allocations: 87.81 kB / 366.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.1105, allocations: 488.5 kB / 367.1 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.1107, allocations: 182.3 kB / 367.3 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1109, allocations: 56.83 kB / 367.4 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1109, allocations: 0 / 367.4 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1109, allocations: 38.56 kB / 367.4 MB, free: 3.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1109, allocations: 4 kB / 367.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004492/0.1114, allocations: 217.3 kB / 367.6 MB, free: 3.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.1115, allocations: 290.7 kB / 367.9 MB, free: 3.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.1118, allocations: 276.5 kB / 368.2 MB, free: 2.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.1118, allocations: 33.7 kB / 368.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1119, allocations: 152.4 kB / 368.4 MB, free: 2.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.112, allocations: 51.27 kB / 368.4 MB, free: 2.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.1121, allocations: 65.67 kB / 368.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1122, allocations: 338.8 kB / 368.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.1124, allocations: 103.9 kB / 368.9 MB, free: 2.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.1126, allocations: 178.1 kB / 369.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.1129, allocations: 213.1 kB / 369.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.113, allocations: 0 / 369.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004626/0.1134, allocations: 297.5 kB / 369.6 MB, free: 1.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1135, allocations: 4 kB / 369.6 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.1135, allocations: 4 kB / 369.6 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1135, allocations: 0 / 369.6 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.1138, allocations: 55.89 kB / 369.6 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1138, allocations: 7.938 kB / 369.6 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1139, allocations: 27.69 kB / 369.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1139, allocations: 8 kB / 369.7 MB, free: 1.266 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.0001285/0.1141, allocations: 153.7 kB / 369.8 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.1141, allocations: 23.72 kB / 369.9 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.1142, allocations: 29.97 kB / 369.9 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1142, allocations: 7.938 kB / 369.9 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1142, allocations: 3.938 kB / 369.9 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1142, allocations: 96 / 369.9 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.1145, allocations: 273.4 kB / 370.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1145, allocations: 4 kB / 370.2 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.1147, allocations: 23.98 kB / 370.2 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1147, allocations: 0 / 370.2 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1147, allocations: 12 kB / 370.2 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1147, allocations: 112 / 370.2 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1147, allocations: 7.875 kB / 370.2 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.1151, allocations: 342.1 kB / 370.5 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1152, allocations: 92.83 kB / 370.6 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.1153, allocations: 16.05 kB / 370.7 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1154, allocations: 8 kB / 370.7 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.1154, allocations: 11.92 kB / 370.7 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1155, allocations: 4 kB / 370.7 MB, free: 184 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1831/0.2985, allocations: 192.4 kB / 370.9 MB, free: 21.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.2986, allocations: 0 / 370.9 MB, free: 21.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005416/0.2991, allocations: 74.06 kB / 370.9 MB, free: 21.57 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.0008327/0.3, allocations: 0.9056 MB / 371.8 MB, free: 20.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.3004, allocations: 286.2 kB / 372.1 MB, free: 20.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3004, allocations: 1.25 kB / 372.1 MB, free: 20.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3005, allocations: 61.98 kB / 372.2 MB, free: 20.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.301, allocations: 70.89 kB / 372.3 MB, free: 20.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.3042, allocations: 2.841 MB / 375.1 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.3045, allocations: 0.7711 MB / 375.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.3046, allocations: 44.67 kB / 375.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3047, allocations: 84.64 kB / 376 MB, free: 18.32 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3047, allocations: 0 / 376 MB, free: 18.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.3218, allocations: 6.21 MB / 382.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/0.322, allocations: 195 kB / 382.4 MB, free: 17.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.174, allocations: 0 / 382.4 MB, free: 17.15 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches