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.001306/0.001306, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00136/0.00136, allocations: 199.3 kB / 20.74 MB, free: 2.32 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 / 254.1 MB, free: 15.09 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.001508/0.001508, allocations: 47.94 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 53.34 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003461/0.1114, allocations: 2.015 MB / 428.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2381/0.3495, allocations: 3.737 MB / 432.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.3497, allocations: 19.28 kB / 432.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.3502, allocations: 180.2 kB / 432.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3504, allocations: 50.84 kB / 432.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005187/0.3556, allocations: 1.936 MB / 434.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008479/0.3564, allocations: 0.4892 MB / 434.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.3566, allocations: 33.53 kB / 434.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.3568, allocations: 191.2 kB / 435 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.3571, allocations: 172.6 kB / 435.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.3572, allocations: 23.12 kB / 435.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003911/0.3611, allocations: 1.818 MB / 437 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.3614, allocations: 123 kB / 437.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.3616, allocations: 170.3 kB / 437.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.3643, allocations: 1.789 MB / 439 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3643, allocations: 1.688 kB / 439 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3643, allocations: 0 / 439 MB, free: 6.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.3643, allocations: 0 / 439 MB, free: 6.648 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.002218/0.3665, allocations: 0.9184 MB / 440 MB, free: 6.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.3666, allocations: 10.38 kB / 440 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.49e-05/0.3667, allocations: 56.36 kB / 440 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.3668, allocations: 51.38 kB / 440.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.3673, allocations: 353.2 kB / 440.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3673, allocations: 20.22 kB / 440.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/0.3674, allocations: 29.67 kB / 440.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.3679, allocations: 309.3 kB / 440.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3679, allocations: 0 / 440.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3679, allocations: 11.5 kB / 440.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.3679, allocations: 3.656 kB / 440.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.3682, allocations: 145.6 kB / 440.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3693, allocations: 0.6649 MB / 441.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.37, allocations: 321.3 kB / 441.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.3702, allocations: 107.8 kB / 442 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.3703, allocations: 2.406 kB / 442 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3703, allocations: 37.78 kB / 442 MB, free: 4.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/0.3703, allocations: 4 kB / 442.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007559/0.3711, allocations: 384.6 kB / 442.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.3711, allocations: 373.3 kB / 442.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.3716, allocations: 405.5 kB / 443.2 MB, free: 4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.3716, allocations: 39.02 kB / 443.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3717, allocations: 197 kB / 443.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.3718, allocations: 85.73 kB / 443.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.372, allocations: 103.4 kB / 443.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.372, allocations: 359.8 kB / 444 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.3724, allocations: 211.1 kB / 444.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.3728, allocations: 320.5 kB / 444.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006337/0.3734, allocations: 392.6 kB / 444.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3734, allocations: 3.938 kB / 444.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001262/0.3747, allocations: 0.6478 MB / 445.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.3747, allocations: 9.062 kB / 445.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.565e-05/0.3748, allocations: 8.078 kB / 445.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/0.3753, allocations: 128.8 kB / 445.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.3756, allocations: 66.2 kB / 445.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.379, allocations: 4.553 MB / 450.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.3793, allocations: 50.8 kB / 450.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.3794, allocations: 9.219 kB / 450.3 MB, free: 14.3 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.0002858/0.3797, allocations: 175.5 kB / 450.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/0.3797, allocations: 42.09 kB / 450.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.3798, allocations: 44.27 kB / 450.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3798, allocations: 3.016 kB / 450.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3798, allocations: 9.281 kB / 450.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3798, allocations: 5.219 kB / 450.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.3804, allocations: 351.2 kB / 450.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3804, allocations: 0 / 450.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.3807, allocations: 45.33 kB / 451 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3807, allocations: 1.406 kB / 451 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.3807, allocations: 11.16 kB / 451 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3807, allocations: 1.5 kB / 451 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3807, allocations: 3.938 kB / 451 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008113/0.3815, allocations: 0.5083 MB / 451.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3816, allocations: 116.6 kB / 451.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.3817, allocations: 15.77 kB / 451.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.3819, allocations: 19.56 kB / 451.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.3819, allocations: 11.67 kB / 451.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.382, allocations: 3.953 kB / 451.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.3823, allocations: 273.1 kB / 451.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3823, allocations: 0 / 451.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003607/0.3859, allocations: 0.6536 MB / 452.6 MB, free: 13.25 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.003647/0.3896, allocations: 1.607 MB / 454.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.3914, allocations: 0.9264 MB / 455.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.3914, allocations: 1.125 kB / 455.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.3916, allocations: 115.7 kB / 455.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/0.3924, allocations: 125.8 kB / 455.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/0.3998, allocations: 4.506 MB / 459.9 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.4004, allocations: 0.841 MB / 460.7 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002601/0.4006, allocations: 62.56 kB / 460.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.4009, allocations: 126.7 kB / 460.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4009, allocations: 5 kB / 460.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06096/0.4619, allocations: 17.24 MB / 478.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.92, allocations: 12 kB / 478.2 MB, free: 11.26 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.657770731006167]