Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002355/0.002355, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.927/1.927, allocations: 205.4 MB / 222.5 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.001119/0.001119, allocations: 92.41 kB / 270.9 MB, free: 8.398 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.4986/0.4986, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006349/0.000635, allocations: 19.98 kB / 431.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1229, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4837/0.6067, allocations: 100 MB / 0.5764 GB, free: 2.734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.607, allocations: 71.95 kB / 0.5765 GB, free: 2.664 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2301/0.8371, allocations: 48.58 MB / 0.6239 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.8372, allocations: 0 / 0.6239 GB, free: 2.074 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001289/0.8373, allocations: 35.94 kB / 0.6239 GB, free: 2.039 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.005099/0.8424, allocations: 1.371 MB / 0.6253 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.8425, allocations: 8.031 kB / 0.6253 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.843, allocations: 106.7 kB / 0.6254 GB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.8456, allocations: 0.7789 MB / 0.6261 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.8457, allocations: 38.03 kB / 0.6262 GB, free: 15.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.8459, allocations: 71.81 kB / 0.6262 GB, free: 15.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.8476, allocations: 0.7436 MB / 0.627 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.8477, allocations: 0 / 0.627 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.8478, allocations: 28 kB / 0.627 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.8478, allocations: 8 kB / 0.627 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.8489, allocations: 383.6 kB / 0.6274 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004491/0.8534, allocations: 1.383 MB / 0.6287 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.856, allocations: 0.8431 MB / 0.6295 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.66e-05/0.8561, allocations: 8.438 kB / 0.6295 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.8562, allocations: 45.23 kB / 0.6296 GB, free: 11.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 3.246e-06/0.8562, allocations: 0 / 0.6296 GB, free: 11.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.002836/0.859, allocations: 0.9733 MB / 0.6305 GB, free: 10.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003215/0.8594, allocations: 0.6724 MB / 0.6312 GB, free: 10.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.8609, allocations: 0.7317 MB / 0.6319 GB, free: 9.387 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002738/0.8612, allocations: 49.7 kB / 0.632 GB, free: 9.332 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.8615, allocations: 379.8 kB / 0.6323 GB, free: 8.957 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.8618, allocations: 212.9 kB / 0.6325 GB, free: 8.746 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.8619, allocations: 20 kB / 0.6325 GB, free: 8.727 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.8621, allocations: 370.7 kB / 0.6329 GB, free: 8.355 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.8636, allocations: 0.565 MB / 0.6335 GB, free: 7.785 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.8654, allocations: 0.8028 MB / 0.6342 GB, free: 6.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.8671, allocations: 0.6798 MB / 0.6349 GB, free: 6.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.8671, allocations: 0 / 0.6349 GB, free: 6.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005116/0.8723, allocations: 1.832 MB / 0.6367 GB, free: 4.359 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.8723, allocations: 4 kB / 0.6367 GB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/0.8724, allocations: 23.97 kB / 0.6367 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/0.875, allocations: 0.5017 MB / 0.6372 GB, free: 3.793 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.8762, allocations: 135.9 kB / 0.6373 GB, free: 3.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/0.8946, allocations: 17.05 MB / 0.654 GB, free: 1.016 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.8957, allocations: 131.5 kB / 0.6541 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.8959, allocations: 32 kB / 0.6541 GB, free: 0.8555 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 () * Number of clocked 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.0007543/0.8966, allocations: 294.2 kB / 0.6544 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.8969, allocations: 82.88 kB / 0.6545 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.8972, allocations: 109.4 kB / 0.6546 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.8972, allocations: 4 kB / 0.6546 GB, free: 368 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8972, allocations: 4 kB / 0.6546 GB, free: 364 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.8972, allocations: 0 / 0.6546 GB, free: 364 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.8984, allocations: 0.6379 MB / 0.6552 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.8984, allocations: 3.984 kB / 0.6552 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/0.9, allocations: 107.9 kB / 0.6553 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.9, allocations: 7.938 kB / 0.6553 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.9001, allocations: 31.97 kB / 0.6554 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.9002, allocations: 0 / 0.6554 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9002, allocations: 4 kB / 0.6554 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.903, allocations: 1.163 MB / 0.6565 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.9032, allocations: 163.8 kB / 0.6567 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.9034, allocations: 31.98 kB / 0.6567 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/0.9041, allocations: 35.97 kB / 0.6567 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.9043, allocations: 28.39 kB / 0.6568 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.9044, allocations: 19.98 kB / 0.6568 GB, free: 14.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001123/0.9055, allocations: 0.5347 MB / 0.6573 GB, free: 13.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9055, allocations: 0 / 0.6573 GB, free: 13.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003458/0.909, allocations: 0.8003 MB / 0.6581 GB, free: 12.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 () * Number of clocked 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.002924/0.9119, allocations: 0.737 MB / 0.6588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006598/0.9186, allocations: 2.997 MB / 0.6617 GB, free: 8.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.9186, allocations: 4 kB / 0.6617 GB, free: 8.715 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009637/0.9196, allocations: 330.3 kB / 0.6621 GB, free: 8.391 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.921, allocations: 187.4 kB / 0.6622 GB, free: 8.207 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.9263, allocations: 2.598 MB / 0.6648 GB, free: 5.582 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009624/0.9273, allocations: 1.11 MB / 0.6659 GB, free: 4.441 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004413/0.9278, allocations: 59.38 kB / 0.6659 GB, free: 4.383 MB / 490.7 MB Notification: Performance of SimCode: time 1.333e-06/0.9278, allocations: 4 kB / 0.6659 GB, free: 4.379 MB / 490.7 MB Notification: Performance of Templates: time 0.3829/1.311, allocations: 31.19 MB / 0.6964 GB, free: 112.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches