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.001479/0.001479, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001614/0.001614, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.363/1.363, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2251/0.2251, allocations: 46.94 MB / 361.6 MB, free: 3.926 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.002149/0.002149, allocations: 75.88 kB / 0.4969 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3042, allocations: 66.09 MB / 0.5615 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003754/0.3079, allocations: 2.437 MB / 0.5638 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007135/0.315, allocations: 4.195 MB / 0.5679 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.3153, allocations: 35.56 kB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000753/0.316, allocations: 374.3 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.3163, allocations: 95.14 kB / 0.5684 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005162/0.3214, allocations: 2.562 MB / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.3228, allocations: 1.205 MB / 0.5721 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.323, allocations: 53.88 kB / 0.5722 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004827/0.3234, allocations: 454.6 kB / 0.5726 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.324, allocations: 418.2 kB / 0.573 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3241, allocations: 52 kB / 0.573 GB, free: 8.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.3267, allocations: 1.938 MB / 0.5749 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.3271, allocations: 318.9 kB / 0.5752 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.3274, allocations: 322 kB / 0.5755 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.3298, allocations: 2.329 MB / 0.5778 GB, free: 3.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3298, allocations: 0 / 0.5778 GB, free: 3.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3298, allocations: 4 kB / 0.5778 GB, free: 3.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3298, allocations: 0 / 0.5778 GB, free: 3.23 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.002459/0.3323, allocations: 1.43 MB / 0.5792 GB, free: 1.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3323, allocations: 12.02 kB / 0.5792 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.375e-05/0.3323, allocations: 9.188 kB / 0.5792 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.974e-05/0.3324, allocations: 78.72 kB / 0.5793 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.3326, allocations: 112.2 kB / 0.5794 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/0.3334, allocations: 0.5224 MB / 0.5799 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.3334, allocations: 41.38 kB / 0.58 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3336, allocations: 71.84 kB / 0.58 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.3349, allocations: 1.304 MB / 0.5813 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3349, allocations: 0 / 0.5813 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.335, allocations: 20 kB / 0.5813 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.335, allocations: 8 kB / 0.5813 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/0.3356, allocations: 371.7 kB / 0.5817 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.3379, allocations: 1.207 MB / 0.5829 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.3394, allocations: 0.8293 MB / 0.5837 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/0.3398, allocations: 286 kB / 0.584 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.3398, allocations: 8.625 kB / 0.584 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.3399, allocations: 46.94 kB / 0.584 GB, free: 12.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.834e-06/0.3399, allocations: 0 / 0.584 GB, free: 12.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001606/0.3415, allocations: 0.9699 MB / 0.585 GB, free: 11.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003776/0.3419, allocations: 0.6726 MB / 0.5856 GB, free: 10.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009733/0.3428, allocations: 0.8459 MB / 0.5864 GB, free: 9.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-05/0.3429, allocations: 45.7 kB / 0.5865 GB, free: 9.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.3432, allocations: 361.6 kB / 0.5868 GB, free: 9.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.3434, allocations: 238 kB / 0.587 GB, free: 9.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/0.3438, allocations: 250.6 kB / 0.5873 GB, free: 8.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.344, allocations: 418.7 kB / 0.5877 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008354/0.3448, allocations: 0.5846 MB / 0.5883 GB, free: 7.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.3462, allocations: 1.44 MB / 0.5897 GB, free: 6.277 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.3478, allocations: 1.128 MB / 0.5908 GB, free: 5.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3478, allocations: 4 kB / 0.5908 GB, free: 5.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003089/0.3509, allocations: 1.918 MB / 0.5926 GB, free: 3.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3509, allocations: 4 kB / 0.5926 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-05/0.3509, allocations: 15.98 kB / 0.5927 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.3523, allocations: 0.4939 MB / 0.5931 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.3529, allocations: 139.8 kB / 0.5933 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/0.3676, allocations: 16.94 MB / 0.6098 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.3682, allocations: 138.9 kB / 0.61 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.3683, allocations: 28 kB / 0.61 GB, free: 4 kB / 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.0004537/0.3687, allocations: 285.6 kB / 0.6103 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.3688, allocations: 91.39 kB / 0.6103 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.369, allocations: 101.4 kB / 0.6104 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.369, allocations: 4 kB / 0.6104 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.369, allocations: 3.938 kB / 0.6104 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3691, allocations: 7.922 kB / 0.6105 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/0.3698, allocations: 0.5358 MB / 0.611 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3698, allocations: 4 kB / 0.611 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007248/0.3705, allocations: 107.9 kB / 0.6111 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3705, allocations: 0 / 0.6111 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.3706, allocations: 31.98 kB / 0.6111 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3706, allocations: 4 kB / 0.6111 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3706, allocations: 0 / 0.6111 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.3723, allocations: 1.163 MB / 0.6123 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3724, allocations: 87.22 kB / 0.6123 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.3725, allocations: 35.97 kB / 0.6124 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.3728, allocations: 31.97 kB / 0.6124 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.3729, allocations: 40.31 kB / 0.6124 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.373, allocations: 15.98 kB / 0.6125 GB, free: 13.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006954/0.3737, allocations: 0.5386 MB / 0.613 GB, free: 12.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3737, allocations: 0 / 0.613 GB, free: 12.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002281/0.3759, allocations: 0.7651 MB / 0.6137 GB, free: 12.08 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.003439/0.3794, allocations: 2.301 MB / 0.616 GB, free: 9.754 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004162/0.3835, allocations: 2.883 MB / 0.6188 GB, free: 6.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3835, allocations: 3.938 kB / 0.6188 GB, free: 6.625 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.3841, allocations: 330.2 kB / 0.6191 GB, free: 6.301 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000977/0.385, allocations: 231.9 kB / 0.6193 GB, free: 6.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.4005, allocations: 10.35 MB / 0.6294 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.4012, allocations: 496 kB / 0.6299 GB, free: 11.01 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005674/0.4017, allocations: 169.2 kB / 0.6301 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.4022, allocations: 335.3 kB / 0.6304 GB, free: 10.52 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4022, allocations: 0 / 0.6304 GB, free: 10.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07404/0.4762, allocations: 31.22 MB / 0.6609 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.48, allocations: 22.89 kB / 0.6609 GB, free: 11.52 MB / 0.4981 GB " [Timeout remaining time 646] (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.736230104928836]