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.001295/0.001295, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001629/0.001629, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2189/0.2189, allocations: 46.97 MB / 360.9 MB, free: 4.027 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.002013/0.002013, allocations: 64.05 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003919/0.3372, allocations: 2.448 MB / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007541/0.3448, allocations: 4.206 MB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.3451, allocations: 39.5 kB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008021/0.3459, allocations: 366.3 kB / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.3462, allocations: 91.22 kB / 0.5676 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005636/0.3518, allocations: 2.56 MB / 0.5701 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.3533, allocations: 1.201 MB / 0.5713 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.3535, allocations: 53.89 kB / 0.5713 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/0.3541, allocations: 454.6 kB / 0.5717 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000554/0.3546, allocations: 402.2 kB / 0.5721 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.3547, allocations: 52 kB / 0.5722 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.3576, allocations: 1.904 MB / 0.574 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.3579, allocations: 322.9 kB / 0.5743 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.3583, allocations: 310 kB / 0.5746 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.3609, allocations: 2.333 MB / 0.5769 GB, free: 3.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3609, allocations: 0 / 0.5769 GB, free: 3.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3609, allocations: 0 / 0.5769 GB, free: 3.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.3609, allocations: 8 kB / 0.5769 GB, free: 3.457 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.002679/0.3636, allocations: 1.434 MB / 0.5783 GB, free: 1.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3636, allocations: 8.031 kB / 0.5783 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.3637, allocations: 78.72 kB / 0.5784 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.3639, allocations: 112.2 kB / 0.5785 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009828/0.3649, allocations: 0.5146 MB / 0.579 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.3649, allocations: 37.38 kB / 0.5791 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.3651, allocations: 76.03 kB / 0.5791 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.3665, allocations: 1.307 MB / 0.5804 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3665, allocations: 0 / 0.5804 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.3666, allocations: 19.94 kB / 0.5804 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3666, allocations: 8 kB / 0.5804 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006514/0.3672, allocations: 371.7 kB / 0.5808 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.3699, allocations: 1.203 MB / 0.582 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.3715, allocations: 0.8333 MB / 0.5828 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.3719, allocations: 282 kB / 0.583 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.372, allocations: 4.438 kB / 0.583 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.372, allocations: 55.06 kB / 0.5831 GB, free: 12.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.134e-06/0.372, allocations: 0 / 0.5831 GB, free: 12.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001867/0.3739, allocations: 0.966 MB / 0.584 GB, free: 11.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004106/0.3743, allocations: 0.6726 MB / 0.5847 GB, free: 10.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3754, allocations: 0.842 MB / 0.5855 GB, free: 10.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.669e-05/0.3755, allocations: 49.7 kB / 0.5856 GB, free: 10.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.3758, allocations: 361.6 kB / 0.5859 GB, free: 9.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.3761, allocations: 230 kB / 0.5861 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.3764, allocations: 254.6 kB / 0.5864 GB, free: 9.195 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.3767, allocations: 414.7 kB / 0.5868 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008999/0.3776, allocations: 0.5924 MB / 0.5874 GB, free: 8.191 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.379, allocations: 1.436 MB / 0.5888 GB, free: 6.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.3808, allocations: 1.132 MB / 0.5899 GB, free: 5.391 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3808, allocations: 0 / 0.5899 GB, free: 5.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003626/0.3844, allocations: 1.918 MB / 0.5917 GB, free: 3.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.3844, allocations: 4 kB / 0.5917 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-05/0.3845, allocations: 15.98 kB / 0.5918 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.3861, allocations: 0.4978 MB / 0.5922 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.3867, allocations: 139.8 kB / 0.5924 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/0.4036, allocations: 16.96 MB / 0.6089 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/0.4043, allocations: 130.8 kB / 0.6091 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.4044, allocations: 28 kB / 0.6091 GB, free: 252 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.0004824/0.4049, allocations: 285.8 kB / 0.6094 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.405, allocations: 87.39 kB / 0.6094 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.4052, allocations: 101.4 kB / 0.6095 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4052, allocations: 8 kB / 0.6095 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4052, allocations: 0 / 0.6095 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.4052, allocations: 15.86 kB / 0.6096 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008058/0.406, allocations: 0.5357 MB / 0.6101 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.406, allocations: 4 kB / 0.6101 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007057/0.4067, allocations: 107.9 kB / 0.6102 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.4067, allocations: 4 kB / 0.6102 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.4068, allocations: 27.97 kB / 0.6102 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.4068, allocations: 4 kB / 0.6102 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4068, allocations: 0 / 0.6102 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.4086, allocations: 1.159 MB / 0.6114 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.4088, allocations: 91.22 kB / 0.6114 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4089, allocations: 35.97 kB / 0.6115 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.4092, allocations: 31.97 kB / 0.6115 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4093, allocations: 32.38 kB / 0.6115 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.4094, allocations: 19.92 kB / 0.6116 GB, free: 13.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007693/0.4101, allocations: 0.5425 MB / 0.6121 GB, free: 13.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4101, allocations: 0 / 0.6121 GB, free: 13.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002794/0.4129, allocations: 0.7612 MB / 0.6128 GB, free: 12.32 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.003808/0.4168, allocations: 2.297 MB / 0.6151 GB, free: 9.992 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004569/0.4213, allocations: 2.887 MB / 0.6179 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.4213, allocations: 4 kB / 0.6179 GB, free: 6.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.4219, allocations: 326.3 kB / 0.6182 GB, free: 6.543 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.423, allocations: 227.2 kB / 0.6184 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.4387, allocations: 10.35 MB / 0.6285 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.4393, allocations: 500 kB / 0.629 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005098/0.4398, allocations: 161.2 kB / 0.6292 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/0.4403, allocations: 339.3 kB / 0.6295 GB, free: 10.76 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4403, allocations: 0 / 0.6295 GB, free: 10.76 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09605/0.5364, allocations: 31.5 MB / 0.6602 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.38, allocations: 7.922 kB / 0.6603 GB, free: 11.59 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: 16.555364307947457]