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.001204/0.001204, allocations: 106.7 kB / 16.62 MB, free: 6.809 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.001258/0.001259, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.414/1.414, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 43.81 kB / 300.1 MB, free: 5.992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09335, allocations: 49.45 MB / 349.6 MB, free: 4.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002826/0.0962, allocations: 2.036 MB / 351.6 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005388/0.1016, allocations: 3.722 MB / 355.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.1018, allocations: 11.88 kB / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.1023, allocations: 163.3 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.1025, allocations: 35.7 kB / 355.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.1063, allocations: 1.767 MB / 357.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000586/0.1069, allocations: 498.7 kB / 357.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1071, allocations: 45.06 kB / 357.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.1073, allocations: 187.3 kB / 358 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1075, allocations: 167.2 kB / 358.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.1075, allocations: 24 kB / 358.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.1095, allocations: 1.741 MB / 359.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.1096, allocations: 123.6 kB / 360.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.1098, allocations: 162.9 kB / 360.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.1117, allocations: 1.754 MB / 362 MB, free: 8.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1117, allocations: 0 / 362 MB, free: 8.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1117, allocations: 0 / 362 MB, free: 8.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1117, allocations: 0 / 362 MB, free: 8.09 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.001607/0.1134, allocations: 0.9036 MB / 362.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1134, allocations: 11.97 kB / 362.9 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.285e-05/0.1135, allocations: 48.38 kB / 362.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.1139, allocations: 354.2 kB / 363.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1139, allocations: 16.41 kB / 363.3 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.114, allocations: 24 kB / 363.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.1144, allocations: 303.1 kB / 363.6 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1145, allocations: 0 / 363.6 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.1145, allocations: 16 kB / 363.6 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1145, allocations: 7.984 kB / 363.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.1148, allocations: 144.7 kB / 363.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.116, allocations: 0.6716 MB / 364.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.1166, allocations: 318.3 kB / 364.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.1168, allocations: 108.8 kB / 364.9 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1168, allocations: 7.984 kB / 364.9 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1169, allocations: 38.56 kB / 364.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 3.066e-06/0.1169, allocations: 4.359 kB / 364.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.000684/0.1176, allocations: 378.6 kB / 365.3 MB, free: 4.559 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.1177, allocations: 367.8 kB / 365.7 MB, free: 4.113 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.1181, allocations: 413.7 kB / 366.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.1182, allocations: 33.7 kB / 366.1 MB, free: 3.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1183, allocations: 204.7 kB / 366.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.1184, allocations: 78.81 kB / 366.4 MB, free: 3.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1185, allocations: 101.7 kB / 366.5 MB, free: 3.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1186, allocations: 350.8 kB / 366.8 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.119, allocations: 204.5 kB / 367 MB, free: 2.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.1193, allocations: 326.2 kB / 367.3 MB, free: 2.367 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.1199, allocations: 389.6 kB / 367.7 MB, free: 1.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1199, allocations: 4 kB / 367.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001054/0.121, allocations: 0.6573 MB / 368.4 MB, free: 1.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.121, allocations: 8 kB / 368.4 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.121, allocations: 11.98 kB / 368.4 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/0.1215, allocations: 122.5 kB / 368.5 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.1218, allocations: 63.91 kB / 368.6 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1443/0.2661, allocations: 4.548 MB / 373.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.2664, allocations: 50.08 kB / 373.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.2664, allocations: 8.984 kB / 373.2 MB, free: 20.74 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.0001762/0.2666, allocations: 184.2 kB / 373.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.2666, allocations: 38 kB / 373.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.94e-05/0.2667, allocations: 44.84 kB / 373.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2667, allocations: 5.109 kB / 373.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2667, allocations: 0 / 373.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2667, allocations: 1.312 kB / 373.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.2671, allocations: 349.5 kB / 373.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2671, allocations: 1.859 kB / 373.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.2674, allocations: 43.14 kB / 373.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2674, allocations: 0.7812 kB / 373.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.2674, allocations: 11.67 kB / 373.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2674, allocations: 5.234 kB / 373.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2675, allocations: 0 / 373.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.2681, allocations: 0.5223 MB / 374.4 MB, free: 20.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.2681, allocations: 112.5 kB / 374.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.2682, allocations: 15.72 kB / 374.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2684, allocations: 17.75 kB / 374.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.2684, allocations: 10.73 kB / 374.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.2685, allocations: 4.984 kB / 374.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.2687, allocations: 274.4 kB / 374.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2687, allocations: 0 / 374.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00167/0.2704, allocations: 0.6487 MB / 375.4 MB, free: 20.09 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.001251/0.2717, allocations: 0.6693 MB / 376.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.2729, allocations: 0.978 MB / 377.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2729, allocations: 1.375 kB / 377.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.2731, allocations: 122.7 kB / 377.2 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.2737, allocations: 116.9 kB / 377.3 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.275, allocations: 1.005 MB / 378.3 MB, free: 18.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2752, allocations: 0.849 MB / 379.2 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.2754, allocations: 73.09 kB / 379.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.2755, allocations: 27.47 kB / 379.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2755, allocations: 0 / 379.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of Templates: time 0.02003/0.2956, allocations: 12.83 MB / 392.1 MB, free: 13.38 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