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.0008486/0.0008486, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008208/0.0008208, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8953/0.8953, allocations: 177 MB / 204.1 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.312e-06/1.312e-06, allocations: 0 / 324.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.422e-05, allocations: 3.125 kB / 324.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002017/0.002031, allocations: 1.924 MB / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004186/0.006217, allocations: 3.503 MB / 329.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.006345, allocations: 19.75 kB / 330 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.006755, allocations: 199 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.006839, allocations: 39.59 kB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.009764, allocations: 2.052 MB / 332.2 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.01016, allocations: 0.5026 MB / 332.7 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.01027, allocations: 33.25 kB / 332.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.01044, allocations: 239.5 kB / 333 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.01058, allocations: 139.6 kB / 333.1 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.01061, allocations: 24 kB / 333.2 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.01203, allocations: 1.877 MB / 335 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.01214, allocations: 131.5 kB / 335.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.01221, allocations: 99.67 kB / 335.3 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.01355, allocations: 2.097 MB / 337.4 MB, free: 2.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.01355, allocations: 0 / 337.4 MB, free: 2.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01355, allocations: 0 / 337.4 MB, free: 2.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.01356, allocations: 0 / 337.4 MB, free: 2.953 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.0009357/0.01449, allocations: 0.8351 MB / 338.2 MB, free: 2.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.01453, allocations: 12.03 kB / 338.2 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.01457, allocations: 54.67 kB / 338.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.01463, allocations: 56.59 kB / 338.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.01493, allocations: 286.6 kB / 338.6 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.01495, allocations: 20.64 kB / 338.6 MB, free: 1.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.01499, allocations: 32.31 kB / 338.7 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.01538, allocations: 0.6017 MB / 339.3 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.01539, allocations: 3.938 kB / 339.3 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.01541, allocations: 11.94 kB / 339.3 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.01541, allocations: 4 kB / 339.3 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.01559, allocations: 144.7 kB / 339.4 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.01629, allocations: 0.5969 MB / 340 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.01671, allocations: 310.4 kB / 340.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.01682, allocations: 104.7 kB / 340.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.01684, allocations: 4 kB / 340.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.01686, allocations: 34.56 kB / 340.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.01686, allocations: 0 / 340.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.000459/0.01732, allocations: 393.5 kB / 340.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.01744, allocations: 367.8 kB / 341.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.01771, allocations: 409.8 kB / 341.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.01774, allocations: 33.7 kB / 341.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.01785, allocations: 196.9 kB / 341.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.01789, allocations: 87.27 kB / 341.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.01798, allocations: 101.5 kB / 342 MB, free: 13.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01809, allocations: 362.7 kB / 342.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.01829, allocations: 204.5 kB / 342.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.01864, allocations: 0.6155 MB / 343.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.019, allocations: 388.7 kB / 343.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.019, allocations: 0 / 343.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006684/0.01967, allocations: 0.6565 MB / 344.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.01968, allocations: 7.938 kB / 344.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.0197, allocations: 11.98 kB / 344.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/0.01996, allocations: 126.5 kB / 344.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.0201, allocations: 59.91 kB / 344.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.02237, allocations: 4.244 MB / 348.7 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.481e-05/0.02247, allocations: 47.62 kB / 348.7 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.02249, allocations: 12 kB / 348.7 MB, free: 6.742 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.0001239/0.02261, allocations: 173.9 kB / 348.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.02265, allocations: 43.72 kB / 348.9 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.02269, allocations: 47.84 kB / 349 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.02269, allocations: 0 / 349 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.02269, allocations: 0 / 349 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.0227, allocations: 7.984 kB / 349 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.02292, allocations: 288.4 kB / 349.3 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.02292, allocations: 0 / 349.3 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.02306, allocations: 47.91 kB / 349.3 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.02307, allocations: 4 kB / 349.3 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.02308, allocations: 8 kB / 349.3 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.02308, allocations: 3.938 kB / 349.3 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02309, allocations: 4 kB / 349.3 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.02352, allocations: 0.5108 MB / 349.8 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.02355, allocations: 43.64 kB / 349.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.02357, allocations: 12 kB / 349.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.02366, allocations: 11.98 kB / 349.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.0237, allocations: 23.89 kB / 349.9 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.02371, allocations: 4 kB / 349.9 MB, free: 5.453 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002484/0.02396, allocations: 271.1 kB / 350.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02396, allocations: 0 / 350.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009833/0.02494, allocations: 0.6598 MB / 350.9 MB, free: 4.527 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.00134/0.02628, allocations: 1.735 MB / 352.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007683/0.02705, allocations: 0.9297 MB / 353.5 MB, free: 1.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02705, allocations: 0 / 353.5 MB, free: 1.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.02731, allocations: 115.9 kB / 353.6 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.02765, allocations: 115.3 kB / 353.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.03134, allocations: 4.483 MB / 358.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.03149, allocations: 237 kB / 358.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.0316, allocations: 70.92 kB / 358.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.03172, allocations: 132.5 kB / 358.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03172, allocations: 0 / 358.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.06224, allocations: 18.43 MB / 377.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.251, allocations: 4.062 kB / 377.1 MB, free: 10.2 MB / 346.7 MB " [Timeout remaining time 653] (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/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_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] "" 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.094058136455715]