Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.89 kB / 0.491 GB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1439, allocations: 65.99 MB / 0.5554 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004634/0.1485, allocations: 2.663 MB / 0.558 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008918/0.1574, allocations: 4.443 MB / 0.5623 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.1581, allocations: 39.5 kB / 0.5624 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1592, allocations: 354.3 kB / 0.5627 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.1597, allocations: 91.16 kB / 0.5628 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006917/0.1666, allocations: 2.642 MB / 0.5654 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.1685, allocations: 1.189 MB / 0.5665 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.1687, allocations: 49.77 kB / 0.5666 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008396/0.1696, allocations: 446.6 kB / 0.567 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008351/0.1704, allocations: 414.2 kB / 0.5674 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.1706, allocations: 56 kB / 0.5675 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/0.1743, allocations: 1.858 MB / 0.5693 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.1747, allocations: 318.9 kB / 0.5696 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007578/0.1755, allocations: 389.5 kB / 0.57 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003973/0.1795, allocations: 2.309 MB / 0.5722 GB, free: 4.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1795, allocations: 3.938 kB / 0.5722 GB, free: 4.605 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1795, allocations: 0 / 0.5722 GB, free: 4.605 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.115e-05/0.1795, allocations: 0 / 0.5722 GB, free: 4.605 MB / 430.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.004001/0.1835, allocations: 1.502 MB / 0.5737 GB, free: 3.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1836, allocations: 8.031 kB / 0.5737 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.1837, allocations: 74.72 kB / 0.5738 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.184, allocations: 116.2 kB / 0.5739 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009908/0.185, allocations: 0.5906 MB / 0.5744 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.1851, allocations: 41.31 kB / 0.5745 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.1852, allocations: 84 kB / 0.5746 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.1864, allocations: 0.6929 MB / 0.5752 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1864, allocations: 3.938 kB / 0.5752 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-05/0.1864, allocations: 16 kB / 0.5753 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1864, allocations: 12 kB / 0.5753 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006847/0.1871, allocations: 363.7 kB / 0.5756 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.19, allocations: 1.352 MB / 0.5769 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.1917, allocations: 0.8324 MB / 0.5778 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.1922, allocations: 286 kB / 0.578 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.1922, allocations: 4.438 kB / 0.578 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.1923, allocations: 54.98 kB / 0.5781 GB, free: 14.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.1923, allocations: 0 / 0.5781 GB, free: 14.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.001788/0.1941, allocations: 0.9622 MB / 0.579 GB, free: 13.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004238/0.1945, allocations: 0.6803 MB / 0.5797 GB, free: 12.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.1956, allocations: 0.8459 MB / 0.5805 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.429e-05/0.1957, allocations: 49.7 kB / 0.5806 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.196, allocations: 357.7 kB / 0.5809 GB, free: 11.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.1963, allocations: 230 kB / 0.5811 GB, free: 11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.1967, allocations: 254.6 kB / 0.5814 GB, free: 10.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002699/0.1969, allocations: 418.7 kB / 0.5818 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009766/0.1979, allocations: 0.5885 MB / 0.5823 GB, free: 9.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.199, allocations: 0.834 MB / 0.5832 GB, free: 8.832 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.2007, allocations: 1.124 MB / 0.5843 GB, free: 7.707 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2007, allocations: 4 kB / 0.5843 GB, free: 7.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003443/0.2041, allocations: 1.922 MB / 0.5861 GB, free: 5.734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.2041, allocations: 4 kB / 0.5861 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.404e-05/0.2042, allocations: 15.98 kB / 0.5862 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.2058, allocations: 0.4978 MB / 0.5866 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.2064, allocations: 143.8 kB / 0.5868 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3085/0.5149, allocations: 18.19 MB / 0.6045 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/0.5157, allocations: 132.6 kB / 0.6047 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/0.5157, allocations: 26.94 kB / 0.6047 GB, free: 21.43 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.0004463/0.5162, allocations: 282.9 kB / 0.605 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5163, allocations: 98.91 kB / 0.6051 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.5165, allocations: 105.3 kB / 0.6052 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5165, allocations: 9.266 kB / 0.6052 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5165, allocations: 0.75 kB / 0.6052 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.5165, allocations: 3.875 kB / 0.6052 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/0.5173, allocations: 0.6312 MB / 0.6058 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5174, allocations: 1.125 kB / 0.6058 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007173/0.5181, allocations: 107.9 kB / 0.6059 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5181, allocations: 7.781 kB / 0.6059 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/0.5181, allocations: 34.62 kB / 0.6059 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5182, allocations: 4.75 kB / 0.6059 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5182, allocations: 6.016 kB / 0.6059 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.5198, allocations: 1.149 MB / 0.6071 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.52, allocations: 176.8 kB / 0.6072 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5201, allocations: 32.3 kB / 0.6073 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.5204, allocations: 30.61 kB / 0.6073 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.5205, allocations: 31.27 kB / 0.6073 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.5206, allocations: 15.58 kB / 0.6073 GB, free: 20.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000719/0.5213, allocations: 0.5467 MB / 0.6079 GB, free: 20.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5213, allocations: 0 / 0.6079 GB, free: 20.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002486/0.5238, allocations: 0.7617 MB / 0.6086 GB, free: 20.68 MB / 446.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.00324/0.527, allocations: 2.299 MB / 0.6109 GB, free: 19.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003511/0.5305, allocations: 2.892 MB / 0.6137 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.5305, allocations: 1.5 kB / 0.6137 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006431/0.5312, allocations: 328.8 kB / 0.614 GB, free: 17.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.5322, allocations: 221.3 kB / 0.6142 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.5459, allocations: 10.36 MB / 0.6243 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.5465, allocations: 1.084 MB / 0.6254 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004829/0.547, allocations: 172.2 kB / 0.6255 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.5474, allocations: 338.7 kB / 0.6259 GB, free: 12.07 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5474, allocations: 1.094 kB / 0.6259 GB, free: 12.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08884/0.6362, allocations: 29.8 MB / 0.655 GB, free: 2.492 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.11, allocations: 16.22 kB / 0.655 GB, free: 2.48 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.444831154076383]