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.001713/0.001713, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001698/0.001698, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.367/1.367, allocations: 230.5 MB / 258.2 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.2167/0.2167, allocations: 46.92 MB / 361.6 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 79.86 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3171, allocations: 66.08 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003846/0.3209, allocations: 2.671 MB / 0.5641 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007841/0.3288, allocations: 4.467 MB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.329, allocations: 39.5 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.3298, allocations: 362.3 kB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.33, allocations: 91.22 kB / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005835/0.3359, allocations: 2.559 MB / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.3377, allocations: 1.205 MB / 0.5726 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.3379, allocations: 57.89 kB / 0.5727 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000566/0.3384, allocations: 454.6 kB / 0.5731 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.3391, allocations: 410.2 kB / 0.5735 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3392, allocations: 56 kB / 0.5736 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.3421, allocations: 1.955 MB / 0.5755 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.3424, allocations: 311 kB / 0.5758 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.3428, allocations: 393.4 kB / 0.5762 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.3452, allocations: 2.329 MB / 0.5784 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3452, allocations: 0 / 0.5784 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3452, allocations: 4 kB / 0.5784 GB, free: 2.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.3453, allocations: 0 / 0.5784 GB, free: 2.914 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.002508/0.3478, allocations: 1.426 MB / 0.5798 GB, free: 1.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3478, allocations: 16.02 kB / 0.5798 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.757e-05/0.3478, allocations: 9.188 kB / 0.5799 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.611e-05/0.3479, allocations: 82.72 kB / 0.5799 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.3481, allocations: 108.2 kB / 0.58 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008349/0.3489, allocations: 0.5183 MB / 0.5805 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.3489, allocations: 37.38 kB / 0.5806 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3491, allocations: 83.84 kB / 0.5807 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009918/0.3501, allocations: 0.6942 MB / 0.5813 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3501, allocations: 0 / 0.5813 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.3501, allocations: 20 kB / 0.5814 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3501, allocations: 12 kB / 0.5814 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.3508, allocations: 375.7 kB / 0.5817 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.3533, allocations: 1.308 MB / 0.583 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.3548, allocations: 0.8324 MB / 0.5838 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.3552, allocations: 282 kB / 0.5841 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.3553, allocations: 4.625 kB / 0.5841 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.3553, allocations: 50.8 kB / 0.5841 GB, free: 12.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.492e-06/0.3553, allocations: 4 kB / 0.5841 GB, free: 12.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001617/0.3569, allocations: 0.9738 MB / 0.5851 GB, free: 11.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003753/0.3573, allocations: 0.6648 MB / 0.5857 GB, free: 11.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.3583, allocations: 0.8497 MB / 0.5866 GB, free: 10.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.3584, allocations: 45.7 kB / 0.5866 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.3587, allocations: 365.6 kB / 0.587 GB, free: 9.754 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.3589, allocations: 234 kB / 0.5872 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.3592, allocations: 258.6 kB / 0.5874 GB, free: 9.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.3595, allocations: 414.7 kB / 0.5878 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008794/0.3604, allocations: 0.5885 MB / 0.5884 GB, free: 8.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.3615, allocations: 0.8223 MB / 0.5892 GB, free: 7.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.3633, allocations: 1.132 MB / 0.5903 GB, free: 6.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3633, allocations: 0 / 0.5903 GB, free: 6.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00334/0.3666, allocations: 1.929 MB / 0.5922 GB, free: 4.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3666, allocations: 4 kB / 0.5922 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.562e-05/0.3667, allocations: 15.98 kB / 0.5922 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.3681, allocations: 0.4978 MB / 0.5927 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.3687, allocations: 139.9 kB / 0.5928 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.3835, allocations: 16.98 MB / 0.6094 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.3842, allocations: 138.9 kB / 0.6095 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/0.3842, allocations: 28.16 kB / 0.6096 GB, free: 1.035 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.0004627/0.3847, allocations: 281.6 kB / 0.6098 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.3848, allocations: 91.39 kB / 0.6099 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.385, allocations: 97.41 kB / 0.61 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.385, allocations: 8 kB / 0.61 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3851, allocations: 0 / 0.61 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3851, allocations: 7.922 kB / 0.61 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007745/0.3858, allocations: 0.6099 MB / 0.6106 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3858, allocations: 0 / 0.6106 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/0.3865, allocations: 107.8 kB / 0.6107 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3865, allocations: 0 / 0.6107 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.3866, allocations: 35.97 kB / 0.6108 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3866, allocations: 4 kB / 0.6108 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3866, allocations: 0 / 0.6108 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.3882, allocations: 1.155 MB / 0.6119 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3883, allocations: 87.22 kB / 0.612 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.3884, allocations: 31.98 kB / 0.612 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.3888, allocations: 35.95 kB / 0.6121 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.3889, allocations: 44.25 kB / 0.6121 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.3889, allocations: 12 kB / 0.6121 GB, free: 14.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006597/0.3896, allocations: 0.5424 MB / 0.6126 GB, free: 13.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3896, allocations: 0 / 0.6126 GB, free: 13.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002105/0.3917, allocations: 0.7651 MB / 0.6134 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.003461/0.3951, allocations: 2.293 MB / 0.6156 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004212/0.3993, allocations: 2.891 MB / 0.6184 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3994, allocations: 0 / 0.6184 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.3999, allocations: 326.2 kB / 0.6188 GB, free: 7.273 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/0.4008, allocations: 235 kB / 0.619 GB, free: 7.059 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.4156, allocations: 10.38 MB / 0.6291 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.4164, allocations: 1.086 MB / 0.6302 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004431/0.4169, allocations: 173.2 kB / 0.6303 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.4173, allocations: 339.3 kB / 0.6307 GB, free: 10.84 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4173, allocations: 0 / 0.6307 GB, free: 10.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07584/0.4932, allocations: 30.28 MB / 0.6602 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.27, allocations: 11.78 kB / 0.6602 GB, free: 12.69 MB / 0.4981 GB " [Timeout remaining time 647] (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: 16.51186475798022]