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.0008802/0.0008802, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001077/0.001077, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9563/0.9563, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 2.324e-06/2.324e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.633e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003341/0.003367, allocations: 1.936 MB / 326.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004698/0.008065, allocations: 3.503 MB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.008217, allocations: 19.75 kB / 330 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.008641, allocations: 195 kB / 330.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.31e-05/0.008724, allocations: 47.58 kB / 330.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.0118, allocations: 2.043 MB / 332.3 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.01225, allocations: 0.5031 MB / 332.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.01238, allocations: 33.27 kB / 332.8 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.01256, allocations: 239.5 kB / 333.1 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.0127, allocations: 139.6 kB / 333.2 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.01274, allocations: 27.94 kB / 333.2 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.01448, allocations: 1.883 MB / 335.1 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.01465, allocations: 123.6 kB / 335.2 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.17e-05/0.01474, allocations: 103.6 kB / 335.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.01638, allocations: 2.097 MB / 337.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.01639, allocations: 0 / 337.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.01639, allocations: 0 / 337.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.0164, allocations: 3.938 kB / 337.4 MB, free: 3.043 MB / 298.7 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.00117/0.01756, allocations: 0.839 MB / 338.3 MB, free: 2.168 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.01761, allocations: 15.92 kB / 338.3 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.01765, allocations: 50.73 kB / 338.3 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.01772, allocations: 56.61 kB / 338.4 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.01805, allocations: 278.6 kB / 338.7 MB, free: 1.742 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.01807, allocations: 16.66 kB / 338.7 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.01811, allocations: 32.33 kB / 338.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.01859, allocations: 0.6017 MB / 339.3 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.0186, allocations: 7.875 kB / 339.3 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.01862, allocations: 8 kB / 339.3 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.01863, allocations: 7.938 kB / 339.3 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.01882, allocations: 144.7 kB / 339.5 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/0.01963, allocations: 0.5891 MB / 340.1 MB, free: 180 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.02007, allocations: 314.8 kB / 340.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.02033, allocations: 108.7 kB / 340.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.02035, allocations: 0 / 340.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.02037, allocations: 38.56 kB / 340.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.02037, allocations: 0 / 340.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004854/0.02086, allocations: 388.3 kB / 340.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.02097, allocations: 363.8 kB / 341.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.02126, allocations: 417.8 kB / 341.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.02128, allocations: 37.69 kB / 341.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.02139, allocations: 192.9 kB / 341.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.02144, allocations: 91.2 kB / 342 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.02154, allocations: 105.5 kB / 342.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.02167, allocations: 358.7 kB / 342.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.0219, allocations: 200.4 kB / 342.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.02226, allocations: 0.6118 MB / 343.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.02263, allocations: 396.7 kB / 343.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.02263, allocations: 4 kB / 343.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009808/0.02361, allocations: 0.6488 MB / 344.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.02363, allocations: 7.938 kB / 344.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.02365, allocations: 4 kB / 344.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.02393, allocations: 134.4 kB / 344.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.02408, allocations: 63.89 kB / 344.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.0264, allocations: 4.24 MB / 348.7 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.02654, allocations: 51.62 kB / 348.8 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.02656, allocations: 12 kB / 348.8 MB, free: 6.832 MB / 314.7 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.000175/0.02674, allocations: 177.9 kB / 349 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.02678, allocations: 43.7 kB / 349 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.02683, allocations: 51.78 kB / 349.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.02683, allocations: 0 / 349.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.02683, allocations: 0 / 349.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.02683, allocations: 0 / 349.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.02708, allocations: 296.4 kB / 349.3 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02708, allocations: 0 / 349.3 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.02724, allocations: 43.97 kB / 349.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.02724, allocations: 3.938 kB / 349.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.02726, allocations: 15.98 kB / 349.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.02726, allocations: 8 kB / 349.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.02726, allocations: 0 / 349.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.02772, allocations: 0.4989 MB / 349.9 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.02776, allocations: 35.66 kB / 349.9 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.02779, allocations: 16 kB / 350 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.02787, allocations: 11.98 kB / 350 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.02793, allocations: 19.91 kB / 350 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.02794, allocations: 4 kB / 350 MB, free: 5.547 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002024/0.02814, allocations: 275.1 kB / 350.3 MB, free: 5.281 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02814, allocations: 112 / 350.3 MB, free: 5.281 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002016/0.03016, allocations: 0.6597 MB / 350.9 MB, free: 4.621 MB / 314.7 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.00175/0.03191, allocations: 1.734 MB / 352.7 MB, free: 2.859 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.03295, allocations: 0.9298 MB / 353.6 MB, free: 1.848 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.03296, allocations: 3.938 kB / 353.6 MB, free: 1.844 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.03309, allocations: 119.9 kB / 353.7 MB, free: 1.727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.0335, allocations: 105.8 kB / 353.8 MB, free: 1.629 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.03782, allocations: 4.478 MB / 358.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.03798, allocations: 237 kB / 358.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.03814, allocations: 74.91 kB / 358.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.03826, allocations: 136.4 kB / 358.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.03826, allocations: 0 / 358.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/0.07464, allocations: 18.44 MB / 377.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.68, allocations: 4.062 kB / 377.2 MB, free: 10.36 MB / 346.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/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] "" Variables in the reference:time,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],CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3] Variables in the result:time,Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2] [Calling sys.exit(0), Time elapsed: 9.663880123756826]