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.0009969/0.0009969, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003347/0.003347, allocations: 164.3 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8325/0.8325, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 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="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: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.274e-05, allocations: 6.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002052/0.002064, allocations: 1.757 MB / 300.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.134/0.136, allocations: 3.309 MB / 303.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1362, allocations: 15.22 kB / 303.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.1366, allocations: 139.8 kB / 303.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.1367, allocations: 37.03 kB / 303.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.1396, allocations: 1.861 MB / 305.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1399, allocations: 311.9 kB / 305.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.14, allocations: 25.23 kB / 305.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1402, allocations: 151.7 kB / 306 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.799e-05/0.1403, allocations: 81.88 kB / 306.1 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1403, allocations: 16.56 kB / 306.1 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.1405, allocations: 170.2 kB / 306.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.1406, allocations: 72.8 kB / 306.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.1407, allocations: 62.84 kB / 306.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.141, allocations: 359.3 kB / 306.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.141, allocations: 0 / 306.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.141, allocations: 3.938 kB / 306.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.141, allocations: 0 / 306.8 MB, free: 12.21 MB / 282.7 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.0005512/0.1416, allocations: 0.5042 MB / 307.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1416, allocations: 13.73 kB / 307.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.1417, allocations: 50.67 kB / 307.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1417, allocations: 31.06 kB / 307.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.142, allocations: 228 kB / 307.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.142, allocations: 10.25 kB / 307.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.142, allocations: 14.84 kB / 307.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.1423, allocations: 442.2 kB / 308 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1423, allocations: 4 kB / 308 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1423, allocations: 6.156 kB / 308 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1423, allocations: 2.312 kB / 308.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1424, allocations: 85.73 kB / 308.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.1429, allocations: 438.4 kB / 308.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1432, allocations: 162.6 kB / 308.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.1432, allocations: 58.2 kB / 308.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.1432, allocations: 9.172 kB / 308.8 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.1433, allocations: 38.72 kB / 308.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.1433, allocations: 0 / 308.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003274/0.1436, allocations: 222.8 kB / 309 MB, free: 10.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.1436, allocations: 291.8 kB / 309.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1438, allocations: 275 kB / 309.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1438, allocations: 31.11 kB / 309.6 MB, free: 9.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.1439, allocations: 159.7 kB / 309.8 MB, free: 9.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1439, allocations: 49.97 kB / 309.8 MB, free: 9.805 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.144, allocations: 62.31 kB / 309.9 MB, free: 9.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.1441, allocations: 344.2 kB / 310.2 MB, free: 9.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1442, allocations: 102 kB / 310.3 MB, free: 9.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.1443, allocations: 415.1 kB / 310.7 MB, free: 9.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.1446, allocations: 209.2 kB / 310.9 MB, free: 8.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1446, allocations: 1.094 kB / 310.9 MB, free: 8.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003201/0.1449, allocations: 305.5 kB / 311.2 MB, free: 8.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1449, allocations: 7.875 kB / 311.2 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.1449, allocations: 5.922 kB / 311.3 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1449, allocations: 6.109 kB / 311.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1451, allocations: 54.73 kB / 311.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1451, allocations: 2.047 kB / 311.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.1452, allocations: 28.75 kB / 311.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1452, allocations: 6.562 kB / 311.3 MB, free: 8.793 MB / 282.7 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 8.178e-05/0.1453, allocations: 153.7 kB / 311.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.1453, allocations: 30.08 kB / 311.5 MB, free: 8.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.1453, allocations: 25.97 kB / 311.6 MB, free: 8.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1453, allocations: 2.719 kB / 311.6 MB, free: 8.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1453, allocations: 4 kB / 311.6 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.1453, allocations: 0.75 kB / 311.6 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.1455, allocations: 224.7 kB / 311.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1455, allocations: 0.75 kB / 311.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1456, allocations: 23.48 kB / 311.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1456, allocations: 1.312 kB / 311.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1456, allocations: 10 kB / 311.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1456, allocations: 2.062 kB / 311.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1456, allocations: 0 / 311.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1459, allocations: 352.4 kB / 312.2 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.146, allocations: 23.75 kB / 312.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.146, allocations: 9.266 kB / 312.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.146, allocations: 7.141 kB / 312.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.1461, allocations: 7.734 kB / 312.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1461, allocations: 12.11 kB / 312.2 MB, free: 8.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1462, allocations: 194.7 kB / 312.4 MB, free: 8.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1462, allocations: 0 / 312.4 MB, free: 8.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.1465, allocations: 79.61 kB / 312.5 MB, free: 8.055 MB / 282.7 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.0004952/0.147, allocations: 0.9244 MB / 313.4 MB, free: 7.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.1473, allocations: 267.9 kB / 313.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1473, allocations: 1.375 kB / 313.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.1473, allocations: 61.2 kB / 313.7 MB, free: 7.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1477, allocations: 69.86 kB / 313.8 MB, free: 7.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.15, allocations: 2.767 MB / 316.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.1501, allocations: 165.2 kB / 316.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.1502, allocations: 44.78 kB / 316.8 MB, free: 5.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.1503, allocations: 81.81 kB / 316.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1503, allocations: 0 / 316.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.1718, allocations: 7.538 MB / 324.4 MB, free: 1.801 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/7.115, allocations: 9.062 kB / 324.4 MB, free: 1.793 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/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] "" Variables in the reference:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1],filter_fac5.x[2] Variables in the result:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1] [Calling sys.exit(0), Time elapsed: 8.825594319030643]