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.001656/0.001656, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002314/0.002314, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.368/1.368, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.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.002484/0.002484, allocations: 55.92 kB / 347.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2708, allocations: 49.16 MB / 396.3 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002921/0.2738, allocations: 2.013 MB / 398.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005294/0.279, allocations: 3.766 MB / 402.1 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.2793, allocations: 19.88 kB / 402.1 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.2798, allocations: 185 kB / 402.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2799, allocations: 44.02 kB / 402.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004874/0.2848, allocations: 1.938 MB / 404.3 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.2854, allocations: 0.5038 MB / 404.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.2855, allocations: 36.7 kB / 404.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.2857, allocations: 187.7 kB / 405 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.286, allocations: 175.4 kB / 405.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.286, allocations: 23.44 kB / 405.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.2895, allocations: 1.894 MB / 407.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.2898, allocations: 125.9 kB / 407.2 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.29, allocations: 169 kB / 407.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.2923, allocations: 1.803 MB / 409.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2923, allocations: 0 / 409.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2923, allocations: 5 kB / 409.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2923, allocations: 0 / 409.2 MB, free: 2.469 MB / 318.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.001656/0.294, allocations: 0.8394 MB / 410 MB, free: 1.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.294, allocations: 13.05 kB / 410.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.2941, allocations: 49.05 kB / 410.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.2941, allocations: 51.3 kB / 410.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.2946, allocations: 285.5 kB / 410.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2946, allocations: 16.56 kB / 410.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.889e-05/0.2946, allocations: 32.05 kB / 410.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.2951, allocations: 305.4 kB / 410.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2951, allocations: 0 / 410.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.2951, allocations: 10.53 kB / 410.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2951, allocations: 11.64 kB / 410.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.2954, allocations: 152.3 kB / 411 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.2965, allocations: 0.643 MB / 411.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.297, allocations: 312.2 kB / 411.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2972, allocations: 109.2 kB / 412 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2972, allocations: 2.125 kB / 412 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.2972, allocations: 38.2 kB / 412 MB, free: 440 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.2972, allocations: 7.938 kB / 412.1 MB, free: 432 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006189/0.2978, allocations: 377.2 kB / 412.4 MB, free: 236 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.298, allocations: 364.3 kB / 412.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.2984, allocations: 414.5 kB / 413.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.2985, allocations: 33.08 kB / 413.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.2986, allocations: 189.9 kB / 413.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.2987, allocations: 96.31 kB / 413.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.2989, allocations: 102.3 kB / 413.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2991, allocations: 361.9 kB / 413.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.2994, allocations: 203.4 kB / 414.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.2998, allocations: 321.2 kB / 414.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/0.3004, allocations: 396.5 kB / 414.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3004, allocations: 0 / 414.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001179/0.3016, allocations: 0.6461 MB / 415.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3016, allocations: 5.719 kB / 415.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.3017, allocations: 5.375 kB / 415.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/0.3021, allocations: 133.2 kB / 415.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.3024, allocations: 59.66 kB / 415.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003857/0.3063, allocations: 4.25 MB / 419.9 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.3066, allocations: 50.8 kB / 420 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.3066, allocations: 13.5 kB / 420 MB, free: 9.703 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 (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.0002832/0.3069, allocations: 177.4 kB / 420.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.124e-05/0.307, allocations: 37.64 kB / 420.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-05/0.3071, allocations: 44.09 kB / 420.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3071, allocations: 6.688 kB / 420.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3071, allocations: 3.938 kB / 420.3 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3071, allocations: 5.375 kB / 420.3 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.3076, allocations: 322.8 kB / 420.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3076, allocations: 1.375 kB / 420.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.3079, allocations: 38.22 kB / 420.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3079, allocations: 1.375 kB / 420.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.3079, allocations: 9.5 kB / 420.6 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3079, allocations: 3.938 kB / 420.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3079, allocations: 5.312 kB / 420.6 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.3086, allocations: 0.5094 MB / 421.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.3087, allocations: 33.81 kB / 421.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.3087, allocations: 18.39 kB / 421.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.3089, allocations: 14.36 kB / 421.2 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.309, allocations: 16.88 kB / 421.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.309, allocations: 8.156 kB / 421.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003156/0.3093, allocations: 270.4 kB / 421.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3093, allocations: 1.656 kB / 421.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002246/0.3115, allocations: 0.6541 MB / 422.2 MB, free: 8.59 MB / 334.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.002899/0.3144, allocations: 1.621 MB / 423.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.3161, allocations: 0.9148 MB / 424.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3161, allocations: 0 / 424.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.3163, allocations: 127.8 kB / 424.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.317, allocations: 106.2 kB / 424.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007366/0.3244, allocations: 4.51 MB / 429.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.3249, allocations: 0.8421 MB / 430.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002865/0.3252, allocations: 58.94 kB / 430.3 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.3254, allocations: 135.4 kB / 430.5 MB, free: 352 kB / 334.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3254, allocations: 4 kB / 430.5 MB, free: 348 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07436/0.3997, allocations: 17.4 MB / 447.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.81, allocations: 7.984 kB / 447.9 MB, free: 14.87 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.381117760000052]