Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001283/0.001283, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001416/0.001416, allocations: 212.9 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 55.91 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2507, allocations: 53.36 MB / 431.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003303/0.254, allocations: 2.037 MB / 433.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006363/0.2604, allocations: 3.768 MB / 436.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.2606, allocations: 19.75 kB / 437 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.2612, allocations: 187.1 kB / 437.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.2613, allocations: 51.5 kB / 437.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.2657, allocations: 1.933 MB / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006684/0.2664, allocations: 0.4988 MB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2665, allocations: 25.28 kB / 439.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.2667, allocations: 191.4 kB / 439.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.267, allocations: 179.1 kB / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.267, allocations: 24 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.2699, allocations: 1.919 MB / 441.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.27, allocations: 127.5 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.2702, allocations: 162.9 kB / 442.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.2724, allocations: 1.808 MB / 444 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2724, allocations: 0 / 444 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2724, allocations: 0 / 444 MB, free: 9.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.2724, allocations: 7.875 kB / 444 MB, free: 9.883 MB / 350.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.001884/0.2743, allocations: 0.8391 MB / 444.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.2744, allocations: 8.031 kB / 444.9 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.593e-05/0.2744, allocations: 50.75 kB / 444.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.2746, allocations: 56.59 kB / 445 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.2751, allocations: 287.3 kB / 445.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.2752, allocations: 20.64 kB / 445.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.2752, allocations: 36.08 kB / 445.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.2758, allocations: 311.9 kB / 445.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2758, allocations: 0 / 445.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.2758, allocations: 4 kB / 445.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2758, allocations: 4 kB / 445.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.2761, allocations: 144.7 kB / 445.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.2775, allocations: 0.6436 MB / 446.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.2782, allocations: 318.6 kB / 446.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.2784, allocations: 100.8 kB / 446.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.2784, allocations: 4 kB / 446.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.2785, allocations: 42.61 kB / 446.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.2785, allocations: 0 / 446.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007507/0.2792, allocations: 382.8 kB / 447.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002257/0.2795, allocations: 367.8 kB / 447.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.2799, allocations: 409.9 kB / 448 MB, free: 5.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.2799, allocations: 33.7 kB / 448.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.2801, allocations: 200.9 kB / 448.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.2802, allocations: 91.27 kB / 448.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.2804, allocations: 101.6 kB / 448.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.2806, allocations: 362.7 kB / 448.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.2809, allocations: 204.2 kB / 449 MB, free: 4.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.2814, allocations: 314 kB / 449.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.282, allocations: 396.6 kB / 449.7 MB, free: 3.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.282, allocations: 4 kB / 449.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001169/0.2832, allocations: 0.6489 MB / 450.3 MB, free: 3.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2832, allocations: 4 kB / 450.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/0.2832, allocations: 11.98 kB / 450.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004687/0.2837, allocations: 130.4 kB / 450.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.284, allocations: 59.95 kB / 450.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/0.2881, allocations: 4.256 MB / 454.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.2884, allocations: 43.69 kB / 454.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.2884, allocations: 16 kB / 454.9 MB, free: 14.36 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.0002764/0.2887, allocations: 173.8 kB / 455 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.2888, allocations: 43.7 kB / 455.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.621e-05/0.2889, allocations: 43.91 kB / 455.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.2889, allocations: 15.88 kB / 455.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2889, allocations: 0 / 455.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2889, allocations: 0 / 455.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.2893, allocations: 324.3 kB / 455.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2893, allocations: 3.984 kB / 455.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.2896, allocations: 39.92 kB / 455.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2896, allocations: 0 / 455.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.2896, allocations: 11.98 kB / 455.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.2897, allocations: 7.938 kB / 455.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2897, allocations: 0 / 455.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007449/0.2904, allocations: 0.5012 MB / 456 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.2905, allocations: 39.66 kB / 456 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.2905, allocations: 15.92 kB / 456.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.2907, allocations: 15.98 kB / 456.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.2907, allocations: 11.98 kB / 456.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.2907, allocations: 4 kB / 456.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.2911, allocations: 279.1 kB / 456.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2911, allocations: 0 / 456.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002151/0.2932, allocations: 0.6559 MB / 457 MB, free: 12.13 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.002265/0.2955, allocations: 1.61 MB / 458.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.297, allocations: 0.9287 MB / 459.6 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.297, allocations: 0 / 459.6 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.2972, allocations: 123.9 kB / 459.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.2978, allocations: 121.5 kB / 459.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00633/0.3042, allocations: 4.507 MB / 464.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.3047, allocations: 0.8419 MB / 465.1 MB, free: 3.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.3049, allocations: 58.94 kB / 465.2 MB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.3051, allocations: 131.4 kB / 465.3 MB, free: 3.586 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3051, allocations: 0 / 465.3 MB, free: 3.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05549/0.3605, allocations: 17.44 MB / 482.8 MB, free: 2.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.5, allocations: 14.44 kB / 482.8 MB, free: 2.305 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable Butterworth.x[3] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[1] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[1] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[2] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[2] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[3] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[3] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[1] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[1] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[2] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[2] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[3] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[3] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.134869487999822]