Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Blocks.FilterTests.Basic") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 190.3 kB / 8.533 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009004/0.0009006, allocations: 87.94 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1854/0.1854, allocations: 45.15 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.224e-06/7.244e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.4988, allocations: 101.2 MB / 0.6026 GB, free: 1.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.499, allocations: 72.38 kB / 0.6027 GB, free: 1.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1421/0.6412, allocations: 48.43 MB / 0.65 GB, free: 8.156 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002775/0.6415, allocations: 43.81 kB / 0.6501 GB, free: 8.113 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.004883/0.6465, allocations: 1.22 MB / 0.6512 GB, free: 6.902 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.6465, allocations: 8.031 kB / 0.6513 GB, free: 6.895 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005767/0.6471, allocations: 106.7 kB / 0.6514 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.6492, allocations: 0.7774 MB / 0.6521 GB, free: 6.059 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.6492, allocations: 15.98 kB / 0.6521 GB, free: 6.043 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.6494, allocations: 55.33 kB / 0.6522 GB, free: 5.992 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006515/0.6501, allocations: 359.2 kB / 0.6525 GB, free: 5.742 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.6511, allocations: 0.6998 MB / 0.6532 GB, free: 5.047 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.6512, allocations: 0 / 0.6532 GB, free: 5.047 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.6512, allocations: 4 kB / 0.6532 GB, free: 5.043 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.6513, allocations: 11.91 kB / 0.6532 GB, free: 5.031 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.6542, allocations: 1.302 MB / 0.6545 GB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.6557, allocations: 0.8123 MB / 0.6553 GB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.6561, allocations: 278.2 kB / 0.6556 GB, free: 3.109 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.6561, allocations: 8.438 kB / 0.6556 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.6562, allocations: 45.88 kB / 0.6556 GB, free: 3.051 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 3.186e-06/0.6562, allocations: 4 kB / 0.6556 GB, free: 3.047 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.001251/0.6574, allocations: 0.6896 MB / 0.6563 GB, free: 2.496 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003457/0.6578, allocations: 0.6639 MB / 0.6569 GB, free: 1.676 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.6589, allocations: 0.6875 MB / 0.6576 GB, free: 1.121 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.216e-05/0.659, allocations: 25.7 kB / 0.6576 GB, free: 1.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.6592, allocations: 243.8 kB / 0.6579 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.6594, allocations: 209 kB / 0.6581 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.6595, allocations: 3.938 kB / 0.6581 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.6597, allocations: 424.8 kB / 0.6585 GB, free: 340 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.6605, allocations: 0.5628 MB / 0.659 GB, free: 15.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009667/0.6615, allocations: 0.7851 MB / 0.6598 GB, free: 15.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.6627, allocations: 0.682 MB / 0.6605 GB, free: 14.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6627, allocations: 3.938 kB / 0.6605 GB, free: 14.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003217/0.6659, allocations: 1.904 MB / 0.6623 GB, free: 13.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6659, allocations: 4 kB / 0.6623 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.22e-05/0.666, allocations: 31.97 kB / 0.6623 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.6674, allocations: 493.8 kB / 0.6628 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.668, allocations: 147.7 kB / 0.663 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.6681, allocations: 4 kB / 0.663 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.6687, allocations: 106.5 kB / 0.6631 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.6688, allocations: 39.98 kB / 0.6631 GB, free: 12.22 MB / 458.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): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 12 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.669, allocations: 116.9 kB / 0.6632 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.6692, allocations: 98.72 kB / 0.6633 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.6694, allocations: 101.1 kB / 0.6634 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.6695, allocations: 4 kB / 0.6634 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.6695, allocations: 0 / 0.6634 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.6695, allocations: 3.984 kB / 0.6634 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008893/0.6704, allocations: 0.572 MB / 0.664 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6704, allocations: 0 / 0.664 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.6712, allocations: 107.9 kB / 0.6641 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.6712, allocations: 3.984 kB / 0.6641 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/0.6713, allocations: 27.97 kB / 0.6641 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.6713, allocations: 7.938 kB / 0.6641 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6713, allocations: 0 / 0.6641 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001582/0.6729, allocations: 1.133 MB / 0.6652 GB, free: 9.988 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.6731, allocations: 159.8 kB / 0.6654 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.6732, allocations: 27.89 kB / 0.6654 GB, free: 9.785 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.6736, allocations: 15.97 kB / 0.6654 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.6737, allocations: 28.39 kB / 0.6654 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.6738, allocations: 20 kB / 0.6655 GB, free: 9.723 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0006721/0.6745, allocations: 495.6 kB / 0.6659 GB, free: 9.227 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002994/0.6775, allocations: 0.7651 MB / 0.6667 GB, free: 8.461 MB / 458.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.003462/0.6809, allocations: 0.7328 MB / 0.6674 GB, free: 7.723 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003547/0.6845, allocations: 2.622 MB / 0.67 GB, free: 4.758 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.6845, allocations: 4 kB / 0.67 GB, free: 4.754 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.6851, allocations: 333.5 kB / 0.6703 GB, free: 4.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.6862, allocations: 177 kB / 0.6704 GB, free: 4.262 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.6899, allocations: 1.842 MB / 0.6722 GB, free: 2.371 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.691, allocations: 1.144 MB / 0.6734 GB, free: 1.199 MB / 458.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6911, allocations: 0 / 0.6734 GB, free: 1.199 MB / 458.7 MB Notification: Performance of Templates: time 0.03893/0.73, allocations: 18.19 MB / 0.6911 GB, free: 15.05 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches