Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001481/0.001481, allocations: 111.1 kB / 20.44 MB, free: 1.203 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.001521/0.001521, allocations: 207.1 kB / 23.72 MB, free: 4.184 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.92 MB / 358.8 MB, free: 6.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00341/0.00341, allocations: 62.72 kB / 0.4931 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3624, allocations: 65.48 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004246/0.3666, allocations: 2.446 MB / 0.5594 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008302/0.3749, allocations: 4.191 MB / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004244/0.3754, allocations: 35.56 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009042/0.3763, allocations: 370.3 kB / 0.5639 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.3766, allocations: 95.16 kB / 0.564 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006562/0.3832, allocations: 2.556 MB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.3848, allocations: 1.197 MB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.3851, allocations: 53.89 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006496/0.3857, allocations: 454.6 kB / 0.5681 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006038/0.3863, allocations: 394.2 kB / 0.5685 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.3864, allocations: 56 kB / 0.5685 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.3896, allocations: 1.92 MB / 0.5704 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.39, allocations: 310.9 kB / 0.5707 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.3904, allocations: 318 kB / 0.571 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.3933, allocations: 2.333 MB / 0.5733 GB, free: 6.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3933, allocations: 0 / 0.5733 GB, free: 6.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3933, allocations: 0 / 0.5733 GB, free: 6.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.3933, allocations: 0 / 0.5733 GB, free: 6.828 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.002925/0.3962, allocations: 1.43 MB / 0.5747 GB, free: 5.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3963, allocations: 8.031 kB / 0.5747 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.3964, allocations: 78.72 kB / 0.5748 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.3966, allocations: 116.2 kB / 0.5749 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.3976, allocations: 0.5146 MB / 0.5754 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.3976, allocations: 41.38 kB / 0.5754 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.3978, allocations: 83.95 kB / 0.5755 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.3993, allocations: 1.299 MB / 0.5768 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.3993, allocations: 3.938 kB / 0.5768 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.3994, allocations: 20 kB / 0.5768 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.3994, allocations: 8 kB / 0.5768 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.4001, allocations: 367.7 kB / 0.5772 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.4028, allocations: 1.207 MB / 0.5783 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.4046, allocations: 0.8372 MB / 0.5791 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.4051, allocations: 282 kB / 0.5794 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.4051, allocations: 8.438 kB / 0.5794 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.4052, allocations: 50.98 kB / 0.5795 GB, free: 120 kB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/0.4052, allocations: 0 / 0.5795 GB, free: 120 kB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001831/0.407, allocations: 0.9661 MB / 0.5804 GB, free: 15.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004033/0.4074, allocations: 0.6725 MB / 0.5811 GB, free: 14.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4086, allocations: 0.8459 MB / 0.5819 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.4087, allocations: 49.7 kB / 0.5819 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.4092, allocations: 361.6 kB / 0.5823 GB, free: 13.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.4094, allocations: 238 kB / 0.5825 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/0.4098, allocations: 250.6 kB / 0.5828 GB, free: 12.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003808/0.4102, allocations: 422.7 kB / 0.5832 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000948/0.4111, allocations: 0.5846 MB / 0.5837 GB, free: 11.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4127, allocations: 1.436 MB / 0.5851 GB, free: 9.879 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.4145, allocations: 1.128 MB / 0.5862 GB, free: 8.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4145, allocations: 0 / 0.5862 GB, free: 8.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003444/0.4179, allocations: 1.922 MB / 0.5881 GB, free: 6.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.418, allocations: 6.031 kB / 0.5881 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.485e-05/0.418, allocations: 15.98 kB / 0.5881 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.4195, allocations: 0.4939 MB / 0.5886 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.4201, allocations: 143.8 kB / 0.5888 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/0.4379, allocations: 16.95 MB / 0.6053 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008444/0.4387, allocations: 134.9 kB / 0.6054 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.4388, allocations: 27.98 kB / 0.6055 GB, free: 3.602 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.0005451/0.4394, allocations: 281.7 kB / 0.6057 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.4396, allocations: 91.39 kB / 0.6058 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.4398, allocations: 101.4 kB / 0.6059 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.4398, allocations: 4 kB / 0.6059 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4398, allocations: 0 / 0.6059 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.4398, allocations: 7.922 kB / 0.6059 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008305/0.4406, allocations: 0.5358 MB / 0.6064 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4406, allocations: 0 / 0.6064 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006975/0.4413, allocations: 111.8 kB / 0.6066 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.4413, allocations: 4 kB / 0.6066 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.253e-05/0.4414, allocations: 39.91 kB / 0.6066 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4414, allocations: 0 / 0.6066 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4414, allocations: 0 / 0.6066 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.4432, allocations: 1.155 MB / 0.6077 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.4433, allocations: 87.22 kB / 0.6078 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4434, allocations: 35.98 kB / 0.6078 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.4438, allocations: 31.95 kB / 0.6079 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.565e-05/0.4439, allocations: 36.31 kB / 0.6079 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.4439, allocations: 15.94 kB / 0.6079 GB, free: 1.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007501/0.4447, allocations: 0.5425 MB / 0.6085 GB, free: 460 kB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4447, allocations: 0 / 0.6085 GB, free: 460 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002687/0.4474, allocations: 0.7651 MB / 0.6092 GB, free: 15.68 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.003611/0.451, allocations: 2.297 MB / 0.6114 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004577/0.4555, allocations: 2.887 MB / 0.6143 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4555, allocations: 0 / 0.6143 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.4561, allocations: 330.2 kB / 0.6146 GB, free: 9.902 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.4573, allocations: 234.3 kB / 0.6148 GB, free: 9.688 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.4748, allocations: 10.36 MB / 0.6249 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.4754, allocations: 492 kB / 0.6254 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005365/0.476, allocations: 165.2 kB / 0.6255 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.4766, allocations: 335.3 kB / 0.6259 GB, free: 14.11 MB / 478.1 MB Notification: Performance of SimCode: time 1.442e-06/0.4766, allocations: 0 / 0.6259 GB, free: 14.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09766/0.5742, allocations: 31.51 MB / 0.6566 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.71, allocations: 5.5 kB / 0.6566 GB, free: 14.94 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.96283755870536]