Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel_a.x.1.|Bessel_a.x.2.|Bessel_a.x.3.|Bessel_b.x.1.|Bessel_b.x.2.|Bessel_b.x.3.|Bessel_b.x.4.|Bessel_b.x.5.|Bessel_b.x.6.|Butterworth_a.x.1.|Butterworth_a.x.2.|Butterworth_a.x.3.|Butterworth_b.x.1.|Butterworth_b.x.2.|Butterworth_b.x.3.|Butterworth_b.x.4.|Butterworth_b.x.5.|Butterworth_b.x.6.|ChebyshevI_a.x.1.|ChebyshevI_a.x.2.|ChebyshevI_a.x.3.|ChebyshevI_b.x.1.|ChebyshevI_b.x.2.|ChebyshevI_b.x.3.|ChebyshevI_b.x.4.|ChebyshevI_b.x.5.|ChebyshevI_b.x.6.|CriticalDamping_a.x.1.|CriticalDamping_a.x.2.|CriticalDamping_a.x.3.|CriticalDamping_b.x.1.|CriticalDamping_b.x.2.|CriticalDamping_b.x.3.|CriticalDamping_b.x.4.|CriticalDamping_b.x.5.|CriticalDamping_b.x.6.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel_a.x.1.|Bessel_a.x.2.|Bessel_a.x.3.|Bessel_b.x.1.|Bessel_b.x.2.|Bessel_b.x.3.|Bessel_b.x.4.|Bessel_b.x.5.|Bessel_b.x.6.|Butterworth_a.x.1.|Butterworth_a.x.2.|Butterworth_a.x.3.|Butterworth_b.x.1.|Butterworth_b.x.2.|Butterworth_b.x.3.|Butterworth_b.x.4.|Butterworth_b.x.5.|Butterworth_b.x.6.|ChebyshevI_a.x.1.|ChebyshevI_a.x.2.|ChebyshevI_a.x.3.|ChebyshevI_b.x.1.|ChebyshevI_b.x.2.|ChebyshevI_b.x.3.|ChebyshevI_b.x.4.|ChebyshevI_b.x.5.|ChebyshevI_b.x.6.|CriticalDamping_a.x.1.|CriticalDamping_a.x.2.|CriticalDamping_a.x.3.|CriticalDamping_b.x.1.|CriticalDamping_b.x.2.|CriticalDamping_b.x.3.|CriticalDamping_b.x.4.|CriticalDamping_b.x.5.|CriticalDamping_b.x.6.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009761/0.0009763, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.2 MB / 218.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008596/0.0008593, allocations: 95.78 kB / 267.1 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3359/0.3359, allocations: 43.46 MB / 358.6 MB, free: 52.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.272e-05, allocations: 0 / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 58.84 MB / 484.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.4827, allocations: 99.91 MB / 0.5704 GB, free: 5.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.483, allocations: 76.73 kB / 0.5704 GB, free: 5.016 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1318/0.6148, allocations: 48.47 MB / 0.6178 GB, free: 4.543 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6148, allocations: 0 / 0.6178 GB, free: 4.543 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.81e-05/0.6149, allocations: 39.94 kB / 0.6178 GB, free: 4.504 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002649/0.6176, allocations: 1.219 MB / 0.619 GB, free: 3.238 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6176, allocations: 8.031 kB / 0.619 GB, free: 3.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.6179, allocations: 102.8 kB / 0.6191 GB, free: 3.129 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.6191, allocations: 0.7658 MB / 0.6199 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.6192, allocations: 36.78 kB / 0.6199 GB, free: 2.273 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.6193, allocations: 76.64 kB / 0.62 GB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.6203, allocations: 0.7369 MB / 0.6207 GB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6203, allocations: 3.938 kB / 0.6207 GB, free: 1.352 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.6203, allocations: 23.98 kB / 0.6207 GB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.6203, allocations: 8 kB / 0.6207 GB, free: 1.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.6209, allocations: 354.9 kB / 0.6211 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.6231, allocations: 1.385 MB / 0.6224 GB, free: 15.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.6244, allocations: 0.8232 MB / 0.6232 GB, free: 14.69 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.6248, allocations: 278 kB / 0.6235 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.6248, allocations: 11.61 kB / 0.6235 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.6249, allocations: 46.94 kB / 0.6235 GB, free: 14.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 1.944e-06/0.6249, allocations: 0 / 0.6235 GB, free: 14.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.001001/0.6259, allocations: 0.6889 MB / 0.6242 GB, free: 13.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/0.6261, allocations: 0.6687 MB / 0.6249 GB, free: 12.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/0.6268, allocations: 0.7279 MB / 0.6256 GB, free: 12.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.6269, allocations: 45.7 kB / 0.6256 GB, free: 12.03 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.6272, allocations: 357.4 kB / 0.626 GB, free: 11.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.6273, allocations: 216.8 kB / 0.6262 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.6274, allocations: 23.98 kB / 0.6262 GB, free: 11.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6275, allocations: 422.6 kB / 0.6266 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/0.6283, allocations: 0.5574 MB / 0.6271 GB, free: 10.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/0.6291, allocations: 0.785 MB / 0.6279 GB, free: 9.602 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/0.6299, allocations: 0.6672 MB / 0.6286 GB, free: 8.934 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6299, allocations: 0 / 0.6286 GB, free: 8.934 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002709/0.6326, allocations: 1.847 MB / 0.6304 GB, free: 7.047 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6327, allocations: 5.094 kB / 0.6304 GB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.425e-05/0.6327, allocations: 27.97 kB / 0.6304 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.6341, allocations: 0.49 MB / 0.6309 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.6346, allocations: 143.8 kB / 0.631 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.6473, allocations: 16.9 MB / 0.6475 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.6481, allocations: 134.4 kB / 0.6476 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.6483, allocations: 36.14 kB / 0.6477 GB, free: 3.684 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000233/0.6485, allocations: 158.2 kB / 0.6478 GB, free: 3.523 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.6486, allocations: 94.86 kB / 0.6479 GB, free: 3.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.6489, allocations: 97.19 kB / 0.648 GB, free: 3.332 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.6489, allocations: 8 kB / 0.648 GB, free: 3.324 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6489, allocations: 0 / 0.648 GB, free: 3.324 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.649, allocations: 7.922 kB / 0.648 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007583/0.6497, allocations: 0.6379 MB / 0.6486 GB, free: 2.629 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6497, allocations: 0 / 0.6486 GB, free: 2.629 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.6504, allocations: 107.8 kB / 0.6487 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6504, allocations: 0 / 0.6487 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.102e-05/0.6505, allocations: 31.97 kB / 0.6488 GB, free: 2.492 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6505, allocations: 8 kB / 0.6488 GB, free: 2.484 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6505, allocations: 0 / 0.6488 GB, free: 2.484 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.652, allocations: 1.134 MB / 0.6499 GB, free: 1.332 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.6522, allocations: 151.9 kB / 0.65 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.6523, allocations: 35.97 kB / 0.6501 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.6527, allocations: 31.97 kB / 0.6501 GB, free: 1.098 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/0.6528, allocations: 28.39 kB / 0.6501 GB, free: 1.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.6528, allocations: 20 kB / 0.6501 GB, free: 1.051 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006656/0.6535, allocations: 0.5232 MB / 0.6507 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6535, allocations: 7.938 kB / 0.6507 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002601/0.6561, allocations: 0.8003 MB / 0.6514 GB, free: 15.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001587/0.6577, allocations: 0.7415 MB / 0.6522 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003884/0.6616, allocations: 2.961 MB / 0.6551 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6616, allocations: 4 kB / 0.6551 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.6621, allocations: 322.3 kB / 0.6554 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.6629, allocations: 184 kB / 0.6555 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.6656, allocations: 1.925 MB / 0.6574 GB, free: 9.301 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.6663, allocations: 1.111 MB / 0.6585 GB, free: 8.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004064/0.6667, allocations: 157.2 kB / 0.6587 GB, free: 8.004 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.6668, allocations: 51.44 kB / 0.6587 GB, free: 7.953 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6669, allocations: 4 kB / 0.6587 GB, free: 7.949 MB / 490.7 MB Notification: Performance of Templates: time 0.03229/0.6991, allocations: 21.68 MB / 0.6799 GB, free: 2.297 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches