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.00144/0.00144, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001535/0.001535, allocations: 211.9 kB / 24.51 MB, free: 3.945 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2338/0.2338, allocations: 46.96 MB / 361.7 MB, free: 4.055 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.89 kB / 0.4969 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3244, allocations: 66.04 MB / 0.5614 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004256/0.3286, allocations: 2.441 MB / 0.5638 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007806/0.3364, allocations: 4.187 MB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.3369, allocations: 39.5 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009852/0.3379, allocations: 370.3 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.3383, allocations: 99.14 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005948/0.3442, allocations: 2.56 MB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.3459, allocations: 1.205 MB / 0.572 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.3461, allocations: 57.89 kB / 0.5721 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006875/0.3468, allocations: 450.6 kB / 0.5725 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007043/0.3475, allocations: 410.2 kB / 0.5729 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.3476, allocations: 56 kB / 0.573 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.3508, allocations: 1.947 MB / 0.5749 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.3512, allocations: 311 kB / 0.5751 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005001/0.3517, allocations: 318 kB / 0.5755 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.3548, allocations: 2.337 MB / 0.5777 GB, free: 3.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3548, allocations: 3.938 kB / 0.5777 GB, free: 3.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3548, allocations: 0 / 0.5777 GB, free: 3.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.248e-05/0.3548, allocations: 0 / 0.5777 GB, free: 3.445 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.002835/0.3576, allocations: 1.43 MB / 0.5791 GB, free: 1.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3577, allocations: 8.031 kB / 0.5791 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.61e-05/0.3577, allocations: 13.19 kB / 0.5792 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.3578, allocations: 78.72 kB / 0.5792 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.358, allocations: 112.2 kB / 0.5793 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.3589, allocations: 0.5262 MB / 0.5799 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.3589, allocations: 37.38 kB / 0.5799 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.3591, allocations: 79.83 kB / 0.58 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.3604, allocations: 1.295 MB / 0.5812 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3604, allocations: 0 / 0.5812 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.3605, allocations: 20 kB / 0.5812 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3605, allocations: 8 kB / 0.5813 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.3612, allocations: 375.7 kB / 0.5816 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.3636, allocations: 1.203 MB / 0.5828 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.3652, allocations: 0.8333 MB / 0.5836 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.3656, allocations: 282 kB / 0.5839 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.3657, allocations: 8.562 kB / 0.5839 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.3657, allocations: 50.94 kB / 0.5839 GB, free: 12.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.3657, allocations: 0 / 0.5839 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001781/0.3675, allocations: 0.9621 MB / 0.5849 GB, free: 11.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004098/0.3679, allocations: 0.6726 MB / 0.5855 GB, free: 10.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.3689, allocations: 0.842 MB / 0.5863 GB, free: 10.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.031e-05/0.369, allocations: 53.7 kB / 0.5864 GB, free: 10 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.3694, allocations: 361.6 kB / 0.5867 GB, free: 9.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.3696, allocations: 230 kB / 0.587 GB, free: 9.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.3699, allocations: 250.6 kB / 0.5872 GB, free: 9.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.3702, allocations: 422.6 kB / 0.5876 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000888/0.3711, allocations: 0.5846 MB / 0.5882 GB, free: 8.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.3725, allocations: 1.44 MB / 0.5896 GB, free: 6.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.3741, allocations: 1.128 MB / 0.5907 GB, free: 5.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3741, allocations: 0 / 0.5907 GB, free: 5.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00322/0.3773, allocations: 1.922 MB / 0.5926 GB, free: 3.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3773, allocations: 7.938 kB / 0.5926 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/0.3774, allocations: 19.92 kB / 0.5926 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.3788, allocations: 0.5017 MB / 0.5931 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.3794, allocations: 135.9 kB / 0.5932 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/0.3942, allocations: 16.95 MB / 0.6098 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/0.3948, allocations: 126.8 kB / 0.6099 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/0.3948, allocations: 31.98 kB / 0.6099 GB, free: 224 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.0004416/0.3953, allocations: 287.8 kB / 0.6102 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.3954, allocations: 87.39 kB / 0.6103 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.3956, allocations: 105.4 kB / 0.6104 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.3956, allocations: 8 kB / 0.6104 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.3956, allocations: 4 kB / 0.6104 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3956, allocations: 7.922 kB / 0.6104 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007439/0.3964, allocations: 0.5397 MB / 0.6109 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3964, allocations: 0 / 0.6109 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.3971, allocations: 111.8 kB / 0.611 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3971, allocations: 4 kB / 0.611 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.3972, allocations: 31.91 kB / 0.6111 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3972, allocations: 4 kB / 0.6111 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3972, allocations: 0 / 0.6111 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.3988, allocations: 1.155 MB / 0.6122 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3989, allocations: 87.22 kB / 0.6123 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.399, allocations: 35.97 kB / 0.6123 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.3994, allocations: 31.97 kB / 0.6123 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.953e-05/0.3995, allocations: 36.31 kB / 0.6124 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.3995, allocations: 16 kB / 0.6124 GB, free: 13.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006798/0.4002, allocations: 0.5425 MB / 0.6129 GB, free: 13.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4002, allocations: 0 / 0.6129 GB, free: 13.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002135/0.4023, allocations: 0.7612 MB / 0.6137 GB, free: 12.29 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.003358/0.4057, allocations: 2.301 MB / 0.6159 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004223/0.4099, allocations: 2.879 MB / 0.6187 GB, free: 6.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.4099, allocations: 8 kB / 0.6187 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.4104, allocations: 322.3 kB / 0.619 GB, free: 6.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.4115, allocations: 231.9 kB / 0.6192 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.4267, allocations: 10.36 MB / 0.6294 GB, free: 11.74 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.4273, allocations: 492 kB / 0.6298 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004442/0.4277, allocations: 169.2 kB / 0.63 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004606/0.4282, allocations: 339.3 kB / 0.6303 GB, free: 10.72 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4282, allocations: 0 / 0.6303 GB, free: 10.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07889/0.5071, allocations: 31.22 MB / 0.6608 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.12, allocations: 11.16 kB / 0.6608 GB, free: 11.87 MB / 0.4981 GB " [Timeout remaining time 645] (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: 18.62583151902072]