Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1098, allocations: 53.37 MB / 426.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003512/0.1133, allocations: 2.024 MB / 428.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006487/0.1198, allocations: 3.756 MB / 432.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.1201, allocations: 19.75 kB / 432.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.1207, allocations: 187.1 kB / 432.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.1208, allocations: 43.58 kB / 432.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005153/0.126, allocations: 1.935 MB / 434.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009174/0.1269, allocations: 0.4948 MB / 434.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1271, allocations: 29.08 kB / 434.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.1274, allocations: 191.4 kB / 435 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.1278, allocations: 175.1 kB / 435.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.797e-05/0.1279, allocations: 24 kB / 435.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.1312, allocations: 1.819 MB / 437 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.1314, allocations: 119.6 kB / 437.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.1317, allocations: 166.9 kB / 437.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.1345, allocations: 1.785 MB / 439.1 MB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1346, allocations: 3.938 kB / 439.1 MB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1346, allocations: 0 / 439.1 MB, free: 7.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.1346, allocations: 0 / 439.1 MB, free: 7.871 MB / 366.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.002319/0.1369, allocations: 0.9221 MB / 440 MB, free: 6.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1369, allocations: 15.98 kB / 440 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.163e-05/0.137, allocations: 46.73 kB / 440.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.1371, allocations: 52.61 kB / 440.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.1377, allocations: 358.5 kB / 440.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1377, allocations: 16.66 kB / 440.5 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.1377, allocations: 32.08 kB / 440.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/0.1383, allocations: 303.7 kB / 440.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1383, allocations: 4 kB / 440.8 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.1383, allocations: 4 kB / 440.8 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1383, allocations: 4 kB / 440.8 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.1386, allocations: 148.7 kB / 441 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.1399, allocations: 0.6719 MB / 441.7 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.1406, allocations: 321.3 kB / 442 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.1408, allocations: 100.8 kB / 442.1 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1408, allocations: 8 kB / 442.1 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.1409, allocations: 42.88 kB / 442.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.1409, allocations: 0 / 442.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007613/0.1416, allocations: 381.1 kB / 442.5 MB, free: 4.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/0.1418, allocations: 363.8 kB / 442.8 MB, free: 3.816 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.1423, allocations: 409.8 kB / 443.2 MB, free: 3.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.1423, allocations: 33.7 kB / 443.3 MB, free: 3.363 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.1425, allocations: 204.9 kB / 443.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.1426, allocations: 83.3 kB / 443.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.1428, allocations: 101.7 kB / 443.7 MB, free: 2.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.143, allocations: 362.8 kB / 444 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.1433, allocations: 208.2 kB / 444.2 MB, free: 2.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.1438, allocations: 318.3 kB / 444.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.1444, allocations: 393.6 kB / 444.9 MB, free: 1.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1444, allocations: 0 / 444.9 MB, free: 1.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001229/0.1456, allocations: 0.6539 MB / 445.6 MB, free: 1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1456, allocations: 12 kB / 445.6 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/0.1457, allocations: 4 kB / 445.6 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/0.1461, allocations: 126.5 kB / 445.7 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.1464, allocations: 63.89 kB / 445.8 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2087/0.3551, allocations: 4.546 MB / 450.3 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.3554, allocations: 52.02 kB / 450.4 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.3555, allocations: 13.31 kB / 450.4 MB, free: 19.51 MB / 366.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.0002361/0.3557, allocations: 179 kB / 450.6 MB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3558, allocations: 40.2 kB / 450.6 MB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.321e-05/0.3559, allocations: 42.66 kB / 450.6 MB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3559, allocations: 5.656 kB / 450.6 MB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3559, allocations: 3.531 kB / 450.6 MB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3559, allocations: 0 / 450.6 MB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.3563, allocations: 349.5 kB / 451 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3563, allocations: 0 / 451 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.3566, allocations: 41.44 kB / 451 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3566, allocations: 3.969 kB / 451 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.3566, allocations: 11.88 kB / 451 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3566, allocations: 1.531 kB / 451 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3566, allocations: 2.375 kB / 451 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.3572, allocations: 0.51 MB / 451.6 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.3573, allocations: 115 kB / 451.7 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.3573, allocations: 12.94 kB / 451.7 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.3575, allocations: 12.3 kB / 451.7 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.3575, allocations: 16.59 kB / 451.7 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.3576, allocations: 5.859 kB / 451.7 MB, free: 18.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.3578, allocations: 274.8 kB / 452 MB, free: 18.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3578, allocations: 7.25 kB / 452 MB, free: 18.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001912/0.3597, allocations: 0.6591 MB / 452.6 MB, free: 18.86 MB / 366.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.002364/0.3621, allocations: 1.603 MB / 454.3 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.3634, allocations: 0.925 MB / 455.2 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.3634, allocations: 0.9375 kB / 455.2 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.3636, allocations: 115.2 kB / 455.3 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.3643, allocations: 117.3 kB / 455.4 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/0.3709, allocations: 4.515 MB / 459.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3712, allocations: 0.8417 MB / 460.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.3714, allocations: 70.23 kB / 460.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3716, allocations: 127.6 kB / 461 MB, free: 14.7 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3716, allocations: 0 / 461 MB, free: 14.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05405/0.4256, allocations: 17.24 MB / 478.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.79, allocations: 6.25 kB / 478.2 MB, free: 8.539 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable Butterworth.x[3] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[1] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[1] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[2] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[2] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[3] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[3] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[1] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[1] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[2] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[2] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[3] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[3] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.486150278011337]