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.001116/0.001116, allocations: 110.6 kB / 16.92 MB, free: 6.332 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.001103/0.001103, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.311/1.311, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 47.05 kB / 300.7 MB, free: 5.812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09634, allocations: 49.44 MB / 350.2 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002987/0.09937, allocations: 1.822 MB / 352 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005167/0.1046, allocations: 3.508 MB / 355.5 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.1047, allocations: 3.938 kB / 355.5 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.1052, allocations: 127.4 kB / 355.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.1053, allocations: 35.64 kB / 355.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004122/0.1094, allocations: 1.789 MB / 357.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.1099, allocations: 299.2 kB / 357.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1101, allocations: 36.66 kB / 357.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.1103, allocations: 115.5 kB / 357.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1105, allocations: 107.4 kB / 358 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.1105, allocations: 12 kB / 358 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.1108, allocations: 147.7 kB / 358.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1109, allocations: 59.83 kB / 358.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.111, allocations: 111.3 kB / 358.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.1115, allocations: 327 kB / 358.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1115, allocations: 0 / 358.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1115, allocations: 0 / 358.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1115, allocations: 0 / 358.6 MB, free: 11.87 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.0008728/0.1124, allocations: 0.584 MB / 359.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1124, allocations: 8.031 kB / 359.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.647e-05/0.1125, allocations: 42.73 kB / 359.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.1126, allocations: 28.66 kB / 359.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.1129, allocations: 291.8 kB / 359.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.113, allocations: 12 kB / 359.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.113, allocations: 16 kB / 359.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.1134, allocations: 202.1 kB / 359.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1134, allocations: 0 / 359.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.1134, allocations: 8 kB / 359.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1134, allocations: 7.938 kB / 359.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.1137, allocations: 87.88 kB / 359.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009007/0.1146, allocations: 488.2 kB / 360.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.1149, allocations: 174.5 kB / 360.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.115, allocations: 56.83 kB / 360.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1151, allocations: 4 kB / 360.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1151, allocations: 30.56 kB / 360.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1151, allocations: 0 / 360.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004898/0.1156, allocations: 221.5 kB / 360.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.1158, allocations: 294.7 kB / 361.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.116, allocations: 276.6 kB / 361.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.1161, allocations: 29.7 kB / 361.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1162, allocations: 156.4 kB / 361.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.1162, allocations: 51.25 kB / 361.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.1163, allocations: 61.8 kB / 361.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1165, allocations: 342.8 kB / 362 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.1167, allocations: 103.9 kB / 362.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.1169, allocations: 180.5 kB / 362.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.1173, allocations: 205.5 kB / 362.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1173, allocations: 3.938 kB / 362.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000483/0.1178, allocations: 301.3 kB / 362.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1178, allocations: 4 kB / 362.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.1178, allocations: 4 kB / 362.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1178, allocations: 3.938 kB / 362.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.1181, allocations: 59.89 kB / 362.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1181, allocations: 0 / 362.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1183, allocations: 23.69 kB / 362.9 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1183, allocations: 11.98 kB / 362.9 MB, free: 7.223 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.0001289/0.1184, allocations: 153.8 kB / 363.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.1185, allocations: 23.72 kB / 363.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.1185, allocations: 29.98 kB / 363.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1186, allocations: 3.938 kB / 363.1 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1186, allocations: 3.984 kB / 363.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1186, allocations: 4 kB / 363.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.1189, allocations: 261.5 kB / 363.4 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1189, allocations: 0 / 363.4 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.1191, allocations: 27.98 kB / 363.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1191, allocations: 0 / 363.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.1191, allocations: 11.98 kB / 363.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1191, allocations: 7.938 kB / 363.4 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1191, allocations: 0 / 363.4 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.1196, allocations: 342.9 kB / 363.8 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1196, allocations: 96.83 kB / 363.9 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.1197, allocations: 7.984 kB / 363.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.1198, allocations: 12 kB / 363.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1199, allocations: 11.98 kB / 363.9 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-06/0.1199, allocations: 4 kB / 363.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1201, allocations: 199.1 kB / 364.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1201, allocations: 0 / 364.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.1204, allocations: 75.98 kB / 364.2 MB, free: 5.875 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.0008691/0.1213, allocations: 0.9257 MB / 365.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004614/0.1218, allocations: 288.9 kB / 365.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1218, allocations: 0 / 365.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1219, allocations: 63.89 kB / 365.4 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.1224, allocations: 72.48 kB / 365.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.1258, allocations: 2.797 MB / 368.3 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1262, allocations: 0.7714 MB / 369.1 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.1263, allocations: 50.16 kB / 369.1 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.1265, allocations: 83.41 kB / 369.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1265, allocations: 0 / 369.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2004/0.3268, allocations: 6.434 MB / 375.6 MB, free: 25.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.393, allocations: 11.02 kB / 375.6 MB, free: 25.57 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