Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.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.00129/0.00129, 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.001415/0.001415, 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.657/1.657, allocations: 207.6 MB / 231.8 MB, free: 4.031 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.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",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.001801/0.001801, allocations: 59.86 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1179, allocations: 49.13 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003377/0.1212, allocations: 2.003 MB / 393.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006361/0.1276, allocations: 3.743 MB / 397.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.1278, allocations: 19.75 kB / 397.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.1284, allocations: 183.1 kB / 397.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.1286, allocations: 47.59 kB / 397.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004826/0.1334, allocations: 1.943 MB / 399.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1344, allocations: 0.491 MB / 399.8 MB, free: 256 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.1346, allocations: 40.98 kB / 399.9 MB, free: 212 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.1349, allocations: 183.4 kB / 400 MB, free: 28 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.1352, allocations: 171.1 kB / 400.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.1352, allocations: 24 kB / 400.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.1384, allocations: 1.795 MB / 402 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.1386, allocations: 127.5 kB / 402.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.1388, allocations: 170.9 kB / 402.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.1413, allocations: 1.777 MB / 404.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1413, allocations: 4 kB / 404.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1413, allocations: 0 / 404.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1413, allocations: 0 / 404.1 MB, free: 11.96 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001894/0.1432, allocations: 0.9105 MB / 405 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1432, allocations: 8.031 kB / 405 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.772e-05/0.1433, allocations: 54.73 kB / 405.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/0.1434, allocations: 48.61 kB / 405.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.1439, allocations: 354.6 kB / 405.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1439, allocations: 20.59 kB / 405.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.144, allocations: 32.08 kB / 405.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.1446, allocations: 303.1 kB / 405.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1446, allocations: 0 / 405.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.1446, allocations: 8 kB / 405.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1446, allocations: 12 kB / 405.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.1449, allocations: 147.8 kB / 406 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.1463, allocations: 0.6757 MB / 406.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.147, allocations: 322.3 kB / 407 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.1472, allocations: 100.9 kB / 407.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1472, allocations: 7.938 kB / 407.1 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1472, allocations: 34.56 kB / 407.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.1472, allocations: 3.938 kB / 407.1 MB, free: 8.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007813/0.148, allocations: 393.5 kB / 407.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002522/0.1482, allocations: 363.8 kB / 407.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.1487, allocations: 409.8 kB / 408.3 MB, free: 7.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.1488, allocations: 37.7 kB / 408.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.1489, allocations: 188.9 kB / 408.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.149, allocations: 91.22 kB / 408.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.1492, allocations: 101.7 kB / 408.7 MB, free: 7.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1494, allocations: 358.7 kB / 409 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.1497, allocations: 212.4 kB / 409.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.1502, allocations: 314.3 kB / 409.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/0.1508, allocations: 401.5 kB / 409.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1508, allocations: 0 / 409.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001198/0.152, allocations: 0.6463 MB / 410.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.152, allocations: 4 kB / 410.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/0.1521, allocations: 8 kB / 410.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/0.1525, allocations: 130.5 kB / 410.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.1528, allocations: 67.89 kB / 410.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/0.1571, allocations: 4.558 MB / 415.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.1574, allocations: 51.8 kB / 415.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.1575, allocations: 12 kB / 415.4 MB, free: 15.83 MB / 350.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002951/0.1578, allocations: 173.8 kB / 415.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/0.1579, allocations: 43.7 kB / 415.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.158, allocations: 47.73 kB / 415.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.158, allocations: 7.938 kB / 415.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.158, allocations: 0 / 415.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.158, allocations: 4 kB / 415.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.1584, allocations: 349.3 kB / 416 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1585, allocations: 0 / 416 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.1588, allocations: 43.91 kB / 416.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1588, allocations: 4 kB / 416.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.1588, allocations: 11.98 kB / 416.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1588, allocations: 3.938 kB / 416.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1588, allocations: 0 / 416.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.1596, allocations: 0.5028 MB / 416.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/0.1597, allocations: 112.8 kB / 416.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.1598, allocations: 23.92 kB / 416.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.16, allocations: 12 kB / 416.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.16, allocations: 11.97 kB / 416.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.16, allocations: 4 kB / 416.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.1604, allocations: 271.1 kB / 417 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 0 / 417 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00222/0.1626, allocations: 0.6558 MB / 417.7 MB, free: 13.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002848/0.1654, allocations: 1.607 MB / 419.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.167, allocations: 0.9221 MB / 420.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.167, allocations: 0 / 420.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.1672, allocations: 124 kB / 420.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.1679, allocations: 137 kB / 420.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/0.1746, allocations: 4.511 MB / 425 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.1752, allocations: 0.838 MB / 425.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.1754, allocations: 62.94 kB / 425.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.1757, allocations: 135.4 kB / 426 MB, free: 4.914 MB / 350.1 MB Notification: Performance of SimCode: time 1.423e-06/0.1757, allocations: 0 / 426 MB, free: 4.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05785/0.2335, allocations: 17.16 MB / 443.1 MB, free: 3.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.9, allocations: 11.86 kB / 443.2 MB, free: 3.68 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_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_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Butterworth.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable Butterworth.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[1] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[1] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[1] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[1] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.817234703994473]