Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001394/0.001394, allocations: 111.6 kB / 18.45 MB, free: 4.59 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.001449/0.001449, allocations: 219.2 kB / 21.42 MB, free: 1.625 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.663/1.663, allocations: 207.6 MB / 231.8 MB, free: 4.047 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.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",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.001805/0.001805, allocations: 59.84 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1126, allocations: 49.13 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002944/0.1156, allocations: 1.603 MB / 393 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005536/0.1211, allocations: 3.228 MB / 396.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1212, allocations: 7.938 kB / 396.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1216, allocations: 51.75 kB / 396.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.1216, allocations: 15.86 kB / 396.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.1251, allocations: 1.423 MB / 397.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.1254, allocations: 151.6 kB / 397.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1255, allocations: 21.11 kB / 397.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.378e-05/0.1256, allocations: 55.77 kB / 398 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1257, allocations: 51.77 kB / 398 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.1257, allocations: 8 kB / 398 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.1274, allocations: 1.386 MB / 399.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.1275, allocations: 39.84 kB / 399.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.1276, allocations: 59.55 kB / 399.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.1289, allocations: 1.204 MB / 400.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.129, allocations: 0 / 400.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.129, allocations: 0 / 400.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.129, allocations: 4 kB / 400.7 MB, free: 15.38 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001185/0.1302, allocations: 0.5572 MB / 401.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.1302, allocations: 12.03 kB / 401.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.1303, allocations: 38.73 kB / 401.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.1303, allocations: 16.84 kB / 401.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1306, allocations: 220.1 kB / 401.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1306, allocations: 8.375 kB / 401.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.1307, allocations: 20.06 kB / 401.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.1309, allocations: 121 kB / 401.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.131, allocations: 4 kB / 401.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.131, allocations: 7.938 kB / 401.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.131, allocations: 0 / 401.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.1311, allocations: 59.89 kB / 401.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.1318, allocations: 380.6 kB / 402.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.1322, allocations: 130.5 kB / 402.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-05/0.1323, allocations: 36.83 kB / 402.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1323, allocations: 4 kB / 402.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.1324, allocations: 42.55 kB / 402.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.1324, allocations: 0 / 402.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002545/0.1349, allocations: 1.215 MB / 403.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.135, allocations: 128.5 kB / 403.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1352, allocations: 175.1 kB / 403.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.1353, allocations: 29.7 kB / 403.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.1354, allocations: 112.5 kB / 404 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.678e-05/0.1355, allocations: 55.48 kB / 404 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.1356, allocations: 45.7 kB / 404.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1357, allocations: 326.8 kB / 404.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.1359, allocations: 99.88 kB / 404.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.1361, allocations: 135.4 kB / 404.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.1364, allocations: 208.7 kB / 404.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1364, allocations: 0 / 404.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006586/0.1371, allocations: 310.3 kB / 405.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1371, allocations: 4 kB / 405.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.1371, allocations: 0 / 405.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.1374, allocations: 48.81 kB / 405.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1376, allocations: 27.98 kB / 405.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.1392, allocations: 1.527 MB / 406.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1393, allocations: 4.031 kB / 406.8 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1393, allocations: 8 kB / 406.8 MB, free: 8.77 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.1395, allocations: 137.8 kB / 406.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.1395, allocations: 15.91 kB / 406.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.1396, allocations: 21.52 kB / 406.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1396, allocations: 4 kB / 406.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1396, allocations: 8 kB / 406.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1396, allocations: 0 / 406.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.1399, allocations: 245.5 kB / 407.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1399, allocations: 0 / 407.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.1402, allocations: 51.97 kB / 407.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1402, allocations: 4 kB / 407.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1402, allocations: 0 / 407.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1402, allocations: 0 / 407.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1402, allocations: 3.938 kB / 407.2 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.1409, allocations: 423.1 kB / 407.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.011e-05/0.141, allocations: 97.12 kB / 407.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.141, allocations: 4 kB / 407.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1411, allocations: 8 kB / 407.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.1412, allocations: 11.92 kB / 407.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1413, allocations: 7.938 kB / 407.8 MB, free: 7.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.1414, allocations: 127.9 kB / 407.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1414, allocations: 8 kB / 407.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002475/0.1439, allocations: 0.5155 MB / 408.4 MB, free: 7.008 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.0024/0.1463, allocations: 1.384 MB / 409.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009595/0.1472, allocations: 382.1 kB / 410.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1472, allocations: 0 / 410.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.1474, allocations: 87.89 kB / 410.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1478, allocations: 40.58 kB / 410.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.1523, allocations: 2.461 MB / 412.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.1528, allocations: 0.728 MB / 413.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.1529, allocations: 33.05 kB / 413.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.281e-05/0.153, allocations: 43.42 kB / 413.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of SimCode: time 1.082e-06/0.153, allocations: 0 / 413.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04065/0.1936, allocations: 9.913 MB / 423.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.947/10.14, allocations: 8.609 kB / 423.5 MB, free: 7.707 MB / 350.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000179856 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Bessel.x[1] in file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[1] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.008996406992082]