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.001655/0.001655, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001781/0.001781, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.476/1.476, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2371/0.2371, allocations: 46.89 MB / 357.4 MB, free: 10.48 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="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.002204/0.002204, allocations: 87.86 kB / 0.4913 GB, free: 8.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1302, allocations: 65.99 MB / 0.5557 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004053/0.1342, allocations: 2.668 MB / 0.5583 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007675/0.1419, allocations: 4.435 MB / 0.5626 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/0.1422, allocations: 23.75 kB / 0.5627 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008369/0.1431, allocations: 362.3 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1433, allocations: 91.16 kB / 0.5631 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00598/0.1493, allocations: 2.639 MB / 0.5657 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.1509, allocations: 1.189 MB / 0.5668 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.1511, allocations: 49.77 kB / 0.5669 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006137/0.1517, allocations: 438.6 kB / 0.5673 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.1523, allocations: 410.2 kB / 0.5677 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1524, allocations: 60 kB / 0.5678 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.1554, allocations: 1.854 MB / 0.5696 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.1558, allocations: 318.9 kB / 0.5699 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.1562, allocations: 393.4 kB / 0.5702 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.159, allocations: 2.305 MB / 0.5725 GB, free: 4.941 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.159, allocations: 8 kB / 0.5725 GB, free: 4.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.159, allocations: 0 / 0.5725 GB, free: 4.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.159, allocations: 0 / 0.5725 GB, free: 4.934 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.002909/0.1619, allocations: 1.498 MB / 0.574 GB, free: 3.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.162, allocations: 12.03 kB / 0.574 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.668e-05/0.1621, allocations: 78.72 kB / 0.5741 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1623, allocations: 108.2 kB / 0.5742 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009986/0.1633, allocations: 0.5867 MB / 0.5747 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.1633, allocations: 41.38 kB / 0.5748 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.1635, allocations: 80 kB / 0.5748 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.1645, allocations: 0.6966 MB / 0.5755 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1645, allocations: 0 / 0.5755 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.1645, allocations: 16 kB / 0.5755 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1646, allocations: 11.98 kB / 0.5756 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.1652, allocations: 371.7 kB / 0.5759 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.1681, allocations: 1.352 MB / 0.5772 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.1697, allocations: 0.8324 MB / 0.578 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.1701, allocations: 286 kB / 0.5783 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.1702, allocations: 4.438 kB / 0.5783 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.334e-05/0.1702, allocations: 54.98 kB / 0.5784 GB, free: 14.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.1702, allocations: 0 / 0.5784 GB, free: 14.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.001679/0.1719, allocations: 0.9699 MB / 0.5793 GB, free: 13.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003715/0.1723, allocations: 0.6687 MB / 0.58 GB, free: 12.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.1733, allocations: 0.8498 MB / 0.5808 GB, free: 11.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.1734, allocations: 45.7 kB / 0.5808 GB, free: 11.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.1737, allocations: 361.6 kB / 0.5812 GB, free: 11.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.1739, allocations: 230.1 kB / 0.5814 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.1743, allocations: 254.6 kB / 0.5817 GB, free: 11.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.1745, allocations: 418.7 kB / 0.5821 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000878/0.1754, allocations: 0.5846 MB / 0.5826 GB, free: 10.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.1765, allocations: 0.834 MB / 0.5834 GB, free: 9.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.1782, allocations: 1.124 MB / 0.5845 GB, free: 8.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1782, allocations: 0 / 0.5845 GB, free: 8.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00343/0.1816, allocations: 1.922 MB / 0.5864 GB, free: 6.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1816, allocations: 5.875 kB / 0.5864 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.813e-05/0.1817, allocations: 19.98 kB / 0.5864 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.1832, allocations: 0.4978 MB / 0.5869 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.1838, allocations: 147.8 kB / 0.5871 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2878/0.4716, allocations: 18.2 MB / 0.6048 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.4722, allocations: 133.8 kB / 0.605 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.4723, allocations: 32.44 kB / 0.605 GB, free: 21.8 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.0003834/0.4726, allocations: 281.2 kB / 0.6053 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.4728, allocations: 92.03 kB / 0.6054 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.4729, allocations: 102.2 kB / 0.6054 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4729, allocations: 5.062 kB / 0.6055 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4729, allocations: 5.266 kB / 0.6055 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4729, allocations: 2.391 kB / 0.6055 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.4736, allocations: 0.6328 MB / 0.6061 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4736, allocations: 2.156 kB / 0.6061 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007071/0.4743, allocations: 107.3 kB / 0.6062 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4743, allocations: 6.625 kB / 0.6062 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/0.4744, allocations: 31.75 kB / 0.6062 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4744, allocations: 1.719 kB / 0.6062 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4744, allocations: 4.625 kB / 0.6062 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.4762, allocations: 1.153 MB / 0.6074 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.4763, allocations: 160.7 kB / 0.6075 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.4764, allocations: 36.27 kB / 0.6075 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.4768, allocations: 35.38 kB / 0.6076 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4769, allocations: 33.61 kB / 0.6076 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.4769, allocations: 15.33 kB / 0.6076 GB, free: 21.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006231/0.4775, allocations: 0.5401 MB / 0.6081 GB, free: 21.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4775, allocations: 1.469 kB / 0.6081 GB, free: 21.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002356/0.4799, allocations: 0.7674 MB / 0.6089 GB, free: 21.05 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.003194/0.4831, allocations: 2.306 MB / 0.6112 GB, free: 20.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00348/0.4866, allocations: 2.894 MB / 0.614 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4866, allocations: 1.75 kB / 0.614 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005159/0.4871, allocations: 325 kB / 0.6143 GB, free: 17.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.488, allocations: 234.2 kB / 0.6145 GB, free: 17.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.5015, allocations: 10.36 MB / 0.6246 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.5022, allocations: 1.088 MB / 0.6257 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004805/0.5027, allocations: 166.8 kB / 0.6259 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.503, allocations: 340.4 kB / 0.6262 GB, free: 12.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.503, allocations: 0 / 0.6262 GB, free: 12.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07534/0.5784, allocations: 29.83 MB / 0.6553 GB, free: 2.664 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.95, allocations: 3.938 kB / 0.6553 GB, free: 2.66 MB / 462.1 MB " [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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.362168487161398]