Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 114.7 kB / 19.16 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 211.8 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 207.6 MB / 232.5 MB, free: 3.926 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 51.92 kB / 343 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08069/0.08232, allocations: 49.13 MB / 392.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00282/0.08514, allocations: 1.823 MB / 393.9 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00546/0.0906, allocations: 3.566 MB / 397.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.09072, allocations: 11.88 kB / 397.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.09111, allocations: 139.3 kB / 397.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.051e-05/0.0912, allocations: 31.66 kB / 397.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.09478, allocations: 1.781 MB / 399.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.09514, allocations: 303.2 kB / 399.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.09523, allocations: 28.67 kB / 399.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.09539, allocations: 111.6 kB / 399.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.09553, allocations: 111.4 kB / 400 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.09556, allocations: 15.94 kB / 400 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.0958, allocations: 147.7 kB / 400.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.0959, allocations: 75.75 kB / 400.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.963e-05/0.096, allocations: 103.2 kB / 400.3 MB, free: 464 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.09639, allocations: 342.6 kB / 400.7 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.0964, allocations: 0 / 400.7 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.0964, allocations: 4 kB / 400.7 MB, free: 116 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.09641, allocations: 0 / 400.7 MB, free: 116 kB / 318.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.0008239/0.09723, allocations: 0.5876 MB / 401.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.09727, allocations: 8.031 kB / 401.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.302e-05/0.09729, allocations: 4.375 kB / 401.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.09733, allocations: 46.73 kB / 401.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.09739, allocations: 36.75 kB / 401.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.09776, allocations: 288.3 kB / 401.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.09778, allocations: 19.94 kB / 401.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.09782, allocations: 12 kB / 401.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.09813, allocations: 202.1 kB / 401.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.09814, allocations: 0 / 401.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.09815, allocations: 4 kB / 401.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.09816, allocations: 7.938 kB / 401.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.09835, allocations: 79.94 kB / 402 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007916/0.09914, allocations: 496.6 kB / 402.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.09942, allocations: 162.4 kB / 402.6 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.09953, allocations: 56.83 kB / 402.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.09955, allocations: 3.984 kB / 402.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.09958, allocations: 42.55 kB / 402.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.09958, allocations: 0 / 402.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004499/0.1, allocations: 221.4 kB / 402.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.1002, allocations: 298.7 kB / 403.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.1005, allocations: 276.5 kB / 403.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.1005, allocations: 33.7 kB / 403.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1006, allocations: 156.6 kB / 403.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.1007, allocations: 59.5 kB / 403.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.1007, allocations: 61.7 kB / 403.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1009, allocations: 338.8 kB / 404.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1011, allocations: 99.94 kB / 404.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.1013, allocations: 180.5 kB / 404.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.1016, allocations: 213.4 kB / 404.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1016, allocations: 0 / 404.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004608/0.1021, allocations: 305.3 kB / 404.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1021, allocations: 4 kB / 404.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.1021, allocations: 7.984 kB / 404.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1022, allocations: 0 / 404.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.1024, allocations: 55.91 kB / 405 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1024, allocations: 3.938 kB / 405 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.1025, allocations: 31.78 kB / 405 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.1026, allocations: 7.984 kB / 405 MB, free: 11.43 MB / 334.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.0001329/0.1027, allocations: 141.8 kB / 405.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.1027, allocations: 31.81 kB / 405.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.1028, allocations: 29.97 kB / 405.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1028, allocations: 3.938 kB / 405.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1028, allocations: 0 / 405.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1028, allocations: 0 / 405.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.1031, allocations: 269.5 kB / 405.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1031, allocations: 0 / 405.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.1033, allocations: 27.92 kB / 405.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1033, allocations: 4 kB / 405.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1033, allocations: 4 kB / 405.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1033, allocations: 3.938 kB / 405.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1033, allocations: 0 / 405.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.1037, allocations: 339.7 kB / 405.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.1038, allocations: 109 kB / 405.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.1039, allocations: 12.06 kB / 406 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.104, allocations: 11.92 kB / 406 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.104, allocations: 4 kB / 406 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.056e-06/0.104, allocations: 4 kB / 406 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.1042, allocations: 195.1 kB / 406.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1042, allocations: 4 kB / 406.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.1045, allocations: 87.75 kB / 406.3 MB, free: 10.08 MB / 334.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.0008423/0.1054, allocations: 0.9037 MB / 407.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004274/0.1058, allocations: 273 kB / 407.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1058, allocations: 0 / 407.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1059, allocations: 63.97 kB / 407.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.1064, allocations: 84.27 kB / 407.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.1097, allocations: 2.784 MB / 410.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.1101, allocations: 0.7714 MB / 411.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1103, allocations: 46.02 kB / 411.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1104, allocations: 87.41 kB / 411.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1104, allocations: 0 / 411.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.1349, allocations: 6.603 MB / 417.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.003, allocations: 8.922 kB / 417.9 MB, free: 14.26 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.322256221959833]