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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 104.6 kB / 16.51 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 194.4 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009625/0.0009627, allocations: 51.94 kB / 299.9 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08567/0.08665, allocations: 49.44 MB / 349.4 MB, free: 4.875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003038/0.08973, allocations: 2.056 MB / 351.4 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.09523, allocations: 4.05 MB / 355.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.09537, allocations: 11.88 kB / 355.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.09581, allocations: 151.3 kB / 355.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.09594, allocations: 43.64 kB / 355.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.0989, allocations: 1.543 MB / 357.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.09934, allocations: 478.5 kB / 357.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.09947, allocations: 53.33 kB / 357.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.09962, allocations: 159.3 kB / 357.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.09982, allocations: 167.1 kB / 358.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.536e-05/0.09987, allocations: 16 kB / 358.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.1016, allocations: 1.713 MB / 359.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1018, allocations: 111.6 kB / 359.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.1019, allocations: 158.9 kB / 360.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1034, allocations: 1.734 MB / 361.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1034, allocations: 0 / 361.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1034, allocations: 0 / 361.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1034, allocations: 0 / 361.8 MB, free: 8.43 MB / 302.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.001334/0.1047, allocations: 0.8997 MB / 362.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1048, allocations: 8.031 kB / 362.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/0.1049, allocations: 48.38 kB / 362.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.1052, allocations: 350.2 kB / 363.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1053, allocations: 16.41 kB / 363.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.1053, allocations: 32 kB / 363.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.1058, allocations: 303 kB / 363.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1058, allocations: 4 kB / 363.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.1058, allocations: 12 kB / 363.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1058, allocations: 4 kB / 363.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.1061, allocations: 140.7 kB / 363.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1072, allocations: 0.6794 MB / 364.3 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.1078, allocations: 325.6 kB / 364.6 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.108, allocations: 108.8 kB / 364.7 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.108, allocations: 4 kB / 364.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.108, allocations: 42.55 kB / 364.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.108, allocations: 0 / 364.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006621/0.1087, allocations: 374.4 kB / 365.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.1088, allocations: 375.8 kB / 365.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.1092, allocations: 405.7 kB / 365.9 MB, free: 4.047 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.1093, allocations: 37.7 kB / 365.9 MB, free: 4.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1094, allocations: 200.7 kB / 366.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.1095, allocations: 86.8 kB / 366.2 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.1096, allocations: 97.69 kB / 366.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1097, allocations: 354.8 kB / 366.6 MB, free: 3.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.11, allocations: 204.4 kB / 366.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.1104, allocations: 314.4 kB / 367.1 MB, free: 2.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.111, allocations: 393.6 kB / 367.5 MB, free: 2.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.111, allocations: 0 / 367.5 MB, free: 2.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00102/0.112, allocations: 0.6573 MB / 368.2 MB, free: 1.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.112, allocations: 8 kB / 368.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/0.1121, allocations: 11.92 kB / 368.2 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.1125, allocations: 126.5 kB / 368.3 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.1128, allocations: 63.91 kB / 368.4 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1538/0.2666, allocations: 4.22 MB / 372.6 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.2669, allocations: 49.91 kB / 372.7 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.2669, allocations: 13.16 kB / 372.7 MB, free: 21.43 MB / 302.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.0002126/0.2671, allocations: 184.7 kB / 372.8 MB, free: 21.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.2672, allocations: 38.91 kB / 372.9 MB, free: 21.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.052e-05/0.2673, allocations: 46.84 kB / 372.9 MB, free: 21.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2673, allocations: 3.594 kB / 372.9 MB, free: 21.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2673, allocations: 0 / 372.9 MB, free: 21.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2673, allocations: 2.641 kB / 372.9 MB, free: 21.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.2677, allocations: 345.8 kB / 373.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2678, allocations: 0 / 373.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.2681, allocations: 41.38 kB / 373.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2681, allocations: 1.438 kB / 373.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.2681, allocations: 10.56 kB / 373.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.2681, allocations: 6.344 kB / 373.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2681, allocations: 3.562 kB / 373.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/0.2689, allocations: 0.5077 MB / 373.8 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.2689, allocations: 110.4 kB / 374 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.269, allocations: 14.94 kB / 374 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.2692, allocations: 14.3 kB / 374 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.2693, allocations: 21.75 kB / 374 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.2693, allocations: 9.625 kB / 374 MB, free: 20.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003037/0.2696, allocations: 272.2 kB / 374.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2696, allocations: 0 / 374.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002422/0.2721, allocations: 0.6474 MB / 374.9 MB, free: 20.79 MB / 302.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.001505/0.2736, allocations: 0.6682 MB / 375.6 MB, free: 20.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.275, allocations: 0.9494 MB / 376.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.275, allocations: 0 / 376.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.2752, allocations: 121 kB / 376.7 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.2759, allocations: 111.5 kB / 376.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.2774, allocations: 0.9983 MB / 377.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2777, allocations: 0.8413 MB / 378.6 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.2779, allocations: 71.16 kB / 378.7 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.278, allocations: 27.59 kB / 378.7 MB, free: 18.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.278, allocations: 1.219 kB / 378.7 MB, free: 18.86 MB / 302.1 MB Notification: Performance of Templates: time 0.02092/0.2989, allocations: 12.66 MB / 391.4 MB, free: 14.18 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (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 & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) 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) Reference file matches