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.001639/0.001639, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001949/0.001949, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.429/1.429, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.0027/0.0027, allocations: 55.91 kB / 377.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2725, allocations: 53.41 MB / 431.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004683/0.2772, allocations: 2.045 MB / 433.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009332/0.2865, allocations: 3.764 MB / 437 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003822/0.2869, allocations: 23.69 kB / 437 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.2877, allocations: 183.1 kB / 437.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.288, allocations: 51.56 kB / 437.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006758/0.2948, allocations: 1.939 MB / 439.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.2959, allocations: 0.5066 MB / 439.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.2961, allocations: 33.25 kB / 439.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.2965, allocations: 187.3 kB / 439.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005668/0.2971, allocations: 175.2 kB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-05/0.2972, allocations: 20 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003927/0.3011, allocations: 1.92 MB / 442 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.3013, allocations: 123.6 kB / 442.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.3015, allocations: 166.9 kB / 442.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.3041, allocations: 1.805 MB / 444.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3042, allocations: 0 / 444.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3042, allocations: 4 kB / 444.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3042, allocations: 0 / 444.1 MB, free: 9.773 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.001817/0.306, allocations: 0.8351 MB / 444.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.306, allocations: 16.03 kB / 444.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.83e-05/0.3061, allocations: 54.73 kB / 445 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.3062, allocations: 48.61 kB / 445 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.3067, allocations: 291.3 kB / 445.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3067, allocations: 16.66 kB / 445.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.3068, allocations: 32.08 kB / 445.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.3073, allocations: 307.6 kB / 445.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3073, allocations: 0 / 445.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.3073, allocations: 8 kB / 445.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3073, allocations: 4 kB / 445.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.3076, allocations: 152.7 kB / 445.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3088, allocations: 0.6397 MB / 446.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.3095, allocations: 322.5 kB / 446.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.3097, allocations: 104.8 kB / 446.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3097, allocations: 4 kB / 446.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3097, allocations: 34.56 kB / 446.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.3097, allocations: 4.109 kB / 446.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007486/0.3105, allocations: 389.3 kB / 447.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.3107, allocations: 367.8 kB / 447.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.3111, allocations: 405.8 kB / 448.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.3112, allocations: 41.64 kB / 448.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.3114, allocations: 192.9 kB / 448.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/0.3114, allocations: 87.27 kB / 448.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.3116, allocations: 101.7 kB / 448.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3118, allocations: 354.7 kB / 448.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.3121, allocations: 216.2 kB / 449 MB, free: 4.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.3126, allocations: 314 kB / 449.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.3133, allocations: 400.6 kB / 449.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3133, allocations: 0 / 449.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001201/0.3145, allocations: 0.6411 MB / 450.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3145, allocations: 14.11 kB / 450.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/0.3145, allocations: 8 kB / 450.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/0.315, allocations: 130.5 kB / 450.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.3153, allocations: 59.91 kB / 450.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/0.3195, allocations: 4.252 MB / 454.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.3197, allocations: 43.69 kB / 454.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.3197, allocations: 16.14 kB / 454.9 MB, free: 14.25 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.0002522/0.32, allocations: 177.7 kB / 455.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.3201, allocations: 47.72 kB / 455.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.383e-05/0.3202, allocations: 39.84 kB / 455.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.3202, allocations: 3.938 kB / 455.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3202, allocations: 4 kB / 455.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3202, allocations: 3.938 kB / 455.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.3206, allocations: 320.4 kB / 455.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3206, allocations: 4 kB / 455.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.3209, allocations: 43.91 kB / 455.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3209, allocations: 4 kB / 455.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.3209, allocations: 8 kB / 455.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3209, allocations: 3.938 kB / 455.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3209, allocations: 0 / 455.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.3217, allocations: 0.5058 MB / 456.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.3218, allocations: 35.66 kB / 456.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.3218, allocations: 19.92 kB / 456.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.322, allocations: 15.98 kB / 456.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.3221, allocations: 11.97 kB / 456.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3221, allocations: 8 kB / 456.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002881/0.3224, allocations: 271.1 kB / 456.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3224, allocations: 3.938 kB / 456.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001969/0.3243, allocations: 0.6519 MB / 457.1 MB, free: 12.02 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.002434/0.3268, allocations: 1.607 MB / 458.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.3283, allocations: 0.9257 MB / 459.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3283, allocations: 0 / 459.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.3286, allocations: 123.2 kB / 459.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.3292, allocations: 123 kB / 459.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006503/0.3357, allocations: 4.51 MB / 464.3 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.3362, allocations: 0.8379 MB / 465.2 MB, free: 3.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.3364, allocations: 74.91 kB / 465.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.3367, allocations: 131.4 kB / 465.4 MB, free: 3.465 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3367, allocations: 0 / 465.4 MB, free: 3.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05753/0.3942, allocations: 17.43 MB / 482.8 MB, free: 2.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.37, allocations: 4.125 kB / 482.8 MB, free: 2.148 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.998100101998716]