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.001338/0.001338, allocations: 117.9 kB / 18.45 MB, free: 4.609 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.001496/0.001496, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.68/1.68, allocations: 207.6 MB / 231.8 MB, free: 4.07 MB / 174.1 MB " [Timeout remaining time 178] 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="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.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.002558/0.002558, allocations: 60.47 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1163, allocations: 49.12 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003342/0.1196, allocations: 1.824 MB / 393.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006219/0.1259, allocations: 3.568 MB / 396.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.1261, allocations: 15.81 kB / 396.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.1265, allocations: 131.3 kB / 396.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.1266, allocations: 43.59 kB / 397 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004494/0.1311, allocations: 1.77 MB / 398.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005211/0.1317, allocations: 307.1 kB / 399 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1318, allocations: 20.73 kB / 399.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.132, allocations: 111.6 kB / 399.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1321, allocations: 111.3 kB / 399.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.1322, allocations: 12 kB / 399.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.1325, allocations: 159.7 kB / 399.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1326, allocations: 67.7 kB / 399.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1327, allocations: 103.3 kB / 399.6 MB, free: 468 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.1332, allocations: 346.5 kB / 400 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1332, allocations: 0 / 400 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1332, allocations: 0 / 400 MB, free: 120 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1332, allocations: 4 kB / 400 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.0009549/0.1341, allocations: 0.5837 MB / 400.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1342, allocations: 8.031 kB / 400.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.095e-05/0.1343, allocations: 42.73 kB / 400.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.1343, allocations: 40.73 kB / 400.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.1348, allocations: 296.3 kB / 400.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1348, allocations: 12.31 kB / 400.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.1349, allocations: 16 kB / 401 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.1352, allocations: 198.1 kB / 401.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1352, allocations: 3.938 kB / 401.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1353, allocations: 8 kB / 401.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1353, allocations: 0 / 401.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.1355, allocations: 91.81 kB / 401.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.1363, allocations: 496.6 kB / 401.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1366, allocations: 158.5 kB / 401.9 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.1368, allocations: 56.83 kB / 401.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1368, allocations: 0 / 401.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1368, allocations: 42.55 kB / 402 MB, free: 13.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.1368, allocations: 0 / 402 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005007/0.1373, allocations: 225.4 kB / 402.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.1375, allocations: 286.7 kB / 402.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.1378, allocations: 280.5 kB / 402.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.1378, allocations: 33.7 kB / 402.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1379, allocations: 152.5 kB / 402.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.138, allocations: 59.56 kB / 403 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.1381, allocations: 57.7 kB / 403.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1383, allocations: 338.8 kB / 403.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1384, allocations: 103.9 kB / 403.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.1387, allocations: 184.4 kB / 403.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.1391, allocations: 213.6 kB / 403.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1391, allocations: 3.938 kB / 403.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005228/0.1396, allocations: 305.3 kB / 404.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1396, allocations: 8 kB / 404.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.1397, allocations: 7.984 kB / 404.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1397, allocations: 0 / 404.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.14, allocations: 51.91 kB / 404.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.14, allocations: 7.938 kB / 404.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1401, allocations: 23.78 kB / 404.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.1401, allocations: 15.98 kB / 404.3 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.0001679/0.1403, allocations: 149.8 kB / 404.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.1403, allocations: 27.81 kB / 404.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.1404, allocations: 29.97 kB / 404.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1404, allocations: 4 kB / 404.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1404, allocations: 3.938 kB / 404.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1404, allocations: 0 / 404.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.1408, allocations: 261.5 kB / 404.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1408, allocations: 0 / 404.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.141, allocations: 27.98 kB / 404.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.141, allocations: 96 / 404.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.141, allocations: 7.938 kB / 404.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.141, allocations: 0 / 404.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.141, allocations: 3.938 kB / 404.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.1416, allocations: 339.2 kB / 405.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.1416, allocations: 108.9 kB / 405.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1417, allocations: 4 kB / 405.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1418, allocations: 12.05 kB / 405.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.1419, allocations: 7.938 kB / 405.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1419, allocations: 4 kB / 405.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.1421, allocations: 199.1 kB / 405.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1421, allocations: 0 / 405.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.1425, allocations: 83.81 kB / 405.5 MB, free: 10.09 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.001104/0.1436, allocations: 0.908 MB / 406.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005158/0.1441, allocations: 276.9 kB / 406.7 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1441, allocations: 0 / 406.7 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1442, allocations: 63.91 kB / 406.8 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.0005054/0.1447, allocations: 92.5 kB / 406.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.1486, allocations: 2.783 MB / 409.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.1491, allocations: 0.7752 MB / 410.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1493, allocations: 41.91 kB / 410.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.1494, allocations: 83.41 kB / 410.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of SimCode: time 1.342e-06/0.1494, allocations: 4 kB / 410.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.1842, allocations: 6.57 MB / 417.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.368, allocations: 8.812 kB / 417.1 MB, free: 14.29 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 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.csv","/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] "Error: Could not read variable filter_fac5.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.20307542399678]