Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009549/0.0009549, allocations: 192 kB / 16.78 MB, free: 4.895 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.5 MB / 244.1 MB, free: 8.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008147/0.0008147, allocations: 103.5 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3109/0.3109, allocations: 44.81 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2811, allocations: 62.96 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.3897, allocations: 102 MB / 0.6161 GB, free: 3.355 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.3899, allocations: 71.97 kB / 0.6161 GB, free: 3.285 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1321/0.5221, allocations: 48.92 MB / 0.6639 GB, free: 2.277 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5221, allocations: 0 / 0.6639 GB, free: 2.277 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001012/0.5222, allocations: 39.94 kB / 0.664 GB, free: 2.238 MB / 474.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.003341/0.5256, allocations: 1.371 MB / 0.6653 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5256, allocations: 8.031 kB / 0.6653 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/0.526, allocations: 111.6 kB / 0.6654 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.5275, allocations: 0.7925 MB / 0.6662 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.5276, allocations: 41.38 kB / 0.6662 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.5277, allocations: 68.19 kB / 0.6663 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.5288, allocations: 0.7532 MB / 0.667 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5288, allocations: 192 / 0.667 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.5289, allocations: 23.94 kB / 0.667 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5289, allocations: 8 kB / 0.6671 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006375/0.5296, allocations: 375.7 kB / 0.6674 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.5321, allocations: 1.394 MB / 0.6688 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.5336, allocations: 0.8344 MB / 0.6696 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/0.534, allocations: 286 kB / 0.6699 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.534, allocations: 4.438 kB / 0.6699 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.5341, allocations: 47 kB / 0.6699 GB, free: 11.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 2.144e-06/0.5341, allocations: 3.938 kB / 0.6699 GB, free: 11.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.001588/0.5357, allocations: 0.9734 MB / 0.6709 GB, free: 10.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002651/0.536, allocations: 0.6725 MB / 0.6715 GB, free: 10.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009928/0.537, allocations: 0.834 MB / 0.6723 GB, free: 9.172 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/0.5371, allocations: 49.7 kB / 0.6724 GB, free: 9.117 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.5373, allocations: 361.3 kB / 0.6727 GB, free: 8.758 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.5375, allocations: 216.9 kB / 0.6729 GB, free: 8.543 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.5376, allocations: 19.94 kB / 0.673 GB, free: 8.523 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.5378, allocations: 418.7 kB / 0.6734 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/0.5386, allocations: 0.5688 MB / 0.6739 GB, free: 7.539 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.5397, allocations: 0.8105 MB / 0.6747 GB, free: 6.656 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.5412, allocations: 1.089 MB / 0.6758 GB, free: 5.559 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5412, allocations: 0 / 0.6758 GB, free: 5.559 MB / 490.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003017/0.5442, allocations: 1.878 MB / 0.6776 GB, free: 3.637 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5442, allocations: 7.125 kB / 0.6776 GB, free: 3.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/0.5443, allocations: 23.97 kB / 0.6776 GB, free: 3.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.5457, allocations: 0.4978 MB / 0.6781 GB, free: 3.074 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.5462, allocations: 139.8 kB / 0.6782 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.213/0.7593, allocations: 16.91 MB / 0.6948 GB, free: 98.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.7599, allocations: 142.6 kB / 0.6949 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.684e-05/0.76, allocations: 40.42 kB / 0.6949 GB, free: 98.54 MB / 490.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.0004179/0.7604, allocations: 281.2 kB / 0.6952 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.7605, allocations: 88.38 kB / 0.6953 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.7607, allocations: 104.8 kB / 0.6954 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7607, allocations: 4.906 kB / 0.6954 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.7607, allocations: 0 / 0.6954 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.7607, allocations: 3.938 kB / 0.6954 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.7613, allocations: 0.63 MB / 0.696 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7613, allocations: 7 kB / 0.696 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.762, allocations: 111.4 kB / 0.6961 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.762, allocations: 2.875 kB / 0.6961 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.7621, allocations: 25.47 kB / 0.6962 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.7621, allocations: 5.953 kB / 0.6962 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7621, allocations: 0 / 0.6962 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.7634, allocations: 1.164 MB / 0.6973 GB, free: 98.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.7635, allocations: 160.6 kB / 0.6974 GB, free: 97.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.7636, allocations: 35.86 kB / 0.6975 GB, free: 97.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.7639, allocations: 28.86 kB / 0.6975 GB, free: 97.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.764, allocations: 42.62 kB / 0.6976 GB, free: 97.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.7641, allocations: 13.98 kB / 0.6976 GB, free: 97.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005014/0.7646, allocations: 0.5305 MB / 0.6981 GB, free: 97.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7646, allocations: 0.9844 kB / 0.6981 GB, free: 97.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002107/0.7667, allocations: 0.8143 MB / 0.6989 GB, free: 97.8 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.001492/0.7682, allocations: 0.7478 MB / 0.6996 GB, free: 97.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0032/0.7714, allocations: 2.995 MB / 0.7025 GB, free: 95.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7714, allocations: 3.031 kB / 0.7025 GB, free: 95.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.7718, allocations: 334.7 kB / 0.7029 GB, free: 95.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.7727, allocations: 199.5 kB / 0.703 GB, free: 95.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.7752, allocations: 2.602 MB / 0.7056 GB, free: 94.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.7756, allocations: 1.085 MB / 0.7066 GB, free: 94.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.7758, allocations: 51.47 kB / 0.7067 GB, free: 94.14 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/0.7758, allocations: 0 / 0.7067 GB, free: 94.14 MB / 490.7 MB Notification: Performance of Templates: time 0.03302/0.8089, allocations: 31.46 MB / 0.7374 GB, free: 92.27 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches