Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008123/0.0008123, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007681/0.0007681, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8576/0.8576, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.975e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00223/0.00225, allocations: 1.897 MB / 320.3 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.006166, allocations: 3.456 MB / 323.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.006333, allocations: 19.75 kB / 323.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.006817, allocations: 191.1 kB / 324 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.006931, allocations: 51.52 kB / 324 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.01003, allocations: 2.054 MB / 326.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.01049, allocations: 0.5104 MB / 326.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.01061, allocations: 29.27 kB / 326.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.01084, allocations: 239.5 kB / 326.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.01099, allocations: 143.6 kB / 327 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.01102, allocations: 24 kB / 327 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.0127, allocations: 1.857 MB / 328.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.01287, allocations: 127.6 kB / 329 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.709e-05/0.01296, allocations: 107.6 kB / 329.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.0149, allocations: 2.082 MB / 331.2 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.01491, allocations: 0 / 331.2 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.01491, allocations: 4 kB / 331.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.01492, allocations: 4 kB / 331.2 MB, free: 9.547 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.001468/0.01638, allocations: 0.8312 MB / 332 MB, free: 8.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.01643, allocations: 8.922 kB / 332 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.01647, allocations: 54.73 kB / 332.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.01654, allocations: 44.66 kB / 332.1 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.01687, allocations: 294.6 kB / 332.4 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.01689, allocations: 16.59 kB / 332.4 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.01693, allocations: 31.92 kB / 332.5 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.01735, allocations: 0.601 MB / 333.1 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.01736, allocations: 0 / 333.1 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.01738, allocations: 15.94 kB / 333.1 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.01739, allocations: 4 kB / 333.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.01757, allocations: 144.7 kB / 333.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/0.01842, allocations: 0.5929 MB / 333.8 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.01887, allocations: 314.3 kB / 334.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.01898, allocations: 104.8 kB / 334.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.019, allocations: 8 kB / 334.2 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.01903, allocations: 38.56 kB / 334.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.245e-06/0.01903, allocations: 0 / 334.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004847/0.01951, allocations: 384.7 kB / 334.7 MB, free: 5.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.01963, allocations: 371.8 kB / 335 MB, free: 5.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.01991, allocations: 401.8 kB / 335.4 MB, free: 4.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.01993, allocations: 37.7 kB / 335.4 MB, free: 4.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.02004, allocations: 200.9 kB / 335.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.02009, allocations: 91.22 kB / 335.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.02018, allocations: 97.69 kB / 335.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.02029, allocations: 362.7 kB / 336.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.02051, allocations: 200.4 kB / 336.4 MB, free: 3.992 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.02085, allocations: 0.6195 MB / 337 MB, free: 3.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.02123, allocations: 392.5 kB / 337.4 MB, free: 2.875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02123, allocations: 0 / 337.4 MB, free: 2.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007199/0.02195, allocations: 0.6451 MB / 338 MB, free: 2.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.02197, allocations: 7.938 kB / 338 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.02199, allocations: 11.98 kB / 338 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002802/0.02227, allocations: 130.5 kB / 338.2 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.02243, allocations: 63.91 kB / 338.2 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.02471, allocations: 4.244 MB / 342.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.02482, allocations: 47.66 kB / 342.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.02484, allocations: 15.98 kB / 342.5 MB, free: 13.34 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.0001393/0.02498, allocations: 169.8 kB / 342.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.02502, allocations: 43.72 kB / 342.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.02506, allocations: 43.84 kB / 342.8 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02507, allocations: 7.938 kB / 342.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.02507, allocations: 0 / 342.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02507, allocations: 12.03 kB / 342.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.02531, allocations: 292.5 kB / 343.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02531, allocations: 0 / 343.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.02546, allocations: 43.91 kB / 343.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.02547, allocations: 0 / 343.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.02548, allocations: 8 kB / 343.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02549, allocations: 7.875 kB / 343.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02549, allocations: 0 / 343.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.02591, allocations: 0.5028 MB / 343.7 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.02594, allocations: 39.75 kB / 343.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.02597, allocations: 15.94 kB / 343.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.02606, allocations: 15.98 kB / 343.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.0261, allocations: 12.08 kB / 343.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.02611, allocations: 15.94 kB / 343.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.02629, allocations: 267.1 kB / 344 MB, free: 11.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02629, allocations: 0 / 344 MB, free: 11.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001315/0.0276, allocations: 0.6519 MB / 344.7 MB, free: 11.14 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.001618/0.02922, allocations: 1.754 MB / 346.4 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.03003, allocations: 0.9149 MB / 347.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.03003, allocations: 4 kB / 347.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.03016, allocations: 115.9 kB / 347.5 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.03052, allocations: 118.5 kB / 347.6 MB, free: 8.152 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.03456, allocations: 4.483 MB / 352.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.03473, allocations: 241 kB / 352.3 MB, free: 3.312 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.03489, allocations: 62.92 kB / 352.3 MB, free: 3.246 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.03502, allocations: 132.5 kB / 352.5 MB, free: 3.117 MB / 314.7 MB Notification: Performance of SimCode: time 5.72e-07/0.03502, allocations: 7.938 kB / 352.5 MB, free: 3.109 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.06635, allocations: 18.4 MB / 370.9 MB, free: 0.918 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.402, allocations: 11.86 kB / 370.9 MB, free: 0.9062 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.084911459125578]