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.001734/0.001734, allocations: 119.6 kB / 20.43 MB, free: 1.297 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.00209/0.00209, allocations: 206.8 kB / 23.74 MB, free: 4.516 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 8 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.2252/0.2252, allocations: 46.93 MB / 360.9 MB, free: 4.234 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.002157/0.002157, allocations: 67.89 kB / 0.4962 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3354, allocations: 66.05 MB / 0.5607 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004051/0.3395, allocations: 2.67 MB / 0.5633 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007727/0.3472, allocations: 4.467 MB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005363/0.3478, allocations: 35.56 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009898/0.3488, allocations: 370.3 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.3492, allocations: 95.16 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00619/0.3553, allocations: 2.551 MB / 0.5706 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.3573, allocations: 1.209 MB / 0.5718 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.3575, allocations: 49.89 kB / 0.5718 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009041/0.3584, allocations: 454.6 kB / 0.5723 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009173/0.3593, allocations: 414.2 kB / 0.5727 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.3596, allocations: 56 kB / 0.5727 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.3627, allocations: 1.951 MB / 0.5746 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004633/0.3632, allocations: 314.9 kB / 0.5749 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.3637, allocations: 397.4 kB / 0.5753 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.3664, allocations: 2.325 MB / 0.5776 GB, free: 3.055 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3664, allocations: 0 / 0.5776 GB, free: 3.055 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3664, allocations: 0 / 0.5776 GB, free: 3.055 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3664, allocations: 3.938 kB / 0.5776 GB, free: 3.051 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.002583/0.369, allocations: 1.434 MB / 0.579 GB, free: 1.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3691, allocations: 12.03 kB / 0.579 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.947e-05/0.3692, allocations: 78.72 kB / 0.5791 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.3693, allocations: 108.2 kB / 0.5792 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009058/0.3702, allocations: 0.5184 MB / 0.5797 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.3703, allocations: 37.38 kB / 0.5797 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.3704, allocations: 80.03 kB / 0.5798 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3714, allocations: 0.6968 MB / 0.5805 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3714, allocations: 0 / 0.5805 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.3715, allocations: 23.98 kB / 0.5805 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.3715, allocations: 11.94 kB / 0.5805 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.3721, allocations: 371.7 kB / 0.5809 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.3746, allocations: 1.308 MB / 0.5821 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.3761, allocations: 0.8324 MB / 0.583 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.3765, allocations: 286 kB / 0.5832 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.3765, allocations: 4.438 kB / 0.5832 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.3766, allocations: 50.98 kB / 0.5833 GB, free: 12.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.703e-06/0.3766, allocations: 0 / 0.5833 GB, free: 12.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001612/0.3782, allocations: 0.9738 MB / 0.5842 GB, free: 12.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003652/0.3786, allocations: 0.6648 MB / 0.5849 GB, free: 11.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009527/0.3795, allocations: 0.8498 MB / 0.5857 GB, free: 10.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.3796, allocations: 49.64 kB / 0.5858 GB, free: 10.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.3799, allocations: 361.6 kB / 0.5861 GB, free: 9.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.3801, allocations: 234 kB / 0.5863 GB, free: 9.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.3804, allocations: 254.6 kB / 0.5866 GB, free: 9.414 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.3806, allocations: 414.7 kB / 0.587 GB, free: 9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008475/0.3815, allocations: 0.5885 MB / 0.5875 GB, free: 8.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.3825, allocations: 0.8414 MB / 0.5884 GB, free: 7.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.384, allocations: 1.12 MB / 0.5895 GB, free: 6.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.384, allocations: 0 / 0.5895 GB, free: 6.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003043/0.3871, allocations: 1.929 MB / 0.5913 GB, free: 4.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3871, allocations: 4 kB / 0.5913 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.637e-05/0.3872, allocations: 15.98 kB / 0.5914 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.3886, allocations: 0.4939 MB / 0.5918 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.3891, allocations: 143.8 kB / 0.592 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/0.4035, allocations: 16.97 MB / 0.6086 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006223/0.4041, allocations: 138.9 kB / 0.6087 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/0.4041, allocations: 27.94 kB / 0.6087 GB, free: 1.188 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.0004292/0.4046, allocations: 285.6 kB / 0.609 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.4047, allocations: 91.39 kB / 0.6091 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.4049, allocations: 101.4 kB / 0.6092 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.4049, allocations: 4 kB / 0.6092 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4049, allocations: 0 / 0.6092 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.4049, allocations: 3.984 kB / 0.6092 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007421/0.4057, allocations: 0.6175 MB / 0.6098 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4057, allocations: 0 / 0.6098 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/0.4064, allocations: 103.9 kB / 0.6099 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4064, allocations: 0 / 0.6099 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.4064, allocations: 31.97 kB / 0.6099 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4064, allocations: 4 kB / 0.6099 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4064, allocations: 3.984 kB / 0.6099 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.408, allocations: 1.163 MB / 0.6111 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.4081, allocations: 91.16 kB / 0.6111 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.4082, allocations: 35.98 kB / 0.6112 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.4086, allocations: 39.89 kB / 0.6112 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.4087, allocations: 32.38 kB / 0.6112 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.4087, allocations: 12 kB / 0.6113 GB, free: 14.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000645/0.4093, allocations: 0.5424 MB / 0.6118 GB, free: 13.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4093, allocations: 0 / 0.6118 GB, free: 13.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002077/0.4114, allocations: 0.7651 MB / 0.6125 GB, free: 13.18 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.003303/0.4147, allocations: 2.293 MB / 0.6148 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004145/0.4189, allocations: 2.883 MB / 0.6176 GB, free: 7.734 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4189, allocations: 4 kB / 0.6176 GB, free: 7.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.4194, allocations: 322.2 kB / 0.6179 GB, free: 7.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.4204, allocations: 223.8 kB / 0.6181 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.435, allocations: 10.39 MB / 0.6283 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.4358, allocations: 1.086 MB / 0.6293 GB, free: 11.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004709/0.4363, allocations: 161.2 kB / 0.6295 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.4368, allocations: 339.3 kB / 0.6298 GB, free: 11 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4368, allocations: 0 / 0.6298 GB, free: 11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08025/0.517, allocations: 30.26 MB / 0.6593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/13.95, allocations: 3.984 kB / 0.6594 GB, free: 12.96 MB / 0.4981 GB " [Timeout remaining time 646] (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: 17.183370236074552]