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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 212.6 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2495/0.2495, allocations: 46.92 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 83.86 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3382, allocations: 66.08 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004468/0.3426, allocations: 2.675 MB / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008192/0.3508, allocations: 4.471 MB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.3512, allocations: 35.56 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008204/0.352, allocations: 354.3 kB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.3522, allocations: 99.14 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006287/0.3585, allocations: 2.56 MB / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.3602, allocations: 1.205 MB / 0.5719 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.3604, allocations: 53.88 kB / 0.5719 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000616/0.361, allocations: 454.6 kB / 0.5724 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006538/0.3617, allocations: 418.2 kB / 0.5728 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.3618, allocations: 52 kB / 0.5728 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.3647, allocations: 1.949 MB / 0.5747 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.3651, allocations: 318.9 kB / 0.575 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.3655, allocations: 393.5 kB / 0.5754 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.3682, allocations: 2.325 MB / 0.5777 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3682, allocations: 0 / 0.5777 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.606e-06/0.3682, allocations: 4 kB / 0.5777 GB, free: 2.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.3682, allocations: 0 / 0.5777 GB, free: 2.898 MB / 414.1 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.002786/0.371, allocations: 1.434 MB / 0.5791 GB, free: 1.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.371, allocations: 11.97 kB / 0.5791 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.3711, allocations: 78.72 kB / 0.5792 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.3713, allocations: 108.2 kB / 0.5793 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009277/0.3722, allocations: 0.5184 MB / 0.5798 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.819e-05/0.3723, allocations: 41.38 kB / 0.5798 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.3725, allocations: 80.02 kB / 0.5799 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.3736, allocations: 0.6968 MB / 0.5806 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3736, allocations: 0 / 0.5806 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.3737, allocations: 20 kB / 0.5806 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.3737, allocations: 8 kB / 0.5806 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.3744, allocations: 371.7 kB / 0.5809 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.3771, allocations: 1.308 MB / 0.5822 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.3787, allocations: 0.8324 MB / 0.583 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.3792, allocations: 282 kB / 0.5833 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.3792, allocations: 12.44 kB / 0.5833 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.3792, allocations: 50.97 kB / 0.5834 GB, free: 12.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.3793, allocations: 0 / 0.5834 GB, free: 12.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001756/0.381, allocations: 0.9738 MB / 0.5843 GB, free: 11.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004247/0.3814, allocations: 0.6648 MB / 0.585 GB, free: 11.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.3825, allocations: 0.842 MB / 0.5858 GB, free: 10.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.629e-05/0.3825, allocations: 45.7 kB / 0.5858 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.3829, allocations: 369.6 kB / 0.5862 GB, free: 9.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.3831, allocations: 238 kB / 0.5864 GB, free: 9.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.3834, allocations: 254.5 kB / 0.5866 GB, free: 9.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002778/0.3837, allocations: 414.7 kB / 0.587 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008978/0.3846, allocations: 0.5885 MB / 0.5876 GB, free: 8.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.3858, allocations: 0.8311 MB / 0.5884 GB, free: 7.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.3875, allocations: 1.128 MB / 0.5895 GB, free: 6.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3875, allocations: 0 / 0.5895 GB, free: 6.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00332/0.3908, allocations: 1.918 MB / 0.5914 GB, free: 4.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3908, allocations: 4 kB / 0.5914 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.42e-05/0.3909, allocations: 19.98 kB / 0.5914 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/0.3923, allocations: 0.4939 MB / 0.5919 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.3929, allocations: 143.8 kB / 0.592 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/0.4089, allocations: 16.98 MB / 0.6086 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007316/0.4096, allocations: 138.9 kB / 0.6088 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/0.4097, allocations: 24 kB / 0.6088 GB, free: 1.039 MB / 446.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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004722/0.4102, allocations: 285.7 kB / 0.6091 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4103, allocations: 87.39 kB / 0.6091 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.4106, allocations: 101.4 kB / 0.6092 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4106, allocations: 7.938 kB / 0.6092 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4106, allocations: 0 / 0.6092 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4106, allocations: 11.92 kB / 0.6093 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007997/0.4114, allocations: 0.6099 MB / 0.6099 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4114, allocations: 0 / 0.6099 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/0.4121, allocations: 111.9 kB / 0.61 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4121, allocations: 4 kB / 0.61 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.4121, allocations: 27.98 kB / 0.61 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4121, allocations: 0 / 0.61 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4121, allocations: 0 / 0.61 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.4139, allocations: 1.163 MB / 0.6111 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.414, allocations: 87.22 kB / 0.6112 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4141, allocations: 39.97 kB / 0.6112 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.4145, allocations: 27.97 kB / 0.6113 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.4146, allocations: 32.38 kB / 0.6113 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.4146, allocations: 27.86 kB / 0.6113 GB, free: 14.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006955/0.4153, allocations: 0.5308 MB / 0.6119 GB, free: 13.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4153, allocations: 0 / 0.6119 GB, free: 13.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002378/0.4177, allocations: 0.7729 MB / 0.6126 GB, free: 13.04 MB / 462.1 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 (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.003267/0.421, allocations: 2.289 MB / 0.6148 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004145/0.4251, allocations: 2.88 MB / 0.6177 GB, free: 7.602 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.4251, allocations: 8 kB / 0.6177 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005251/0.4256, allocations: 334.2 kB / 0.618 GB, free: 7.266 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/0.4266, allocations: 231.8 kB / 0.6182 GB, free: 7.055 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.442, allocations: 10.39 MB / 0.6283 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/0.4428, allocations: 1.083 MB / 0.6294 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004791/0.4433, allocations: 169.2 kB / 0.6296 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.4437, allocations: 339.3 kB / 0.6299 GB, free: 10.84 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4437, allocations: 0 / 0.6299 GB, free: 10.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09253/0.5363, allocations: 30.25 MB / 0.6594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.45, allocations: 3.938 kB / 0.6594 GB, free: 12.71 MB / 0.4981 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.949505733093247]