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.001333/0.001333, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001481/0.001481, allocations: 213.7 kB / 23.73 MB, free: 4.16 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.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001573/0.001573, allocations: 51.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2579, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003019/0.2609, allocations: 1.924 MB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005692/0.2666, allocations: 3.503 MB / 436.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.2668, allocations: 23.75 kB / 436.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.2673, allocations: 187.1 kB / 436.7 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.2674, allocations: 43.56 kB / 436.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004035/0.2714, allocations: 1.932 MB / 438.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000594/0.272, allocations: 0.5027 MB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2721, allocations: 29.28 kB / 439.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.2724, allocations: 191.3 kB / 439.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.2726, allocations: 167.2 kB / 439.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.263e-05/0.2727, allocations: 20 kB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.2752, allocations: 1.877 MB / 441.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.2754, allocations: 131.5 kB / 441.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.2756, allocations: 127.2 kB / 441.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.2777, allocations: 1.808 MB / 443.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2777, allocations: 0 / 443.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2777, allocations: 0 / 443.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.2777, allocations: 0 / 443.5 MB, free: 10.17 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.001577/0.2793, allocations: 0.8507 MB / 444.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2793, allocations: 8.031 kB / 444.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.2794, allocations: 54.73 kB / 444.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.2795, allocations: 48.61 kB / 444.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.2799, allocations: 295.4 kB / 444.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.28, allocations: 16.59 kB / 444.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.28, allocations: 36.08 kB / 444.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.2807, allocations: 0.6019 MB / 445.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2807, allocations: 3.984 kB / 445.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.2807, allocations: 11.94 kB / 445.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2807, allocations: 4 kB / 445.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.281, allocations: 144.7 kB / 445.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.2822, allocations: 0.593 MB / 446.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.2828, allocations: 314.8 kB / 446.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.283, allocations: 108.7 kB / 446.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.283, allocations: 4 kB / 446.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.283, allocations: 38.56 kB / 446.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.283, allocations: 0 / 446.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006944/0.2837, allocations: 379 kB / 447 MB, free: 6.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.2839, allocations: 371.8 kB / 447.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.2844, allocations: 409.8 kB / 447.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.2844, allocations: 33.7 kB / 447.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.2845, allocations: 200.9 kB / 448 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.2846, allocations: 83.28 kB / 448.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.2848, allocations: 101.7 kB / 448.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2849, allocations: 354.7 kB / 448.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.2853, allocations: 212.1 kB / 448.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.2858, allocations: 0.6118 MB / 449.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/0.2864, allocations: 400.7 kB / 449.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2864, allocations: 0 / 449.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001104/0.2875, allocations: 0.6528 MB / 450.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2875, allocations: 4 kB / 450.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.2876, allocations: 4 kB / 450.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.288, allocations: 130.4 kB / 450.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.2883, allocations: 63.95 kB / 450.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/0.2921, allocations: 4.256 MB / 454.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.2923, allocations: 43.66 kB / 454.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.2923, allocations: 12 kB / 454.9 MB, free: 13.93 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.0002157/0.2925, allocations: 181.9 kB / 455.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.2926, allocations: 39.72 kB / 455.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/0.2927, allocations: 43.84 kB / 455.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2927, allocations: 3.938 kB / 455.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2927, allocations: 0 / 455.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2927, allocations: 0 / 455.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.2931, allocations: 292.5 kB / 455.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2931, allocations: 0 / 455.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.2933, allocations: 43.97 kB / 455.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2934, allocations: 0 / 455.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.2934, allocations: 19.98 kB / 455.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.2934, allocations: 11.81 kB / 455.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2934, allocations: 0 / 455.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006935/0.2941, allocations: 0.4969 MB / 456 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.2941, allocations: 39.77 kB / 456 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.2942, allocations: 23.86 kB / 456.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2944, allocations: 12 kB / 456.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.2944, allocations: 11.97 kB / 456.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.2944, allocations: 4 kB / 456.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002792/0.2947, allocations: 275.1 kB / 456.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2947, allocations: 4 kB / 456.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001775/0.2965, allocations: 0.6519 MB / 457 MB, free: 11.73 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.002146/0.2986, allocations: 1.604 MB / 458.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.3, allocations: 0.9295 MB / 459.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3, allocations: 0 / 459.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.3002, allocations: 119.9 kB / 459.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.3008, allocations: 119.2 kB / 459.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/0.307, allocations: 4.506 MB / 464.3 MB, free: 4.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3072, allocations: 237.1 kB / 464.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.3074, allocations: 70.92 kB / 464.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.3076, allocations: 127.4 kB / 464.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3076, allocations: 0 / 464.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07099/0.3786, allocations: 18.29 MB / 483 MB, free: 1.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.06, allocations: 10.75 kB / 483 MB, free: 1.742 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.466551289428025]