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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 122.2 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.391/1.391, allocations: 207.6 MB / 231.8 MB, free: 4.016 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.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_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 55.91 kB / 342.2 MB, free: 10.13 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.0974, allocations: 49.12 MB / 391.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003027/0.1004, allocations: 1.824 MB / 393.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005646/0.1061, allocations: 3.575 MB / 396.8 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1062, allocations: 3.938 kB / 396.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004286/0.1066, allocations: 131.4 kB / 396.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.714e-05/0.1067, allocations: 43.64 kB / 396.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.1105, allocations: 1.77 MB / 398.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.1109, allocations: 303.1 kB / 399 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.111, allocations: 20.73 kB / 399 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1112, allocations: 111.5 kB / 399.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1113, allocations: 115.4 kB / 399.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1113, allocations: 16 kB / 399.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.1116, allocations: 147.7 kB / 399.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1117, allocations: 79.67 kB / 399.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.881e-05/0.1118, allocations: 91.36 kB / 399.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.1123, allocations: 346.6 kB / 399.9 MB, free: 272 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1123, allocations: 0 / 399.9 MB, free: 272 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1123, allocations: 0 / 399.9 MB, free: 272 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1123, allocations: 0 / 399.9 MB, free: 272 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.0008946/0.1132, allocations: 0.5915 MB / 400.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1132, allocations: 12.03 kB / 400.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.733e-05/0.1133, allocations: 42.73 kB / 400.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.1133, allocations: 36.69 kB / 400.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.1138, allocations: 284.4 kB / 400.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.1138, allocations: 20.3 kB / 400.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.1138, allocations: 12 kB / 400.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.1142, allocations: 210 kB / 401.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1142, allocations: 0 / 401.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.1142, allocations: 4 kB / 401.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1142, allocations: 8 kB / 401.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.1144, allocations: 87.86 kB / 401.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008314/0.1152, allocations: 496.6 kB / 401.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.1155, allocations: 158.5 kB / 401.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1156, allocations: 64.81 kB / 401.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1156, allocations: 0 / 401.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.1157, allocations: 34.56 kB / 401.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.1157, allocations: 0 / 401.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004697/0.1161, allocations: 221.5 kB / 402.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.1163, allocations: 294.7 kB / 402.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.1166, allocations: 280.5 kB / 402.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1166, allocations: 33.7 kB / 402.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1168, allocations: 156.5 kB / 402.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.1168, allocations: 51.59 kB / 402.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.1169, allocations: 61.69 kB / 403 MB, free: 12.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.117, allocations: 342.8 kB / 403.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.1172, allocations: 95.95 kB / 403.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.1175, allocations: 192.5 kB / 403.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.1178, allocations: 209.4 kB / 403.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1178, allocations: 0 / 403.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004737/0.1183, allocations: 305.3 kB / 404.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1183, allocations: 4 kB / 404.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.1183, allocations: 11.98 kB / 404.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1183, allocations: 0 / 404.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.1186, allocations: 55.91 kB / 404.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1186, allocations: 3.938 kB / 404.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1187, allocations: 27.77 kB / 404.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.1187, allocations: 8 kB / 404.2 MB, free: 11.57 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.0001432/0.1189, allocations: 145.8 kB / 404.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.1189, allocations: 27.81 kB / 404.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.119, allocations: 37.97 kB / 404.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.119, allocations: 0 / 404.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.119, allocations: 3.938 kB / 404.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.119, allocations: 0 / 404.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.1193, allocations: 265.6 kB / 404.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1193, allocations: 7.938 kB / 404.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.1195, allocations: 19.98 kB / 404.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.1195, allocations: 4 kB / 404.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1195, allocations: 0 / 404.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1195, allocations: 0 / 404.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1195, allocations: 7.938 kB / 404.7 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.12, allocations: 351.6 kB / 405.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.1201, allocations: 100.9 kB / 405.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.1201, allocations: 4 kB / 405.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1202, allocations: 12.05 kB / 405.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.1203, allocations: 8.062 kB / 405.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1203, allocations: 15.98 kB / 405.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.1205, allocations: 195.1 kB / 405.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1205, allocations: 0 / 405.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.1208, allocations: 79.81 kB / 405.5 MB, free: 10.22 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.0009444/0.1218, allocations: 0.9113 MB / 406.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004367/0.1222, allocations: 264.9 kB / 406.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1222, allocations: 0 / 406.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1223, allocations: 63.91 kB / 406.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.1228, allocations: 84.27 kB / 406.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.1262, allocations: 2.8 MB / 409.6 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.1267, allocations: 0.7635 MB / 410.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.1268, allocations: 41.92 kB / 410.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.1269, allocations: 91.34 kB / 410.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1269, allocations: 0 / 410.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.1571, allocations: 6.559 MB / 417.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.408, allocations: 12.67 kB / 417.1 MB, free: 14.44 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.711785343941301]